JP2014199633A - Coordinate detection device, coordinate detection system, coordinate detection method, and coordinate detection program - Google Patents
Coordinate detection device, coordinate detection system, coordinate detection method, and coordinate detection program Download PDFInfo
- Publication number
- JP2014199633A JP2014199633A JP2013101369A JP2013101369A JP2014199633A JP 2014199633 A JP2014199633 A JP 2014199633A JP 2013101369 A JP2013101369 A JP 2013101369A JP 2013101369 A JP2013101369 A JP 2013101369A JP 2014199633 A JP2014199633 A JP 2014199633A
- Authority
- JP
- Japan
- Prior art keywords
- pointing device
- operation surface
- circle
- circles
- coordinate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 92
- 238000003384 imaging method Methods 0.000 claims abstract description 38
- 238000004364 calculation method Methods 0.000 claims description 81
- 230000006870 function Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 32
- 238000012545 processing Methods 0.000 description 16
- 230000010365 information processing Effects 0.000 description 15
- 238000000034 method Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 14
- 230000003287 optical effect Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 238000000605 extraction Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007480 spreading Effects 0.000 description 2
- 238000002834 transmittance Methods 0.000 description 2
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 1
- 230000001154 acute effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本発明は、座標検出装置、座標検出システム、座標検出方法、および座標検出プログラムに関する。 The present invention relates to a coordinate detection device, a coordinate detection system, a coordinate detection method, and a coordinate detection program.
特許文献1(特開2012−53603号公報)には、ポインティングデバイスが人物の影になってカメラで撮像できない場合でも、デバイスの軌跡を検出可能な情報表示システムが開示されている。情報表示システムは、ポインティングデバイスの先端部に矩形状の複数のスリットと発光部とを備えている。発光部が発光すると、ポインティングデバイスの先端部を中心として放射状に広がる放射光が、各スリットを介して操作面上に照射される。カメラは、操作面上の放射光を含む領域を撮像する。放射光検出部は、撮像された画像から放射光を検出する。そして、推定部が、検出された放射光からポインティングデバイスの先端部の位置を推定する。 Patent Document 1 (Japanese Patent Laid-Open No. 2012-53603) discloses an information display system that can detect the locus of a device even when the pointing device becomes a shadow of a person and cannot be captured by a camera. The information display system includes a plurality of rectangular slits and a light emitting unit at the tip of the pointing device. When the light emitting unit emits light, radiant light spreading radially around the tip of the pointing device is irradiated onto the operation surface via each slit. The camera captures an area including radiation on the operation surface. The radiated light detection unit detects radiated light from the captured image. And an estimation part estimates the position of the front-end | tip part of a pointing device from the detected emitted light.
特許文献2(特許第3975892号公報)には、ポインティングデバイスの先端から、レンズを用いてレーザーの干渉縞を発生させ、その干渉縞をセンサで検知することで、ポインティングデバイスの3次元座標を検出する位置計測システムが開示されている。 In Patent Document 2 (Japanese Patent No. 39755892), a laser interference fringe is generated from the tip of a pointing device using a lens, and the interference fringe is detected by a sensor to detect the three-dimensional coordinates of the pointing device. A position measurement system is disclosed.
しかし、特許文献1の情報表示システムは、ポインティングデバイスから放射状のパターンを操作面上に投影するために、指向性の低い広がりのある光源を用いる必要がある。この光源は、指向性が低いことから、レーザー光のような指向性がある光源と比べて、1点に対する光量も少ない光源となる。このため、特許文献1の情報表示システムは、ポインティングデバイスから離れた部分において、投影されたパターンを形成する光が弱いものとなり、太陽光の外乱等により、正確な座標検出に支障をきたす問題があった。
However, the information display system of
また、特許文献1の情報表示システムは、各スリットを介して操作面上に照射されるパターンを撮像して座標の検出を行う。このため、特許文献1の情報表示システムは、操作面上に照射されたパターンが広面積にわたって、ポインティングデバイスの操作者の体等により遮蔽されてしまうと、正確な座標検出に支障をきたす問題があった。
Moreover, the information display system of
特許文献2の位置計測システムは、干渉縞で楕円を描画しているため、大きいサイズの楕円を描画する場合、光の強度が足りなくなり、明確に楕円を描画することが困難となる問題がある。また、特許文献2の位置計測システムは、干渉縞で楕円を描画しているため、楕円の輪郭が曖昧になり、座標検出の精度が下がる問題がある。
Since the position measurement system of
本発明は、精度のよい座標検出が可能な座標検出装置、座標検出システム、座標検出方法、および座標検出プログラムの提供を目的とする。 It is an object of the present invention to provide a coordinate detection device, a coordinate detection system, a coordinate detection method, and a coordinate detection program capable of detecting coordinates with high accuracy.
上述した課題を解決し、目的を達成するために、本発明は、それぞれ同軸で大きさの異なる複数の円または楕円を投影するポインティングデバイスで操作される操作面を撮像した画像から、ポインティングデバイスの操作面上の座標の計算に用いる1以上の円または楕円を検出する検出部と、検出された1以上の円または楕円からポインティングデバイスの操作面上の座標を計算する座標計算部とを備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a pointing device based on an image obtained by imaging an operation surface operated by a pointing device that projects a plurality of circles or ellipses that are coaxial and have different sizes. A detection unit that detects one or more circles or ellipses used to calculate coordinates on the operation surface; and a coordinate calculation unit that calculates coordinates on the operation surface of the pointing device from the detected one or more circles or ellipses. It is characterized by.
本発明によれば、精度のよい座標検出を行うことができるという効果を奏する。 According to the present invention, there is an effect that accurate coordinate detection can be performed.
以下に添付図面を参照して、座標検出装置、座標検出システム、座標検出方法、および座標検出プログラムの実施の形態を詳細に説明する。 Hereinafter, embodiments of a coordinate detection device, a coordinate detection system, a coordinate detection method, and a coordinate detection program will be described in detail with reference to the accompanying drawings.
(第1の実施の形態)
図1は、第1の実施の形態の座標検出システムのシステム構成図である。図1に示す座標検出システムは、ポインティングデバイス1と、座標検出デバイス2とを有している。座標検出デバイス2は、撮像部3と、情報処理装置4とを有している。
(First embodiment)
FIG. 1 is a system configuration diagram of the coordinate detection system according to the first embodiment. The coordinate detection system shown in FIG. 1 has a
図2は、第1の実施の形態の座標検出システムのブロック図である。図2に示すように、ポインティングデバイス1は、スイッチ11と、発光部12と、制御部13とを有している。図3は、ポインティングデバイス1を長手方向に沿って切断した断面図である。図3に示すようにスイッチ11は、バネ部材23を介してポインティングデバイス1の先端部21と接続されている。バネ部材23は、筐体22から先端部21が離間する方向へ、先端部21を付勢している。
FIG. 2 is a block diagram of the coordinate detection system according to the first embodiment. As shown in FIG. 2, the
操作者がポインティングデバイス1の先端部21を操作面5に押し当てると、先端部21がバネ部材23の付勢力に逆らって筐体22方向に移動し、スイッチ11がオン状態となる。スイッチ11は、先端部21が操作面5に押し当てられている間中、オン状態を維持する。そして、スイッチ11は、先端部21が操作面5から離間されると、オフ状態となる。なお、バネ部材23の付勢力を多少強くして、操作者が意図的に先端部21を押し込まないと、スイッチ11がオン状態にならないようにしてもよい。このようにすることで、先端部21が操作面5に軽く触れただけで、操作者が意図していないにもかかわらず、スイッチ11がオン状態となる不都合を防止することができる。
When the operator presses the
また、スイッチ11を、以下のように動作させてもよい。操作者がポインティングデバイス1の先端部21を操作面5に、最初に押し当てた際に、スイッチ11がオン状態となる。スイッチ11がオン状態となっている間に、再度、先端部21を操作面5に押し当てると、スイッチ11がオフ状態なる。すなわち、ポインティングデバイス1の先端部21を押圧操作する毎に、スイッチ11をオン/オフ動作させてもよい。
Further, the
発光部12は、不可視光レーザー光源14と、ミラーユニット15とを有している。不可視光レーザー光源14は、人間が目視できない波長のレーザー光を出射する。また、不可視光レーザー光源14は、指向性が高く、かつ、人体に影響の無い程度に高いレベルのレーザー光を出射する。
The light emitting unit 12 includes an invisible
ミラーユニット15は、ミラー16と、モータ部17とを有している。図3に示すように、ミラー16は、モータ部17に回転駆動されるようになっている。また、後述するが、ミラーユニット15は、ポインティングデバイス1の筐体22から取り外し自在となっている。ミラーユニット15としては、描画する円または楕円(以下、円または楕円との記載を、単に円と省略した記載とする場合もある)の大きさが異なる複数種類のミラーユニットが設けられている。操作者は、描画する円の大きさに対応するミラーユニットを選択して、ポインティングデバイス1に装着して用いる。
The
図4に、ミラー16の断面図を示す。この図4に示す例においては、ミラー16は、第1のミラー30〜第4のミラー33を有している。第1のミラー30は、ハーフミラーとなっており、例えば不可視光レーザー光源14から照射されたレーザー光のうち、20パーセントに相当するレーザー光を反射し、残り80パーセントに相当するレーザー光を透過する光学特性を有している。第2のミラー31は、ハーフミラーとなっており、第1のミラー30を透過したレーザー光のうち、例えば30パーセントに相当するレーザー光を反射し、残り70パーセントに相当するレーザー光を透過する光学特性を有している。
FIG. 4 shows a cross-sectional view of the
第3のミラー32は、ハーフミラーとなっており、第2のミラー31を透過したレーザー光のうち、例えば40パーセントに相当するレーザー光を反射し、残り60パーセントに相当するレーザー光を透過する光学特性を有している。第4のミラー33は、全反射ミラーとなっており、第3のミラー32を透過した全てのレーザー光を反射するようになっている。
The
また、第1のミラー30〜第4のミラー33の反射角は、図4に点線で示すように、それぞれ異なる反射角に設定されている。後述するが、第1の実施の形態の座標検出システムは、ポインティングデバイス1によりそれぞれ同軸で大きさの異なる複数の円を操作面5上に描画するようになっている。一例として、第1の実施の形態の座標検出システムは、ポインティングデバイス1によりそれぞれ同軸で大きさの異なる第1〜第4の4つの円を操作面5上に描画することとする。また、第1の円が最も内側に位置する最小の円、第2の円が第1の円に隣接する、第1の円よりも大きめの円とする。また、第3の円が第2の円に隣接する、第2の円よりも大きめの円、第4の円が最も外側に位置する最大の円とする。
Further, the reflection angles of the
第1のミラー30の反射角は、最も外側に位置する第4の円を描画可能な反射角に設定されている。また、第2のミラー31の反射角は、第4の円よりも小さめの円とされた第3の円を描画可能な反射角に設定されている。また、第3のミラー32の反射角は、第3の円よりも小さめの円とされた第2の円を描画可能な反射角に設定されている。また、第4のミラー33の反射角は、最も内側に位置する最小の円とされた第1の円を描画可能な反射角に設定されている。なお、このようなミラー16の構成は一例である。このため、ハーフミラーとしては、所望の透過率のハーフミラーを用いればよいし、ハーフミラー等の枚数も所望の枚数、設ければよい。さらに、ハーフミラーおよび全反射ミラーの反射角度も所望の反射角度に設定すればよい。
The reflection angle of the
ミラー16がモータ部17で回転駆動されると、第1のミラー30〜第4のミラー33で反射される各レーザー光が、操作面5上に円状の軌跡を描く。図5は、操作面5に対するポインティングデバイス1の角度を垂直(90度)とした場合に、ポインティングデバイス1で操作面5に描画される円の軌跡を示す図である。また、図6は、操作面5に対するポインティングデバイス1の角度を垂直(90度)として操作を行う操作者を背後から見た図である。図5において、最も内側に位置する第1の円35は、ミラー16の第4のミラー33で反射されたレーザー光により描かれた軌跡である。また、第1の円35に隣接する第2の円36は、ミラー16の第3のミラー32で反射されたレーザー光により描かれた軌跡である。また、第2の円36に隣接する第3の円37は、ミラー16の第2のミラー31で反射されたレーザー光により描かれた軌跡である。また、最大の円となる第4の円38は、ミラー16の第1のミラー30で反射されたレーザー光により描かれた軌跡である。この例の場合、操作面5に対するポインティングデバイス1の角度が垂直(90度)であるため、操作面5上に描画される各円35〜38の軌跡は、図6に示すようにそれぞれ真円の軌跡となる。
When the
図7は、操作面5に対するポインティングデバイス1の角度を75度とした場合に、ポインティングデバイス1で操作面5に描画される円の軌跡を示す図である。また、図8は、操作面5に対するポインティングデバイス1の角度を75度として操作を行う操作者を背後から見た図である。この例の場合、操作面5に対するポインティングデバイス1の角度が75度であるため、操作面5上に描画される各円35〜38の軌跡は、図7および図8に示すようにそれぞれ楕円の軌跡となる。
FIG. 7 is a diagram illustrating a locus of a circle drawn on the
図9は、操作面5に対するポインティングデバイス1の角度を60度として操作を行う操作者を背後から見た図である。また、図10は、操作面5に対するポインティングデバイス1の角度を45度として操作を行う操作者を背後から見た図である。図6、図8、図9および図10を見比べてわかるように、操作面5に対するポインティングデバイス1の角度が鋭角になるに連れ、ポインティングデバイス1は、操作面5上に大きな楕円の軌跡を描くようになる。
FIG. 9 is a view of an operator who performs an operation with the angle of the
すなわち、操作面5に対するポインティングデバイス1の角度が垂直である場合、図6に示すように操作者の背後からでは、最も内側に位置する第1の円35が操作者の体で遮蔽され、第1の円35を撮像部3で撮像することは困難となる。また、操作面5に対するポインティングデバイス1の角度が75度である場合、図8に示すように第1〜第3の円35〜37の軌跡は、操作者の体以上に大きな軌跡の楕円となるため、操作者の背後からであっても撮像部3で撮像することができる。しかし、第4の円38の軌跡は、操作面5以上に大きな軌跡の楕円となるため、撮像部3では、楕円ではなく、放物線のような軌跡が撮像される。
That is, when the angle of the
また、操作面5に対するポインティングデバイス1の角度が60度である場合、図9に示すように第1〜第4の円35〜38の軌跡は、操作者の体以上に大きな軌跡の楕円となるため、操作者の背後からであっても撮像部3で撮像することができる。しかし、第1の円35以外の第2〜第4の円36〜38の軌跡は、操作面5以上に大きな軌跡の楕円となるため、撮像部3では、楕円ではなく、放物線のような軌跡が撮像される。同様に、操作面5に対するポインティングデバイス1の角度が45度である場合、図10に示すように第1〜第4の円35〜38の軌跡は、操作者の体以上に大きな軌跡の楕円となるため、操作者の背後からであっても撮像部3で撮像することができる。しかし、この場合も、第1の円35以外の第2〜第4の円36〜38の軌跡は、操作面5以上に大きな軌跡の楕円となるため、撮像部3では、楕円ではなく、放物線のような軌跡が撮像される。このように、操作面5上に描かれる楕円の軌跡は、操作面5に対するポインティングデバイス1の傾斜角度に応じて変化する。
When the angle of the
図11は、操作面5に対するポインティングデバイス1の角度を垂直とした場合に、ポインティングデバイス1で操作面5に描画される円の軌跡を示す図である。図11に示すように、ポインティングデバイス1で描かれる第1〜第4の円35〜38の隣接する円の間隔は、それぞれ異なる間隔に設定されている。すなわち、第1の円35と第2の円36との間の間隔は、最短の間隔に設定されている。また、第3の円37と第4の円38との間の間隔は、最長の間隔に設定されている。また、第2の円36と第3の円37との間の間隔は、最短の間隔および最長の間隔の略中間の間隔に設定されている。
FIG. 11 is a diagram illustrating a locus of a circle drawn on the
すなわち、第1〜第4の円35〜38の隣接する円の間隔は、内側の間隔が「密」で、外側にかけて間隔が「疎」となるように設定されている。このような各円35〜38間の間隔の違いは、ミラー16の第1〜第4のミラー30〜33の反射角により実現されている。換言すれば、ミラー16の第1〜第4のミラー30〜33の反射角は、図11に示す第1〜第4の円35〜38の隣接する円の間の間隔を実現する反射角にそれぞれ設定されている。このように第1〜第4の円35〜38の隣接する円の間隔を、内側の間隔が「密」、外側の間隔が「疎」となるように設定することで、投影する円の数を最低限の数とすることができる。なお、投影する円の大きさ、および隣接する円の間隔は可変としてもよい。
That is, the interval between adjacent circles of the first to
第1の実施の形態の座標検出システムは、操作面5に描かれる第1〜第4の円35〜38のうち、いずれかの円を用いて、操作面5上におけるポインティングデバイス1の座標を検出する。また、第1の実施の形態の座標検出システムは、操作面5上に描かれた円或いは楕円の軌跡が不完全な軌跡である場合には、不完全な軌跡を補間して座標の検出に用いるようになっている。詳しくは、後述する。なお、この例では、モータ部17でミラー16を回転駆動してレーザー光の軌跡を変更しているが、この他、例えばMEMS(Micro Electro Mechanical System)ミラーを用いてレーザー光の軌跡を変更してもよい。
The coordinate detection system according to the first embodiment uses any one of the first to
次に、図2に示したように、座標検出デバイス2は、撮像部3と情報処理装置4とを有している。図2に点線で示すように、撮像部3は、ポインティングデバイス1のミラー16で反射されたレーザー光で操作面5上に描かれる第1〜第4の円35〜38の軌跡を撮像する。上述のように、レーザー光は、人間が目視困難な波長の不可視光となっている。撮像部3には、レーザー光の波長の撮像光のみを透過させるバンドパスフィルタ(BPF)18が設けられている。撮像部3は、BPF18を介して取り込まれたレーザー光の波長の撮像光を受光して、操作面5にレーザー光で描かれた第1〜第4の円35〜38を撮像する。
Next, as illustrated in FIG. 2, the coordinate
図12は、情報処理装置4のハードウェア構成図である。図12に示すように、情報処理装置4は、一般的なコンピュータ装置の構成を適用することができる。情報処理装置4は、CPU40と、ROM41と、RAM42と、ハードディスクドライブ(HDD)43と、入出力インターフェイス(入出力I/F)44と、通信I/F45とを有する。CPUは、「Central Processing Unit」の略記である。ROMは、「Read Only Memory」の略記である。RAMは、「Random Access Memory」の略記である。CPU40、ROM41、RAM42、HDD43、入出力I/F44および通信I/F45は、バスライン46で互いに通信可能に接続される。
FIG. 12 is a hardware configuration diagram of the information processing apparatus 4. As shown in FIG. 12, the information processing apparatus 4 can apply a general configuration of a computer apparatus. The information processing apparatus 4 includes a
HDD43には、CPU40を動作させる座標検出プログラムが格納される。CPU40は、HDD43に格納されている座標検出プロブラムに従い、RAM42をワークメモリとして用いて動作し、情報処理装置4全体の座標検出動作を制御する。
The
座標検出プロブラムは、HDD43以外であっても、例えばROM41またはRAM42に格納してもよい。また、座標検出プログラムは、所定のネットワークのコンピュータ装置上に格納し、ネットワーク経由でダウンロードして取得してもよい。これに限らず、座標検出プログラムは、インストール可能な形式または実行可能な形式のファイルでCD、DVDなどのコンピュータで読み取り可能な記録媒体に記録されたものを取得してもよい。
The coordinate detection program may be stored in the ROM 41 or the
入出力I/F44は、情報処理装置4に対するデータの入出力のためのインターフェイスである。例えば、入出力I/F44には、ユーザ入力を受け付けるキーボード等の入力デバイスが接続される。また、入出力I/F44には、他機器との間でデータ入出力を行うUSB等のデータインターフェイスが接続される。USBは、「Universal Serial Bus」の略記である。また、入出力I/F44には、CD、DVD等の記録媒体からデータを読み出すドライブ装置が接続される。CDは、「Compact Disc(登録商標)」の略記である。DVDは、「Digital Versatile Disc」の略記である。さらに、入出力I/F44は、CPU40で生成された画像信号を表示する表示装置を接続することができる。
The input / output I /
通信I/F45は、CPU40の制御に従い、ネットワークを介した通信を行う。
The communication I /
図13に、座標検出プロブラムに従って動作した場合におけるCPU40の機能ブロック図を示す。図13に示すように、CPU40は、座標検出プロブラムに従って動作することで、画像取得部51と、線抽出部52と、補間処理部53と、円検出部54(検出部の一例)と、座標計算部55として機能する。なお、以下の説明においては、CPU40が座標検出プログラムに従って動作することで、画像取得部51〜座標計算部55をソフトウェア的に実現することとして説明を進める。しかし、画像取得部51〜座標計算部55の一部または全部をハードウェアで構成してもよい。この場合も、後述する効果と同様の効果を得ることができる。
FIG. 13 shows a functional block diagram of the
図14は、情報処理装置4が行う座標検出動作の流れを示すフローチャートである。HDD43に記憶されている座標検出プログラムは、画像取得部51〜座標計算部55を含むモジュール構成となっている。情報処理装置4のCPU40は、ポインティングデバイス1による操作面5の操作開始を認識すると、HDD43から座標検出プログラムを読み出す。そして、CPU40は、画像取得部51〜座標計算部55を、例えばRAM42等の主記憶装置上にロードして実行する。
FIG. 14 is a flowchart showing the flow of the coordinate detection operation performed by the information processing apparatus 4. The coordinate detection program stored in the
ステップS1では、画像取得部51が、撮像部3で撮像された操作面5の撮像画像を取得する。図1に示すように、操作者は、ポインティングデバイス1を手に持ち、操作面5に対して操作を行う。操作を行う際、操作者は、図3に示すポインティングデバイス1の先端部21を操作面5等に押圧操作する。これにより、操作者が操作面5にポインティングデバイス1の先端部21を押し当てている間、スイッチ11がオン動作する。ポインティングデバイス1の制御部13は、スイッチ11のオン動作を検出すると、レーザー光を出射するように不可視光レーザー光源14を発光制御する。また、制御部13は、スイッチ11のオン動作を検出すると、モータ部17を回転駆動する。ミラー16は、モータ部17により回転駆動される。
In step S <b> 1, the
なお、この例では、ミラー16は、制御部13がスイッチ11のオン動作を検出したタイミングで、モータ部17を介して回転駆動されることとした。すなわち、この例では、ミラー16の回転動作は、スイッチ11のオンオフ動作に連動することとした。モータ部17は、回転開始から一定の回転数に到達するまでに所定の時間を要するため、モータ部17の回転開始時には、ミラー16の回転も安定せず、円の描画に安定性を欠く。このため、スイッチ11とモータ部17を連動させると、スイッチ11が頻繁にオンオフ動作を繰り返した場合、モータ部17も回転および停止を頻繁に繰り返すこととなり、ミラー16の回転も安定しないことから、円の安定した描画が困難となるおそれがある。
In this example, the
このような不都合を防止するために、スイッチ11とは別に、ミラー16の回転駆動用のスイッチを別に設け、スイッチ11のオンオフ動作に関係なく、ミラー16を回転駆動可能としてもよい。ミラー16を最初に回転駆動しておくことで、スイッチ11のオンオフ動作に応じて照射されるレーザー光を、一定の安定した回転数のミラー16で反射することができる。このため、円の安定した描画を可能とすることができる。
In order to prevent such an inconvenience, a switch for driving the rotation of the
ポインティングデバイス1の筐体22のミラーユニット15近傍は、円筒状の透明窓部24となっている。このため、ミラー16が回転駆動されると、ミラー16を頂点とする円錐状に、レーザー光が透明窓部24を介して操作面5に出射される。これにより、図6、図8、図9および図10を用いて説明したように、操作面5に対するポインティングデバイス1の傾斜角度に応じた大きさの第1〜第4の円35〜38が操作面5上に表示される。各円35〜38の大きさは、操作者で部分的に遮蔽されていても、全体形状を特定可能な大きさ(サイズ)となっている。また、操作面5には、内側の間隔が「密」、外側の間隔が「疎」となるように隣接する円の間隔が設定された第1〜第4の円35〜38が表示される。
Near the
撮像部3は、図1に示すように操作者の背後から操作面5全体を撮像する。撮像部3の前面には、レーザー光の波長の光のみを透過させるBPF18が設けられている。このため、撮像部3は、BPF18を介して取り込まれたレーザー光の波長の撮像光を受光することで、操作面5にレーザー光で描かれた第1〜第4の円35〜38を撮像する。ステップS1では、画像取得部51が、このように撮像部3で撮像された第1〜第4の円35〜38の撮像画像を取得する。これにより、処理はステップS2に進む。
The imaging unit 3 images the
ステップS2では、線抽出部52が、画像取得部51により取得された撮像画像を白黒画像に2値化処理することで、操作面5にレーザー光で描かれた第1〜第4の円35〜38を線像化する。これにより、処理がステップS3に進む。ステップS3では、補間処理部53が、円を形成する線分、および操作者で遮蔽等がされたことによる欠けが生じている円の線分を判別する。補間処理部53は、欠けが生じている円を、欠けの無い円とするための補間処理が必要か否かを判別する。換言すれば、補間処理部53は、ステップS3において、補間処理を行えば、欠けが生じている円を欠けの無い円とすることができるか否かを判別する。ステップS3で補間処理部53により、補間処理が必要であると判別された場合(ステップS3:Yes)、処理はステップS6に進む。これに対して、ステップS3で補間処理部53により、補間処理は必要ないと判別された場合(ステップS3:No)、処理はステップS4に進む。
In step S <b> 2, the
なお、ステップS3で補間処理は必要ないと判別される場合とは、微小な欠けのため、補間の必要が無い場合、および図8〜図10に示した放物線化した円のように、補間困難な円の場合である。 Note that the case where it is determined in step S3 that the interpolation process is not necessary is a case where interpolation is difficult because there is no need for interpolation due to a minute chip and the parabolic circle shown in FIGS. This is the case of a perfect circle.
ステップS6では、補間処理部53が、例えば操作者の体で遮蔽等がされたことによる欠けが生じている円を、欠けが生じていない円に補間する。具体的には、補間処理部53は、まず、欠けている箇所の始端点および欠けている箇所の終端点を検出する。次に、補間処理部53は、欠けている箇所の始端点までの円の曲率、および、欠けている箇所の終端点から円の曲率を計算する。次に、補間処理部53は、計算した各曲率から、欠けている箇所の円の曲率を計算する。そして、補間処理部53は、計算した欠けている箇所の円の曲率の線分(=欠けている箇所の線分)を形成し、この線分で、円の欠けている箇所を補間処理する。これにより、操作者の体で遮蔽等がされたことにより欠けが生じている円を、欠けが生じていない円に補間することができる。
In step S <b> 6, the
次に、ステップS4では、円検出部54が、ステップS2で抽出された線分から、座標計算に用いる円を検出する。また、ステップS4では、円検出部54が、ステップS6で補間処理された円のうち、座標計算に用いる円を検出する。この際、円検出部54は、座標計算に用いる円の候補として、複数の円が存在する場合、一番外側の円を座標計算に用いる円として検出する。具体的には、例えば図7に示すように第1の円35および第2の円36が座標計算に用いる円の候補として存在した場合、円検出部54は、第1の円35よりも外側の第2の円36を、座標計算に用いる円として検出する。
Next, in step S4, the
ポインティングデバイス1は操作者が手に持って操作するため、第1〜第4の円35〜38のうち、第1の円35および第2の円36等の内側の円ほど、操作者の体で遮蔽される部分が多くなることが懸念される。すなわち、操作面5に描かれた各円35〜38は、撮像部3により、操作者越しに撮像されるため、第1の円35および第2の円36等の内側の円ほど、操作者の体で遮蔽される部分が多くなることが懸念される。このため、座標計算に用いる円として、なるべく外側の円を選択して用いることにより、操作者の体で遮蔽される部分が少ない円を、座標計算に用いる円として選択して、正確な座標検出を可能とすることができる。
Since the
なお、この例では、ステップS4において、円検出部54が、座標計算に用いる円を検出しやすくするために、ステップS6において、欠けの生じている円を補間処理することとした。しかし、円検出部54は、例えば「電子情報通信学会論文誌D−II Vol.J73−D−II No.2 pp.159−166 1990年2月 Hough変換と階層化画像を用いた欠損楕円の検出」の文献に開示されている検出方法を用いて円の検出を行ってもよい。円検出部54は、この文献に開示されている検出方法を用いることで、欠けが生じている円も検出することができる。このため、ステップS3およびステップS6で説明した補間処理を省略して、全体的な処理の簡素化を図ることができる。
In this example, in order to make it easier for the
次に、ステップS5では、座標計算部55が、円検出部54が検出した円を用いてポインティングデバイス1の操作面5上の座標を検出し、図14のフローチャートの処理を終了する。
Next, in step S5, the coordinate calculation unit 55 detects the coordinates on the
図15は、ステップS5におけるCPU40の詳細な座標計算動作の流れを示すフローチャートである。CPU40は、座標計算部55として機能すると、図15のステップS11から処理を開始する。ステップS11では、座標計算部55が、円検出部54で検出された円の長径を計測して、処理をステップS12に進める。ステップS12では、座標計算部55が、円検出部54で検出された円の短径を計測して、処理をステップS13に進める。ステップS13では、座標計算部55が、図16に示す円錐の頂角αと、ポインティングデバイス1の傾斜角度θを計算する。そして、座標計算部55は、ステップS14において、円錐の頂角αとポインティングデバイス1の傾斜角度θを用いて、操作面5上におけるポインティングデバイス1の座標を計算する。
FIG. 15 is a flowchart showing the flow of detailed coordinate calculation operation of the
以下、各処理を順に説明する。座標計算部55は、まず、「円の径(直径)」または「楕円の長径および短径」を算出する。例えば、図17は、撮像部3により撮影された楕円の2次元の画像データ(x,y)をx−y座標で示した図である。なお、撮像部3により円が撮影されている場合、座標計算部55は、それぞれ直交する2本の直径(楕円の場合の長径と短径に相当)を算出する。撮像部3により円が撮影されている場合の算出動作、および撮像部3により楕円が撮影されている場合の算出動作は、それぞれ同様である。このため、図17に示した楕円を例として算出動作の説明を進める。撮像部3により円が撮影されている場合の算出動作は、以下の説明を参照されたい。図17に示す2次元の画像データ(x,y)は、左上の点から右下に向かう順で、上述のように白黒画像に2値化処理され、例えばRAM42に記録される。
Hereinafter, each process will be described in order. First, the coordinate calculation unit 55 calculates “circle diameter (diameter)” or “ellipse major axis and minor axis”. For example, FIG. 17 is a diagram illustrating the ellipse two-dimensional image data (x, y) captured by the imaging unit 3 in the xy coordinates. When a circle is photographed by the imaging unit 3, the coordinate calculation unit 55 calculates two orthogonal diameters (corresponding to a major axis and a minor axis in the case of an ellipse). The calculation operation when the imaging unit 3 captures a circle and the calculation operation when the imaging unit 3 captures an ellipse are the same. For this reason, the description of the calculation operation will be made with the ellipse shown in FIG. 17 as an example. For the calculation operation when a circle is photographed by the imaging unit 3, refer to the following description. The two-dimensional image data (x, y) shown in FIG. 17 is binarized into a black and white image in the order from the upper left point to the lower right, as described above, and is recorded in the
座標計算部55は、まず、楕円の中心点を求める。座標計算部55は、RAM42上に記憶された2次元の画像データを左上から順に走査し、直前のデータと数値が異なる点を検出する。これにより、図17に示す楕円の右上側の点D1が、最初に検出される。次に、画像データの右下から同様に走査を行い、直前のデータと数値が異なる点を検出する。これにより、図17に示す楕円の左下側の点D2が検出される。座標計算部55は、図形の対称性により、点D1と点D2の中間点の座標を(x0,y0)の座標とし、楕円の中心点Pとして検出する。
The coordinate calculation unit 55 first obtains the center point of the ellipse. The coordinate calculation unit 55 scans the two-dimensional image data stored on the
次に、楕円の長軸の長さ、短軸の長さ、焦点、楕円の傾きの求め方を説明する。ここで、以降の処理を簡単にするため、求めた楕円の中心点(x0,y0)を原点(0,0)とする。一般的な楕円(2次曲線)の方程式は、以下の(1)の数式で与えられる。 Next, how to determine the length of the major axis of the ellipse, the length of the minor axis, the focus, and the inclination of the ellipse will be described. Here, in order to simplify the subsequent processing, the center point (x 0 , y 0 ) of the obtained ellipse is set as the origin (0, 0). A general ellipse (quadratic curve) equation is given by the following equation (1).
(1)の数式において、楕円の中心点を原点(0,0)とすると、以下の(2)の数式のようになる。 In the equation (1), when the center point of the ellipse is the origin (0, 0), the following equation (2) is obtained.
次に、座標計算部55は、図17に示すように、最初に得られた点D1,D2を、原点(0,0)を基準としてD1→A1(x1,y1),D2→A2(x2,y2)と座標変換する。座標計算部55は、x軸の正の部分と楕円の交点をA3(x3,0)、y軸の正の部分と楕円の交点をA4(0,y4)とする。 Next, as shown in FIG. 17, the coordinate calculation unit 55 uses the points D 1 and D 2 obtained first as D 1 → A 1 (x 1 , y 1 ) with the origin (0,0) as a reference. , D 2 → A 2 (x 2 , y 2 ). The coordinate calculation unit 55 sets the intersection of the positive part of the x axis and the ellipse as A 3 (x 3 , 0), and sets the intersection of the positive part of the y axis and the ellipse as A 4 (0, y 4 ).
なお、点D1および点D2が、共にx軸上またはy軸上にあるということは、円または傾きのない楕円であることを意味する。以下、傾きのある楕円を例にとって説明を進める。 Note that both the point D 1 and the point D 2 are on the x-axis or the y-axis means a circle or an ellipse having no inclination. In the following, description will be given by taking an inclined ellipse as an example.
A1,A3,A4を(2)の数式に代入すると、楕円の方程式は、以下の(3)の数式となる。 By substituting A 1 , A 3 , and A 4 into the formula (2), the elliptic equation becomes the following formula (3).
(3)の数式は、傾きのある楕円の方程式である。図18に、図17の楕円を−φだけ回転させて得られた、傾きのない楕円(以下、「標準型」という)を示す。傾きのない楕円と傾きのある楕円とを比較することで、傾きのある楕円の傾きφを求めることができる。 The equation (3) is an equation of an ellipse with a slope. FIG. 18 shows an ellipse having no inclination (hereinafter referred to as “standard type”) obtained by rotating the ellipse of FIG. 17 by −φ. By comparing an ellipse having no inclination with an ellipse having an inclination, the inclination φ of the ellipse having an inclination can be obtained.
標準型の楕円上の任意の点を(X,Y)とすると、次の(4)の行列式が成り立つ。
(4)の数式を展開すると、以下の(5)および(6)の数式を得られる。 When the formula (4) is expanded, the following formulas (5) and (6) can be obtained.
(5)の数式および(6)の数式を(3)の数式に代入すると、以下の(7)の数式となる。 Substituting the mathematical expression (5) and the mathematical expression (6) into the mathematical expression (3) yields the following mathematical expression (7).
図18に示す標準型の楕円は、傾きがないことから、XYの項は0になるので、以下の(8)の数式で示すことができる。 Since the standard ellipse shown in FIG. 18 has no inclination, the XY term is 0, and can be expressed by the following equation (8).
(8)の数式を整理すると、以下の(9)の数式となる。 When the formula of (8) is arranged, the following formula (9) is obtained.
(9)の数式をさらに整理すると、以下の(10)の数式となり、楕円の傾きφの値を求めることができる。 When the formula of (9) is further arranged, the following formula (10) is obtained, and the value of the inclination φ of the ellipse can be obtained.
次に、(10)の数式を(7)の数式に戻すと、XYの項は消えるので、以下の(11)の標準形の数式が得られる。
(11)の数式より、楕円の長軸の長さa’を、以下の(12)の数式で求めることができる。 From the equation (11), the length a ′ of the major axis of the ellipse can be obtained by the following equation (12).
また、(11)の数式より、楕円の短軸の長さb’を、以下の(13)の数式で求めることができる。 Further, from the equation (11), the length b ′ of the minor axis of the ellipse can be obtained by the following equation (13).
座標計算部55は、図15のフローチャートのステップS11およびステップS12において、このような演算を行うことで、楕円の長軸(長径)の長さa’および楕円の短軸(短径)の長さb’を算出する。 The coordinate calculation unit 55 performs such calculation in step S11 and step S12 in the flowchart of FIG. 15, so that the length a ′ of the major axis (major axis) of the ellipse and the length of the minor axis (minor axis) of the ellipse are obtained. B ′ is calculated.
次に、座標計算部55は、ポインティングデバイス1の3次元位置と回転角を算出する。この場合、座標計算部55は、まず、図18に示す楕円の焦点をS1(s1,0),S2(s2,0),s1<0,s2>0として、以下の(14)の数式および(15)の数式で楕円の焦点を求める。
Next, the coordinate calculation unit 55 calculates the three-dimensional position and rotation angle of the
次に、座標計算部55は、楕円の長軸の長さa’、楕円の短軸の長さb’ならびに焦点S1(s1,0),S2(s2,0)から、ポインティングデバイス1の3次元座標と回転角を算出する。
Next, the coordinate calculation unit 55 performs pointing from the length a ′ of the major axis of the ellipse, the length b ′ of the minor axis of the ellipse, and the focal points S 1 (s 1 , 0), S 2 (s 2 , 0). The three-dimensional coordinates and rotation angle of the
まず、3次元座標(x,y,z)の求め方を説明する。例えば、図19Aに示すようにポインティングデバイス1がz軸に対してθだけ傾いているとする。楕円の長軸の長さがa’、短軸の長さがb’なので、焦点S1のx座標s1は、以下の(16)の数式で求めることができる。
First, how to obtain the three-dimensional coordinates (x, y, z) will be described. For example, assume that the
なお、原点から焦点S1までの距離Sは、以下の(17)の数式で求めることができる。 The distance S from the origin to the focal point S 1 can be calculated by formula below (17).
図19Bに示すように、焦点S1からy軸正方向へ直線を引き、楕円と交差する点を(s1,y1)とすると、y1の値は、図19Aに示すL1の値と一致する。このy1の値とL1の値が一致することについて説明する。図20Aに示すような、高さZ、中心軸と側面との間の角度αの円錐台を考える。図20Bに示すように、中心軸とxy平面との交点をS1(x軸上の点)、円錐台の側面とx軸との交点をA1,A2とする。
As shown in FIG. 19B, a straight line is drawn from the focus S 1 to y-axis positive direction, when the point of intersection with the
次に、図20Cに示すように、S1を中心としてxz平面に沿ってz軸からθだけポインティングデバイス1を回転させる。これにより、円錐台の点A2は点A2’へ回転移動する(Zを回転半径として、Zの長さは固定する)。回転移動なので、S1からA2までの距離とS1からA2’までの距離は等しい。
Next, as illustrated in FIG. 20C, the
さらに、回転する前の円錐台に注目すると、図20Bに示すように投影像は円なので、S1からA2までの距離とS1から同円上の点A3までの距離は等しい。一方、A3に注目すると、円錐台が回転するとき、A3は回転軸上にあるので円錐台のA3の位置は不変である(図20C、図20D参照)。以上より、S1からA3までの距離(円の半径)と、S1とA2’までの距離は等しいと言えるので、y1の値は、図19Aに示すL1の値と一致する。 Further, paying attention to the truncated cone before rotation, as shown in FIG. 20B, the projected image is a circle, so the distance from S 1 to A 2 is equal to the distance from S 1 to point A 3 on the same circle. On the other hand, paying attention to A 3 , when the truncated cone rotates, the position of A 3 of the truncated cone does not change because A 3 is on the rotation axis (see FIGS. 20C and 20D). From the above, it can be said that the distance from S 1 to A 3 (the radius of the circle) and the distance from S 1 to A 2 ′ are equal, so the value of y 1 matches the value of L 1 shown in FIG. 19A. .
楕円の方程式は、楕円の長軸の長さa’、短軸の長さb’で表すと、以下の(18)の数式で表される。 The equation of the ellipse is represented by the following equation (18) when expressed by the major axis length a 'and the minor axis length b'.
(18)の数式に(x,y)→(s1,y1)を代入すると、y1(=L1)は、(19)の数式に示す値となる。 When (x, y) → (s 1 , y 1 ) is substituted into the equation (18), y 1 (= L 1 ) becomes the value shown in the equation (19).
ポインティングデバイス1から、光軸と平面との交点までの距離Zは、以下の(20)の数式で示す値となる。なお、「α」は光軸と円錐の側面との間の角度である(ポインティングデバイス1固有の定数)。
The distance Z from the
図19Aにおいて、Z’とL2を含む直角三角形に注目すると、正弦(sinθ)および余弦(cosθ)は、以下の(21)の数式および(22)の数式で表される。 In FIG. 19A, when focusing on a right triangle including L 2 and Z ', sine (sin [theta) and cosine (cos [theta]) is represented by the formula in the formula and (22) of the following (21).
頂角αを共有し、底辺をL1,L2とする2つの三角形は相似形なので、以下の(23)の数式の関係が成り立つ。 Since the two triangles sharing the apex angle α and having the bases L 1 and L 2 are similar, the relationship of the following equation (23) holds.
(23)の数式に、(21)および(22)の数式を代入すると、以下の(24)の数式となる。 Substituting the equations (21) and (22) into the equation (23) yields the following equation (24).
(24)の数式を整理すると、以下の(25)の数式となる。 When the formula of (24) is arranged, the following formula (25) is obtained.
三角関数の合成を用いると、以下の(26)の数式となる。 When trigonometric synthesis is used, the following equation (26) is obtained.
(26)の数式は、以下の(27)の数式に変形することができる。 The equation (26) can be transformed into the following equation (27).
これにより、図19Aに示すポインティングデバイス1の光軸のz軸に対する傾きθは、以下の(28)の数式で求めることができる。
Thereby, the inclination θ of the optical axis of the
次に、楕円の傾きφおよびポインティングデバイス1の光軸のz軸に対する傾きθを用いて、以下の(29)の数式で示すポインティングデバイス1の3次元座標(x,y,z)を求める。(29)の数式からわかるように、x,y,zの各座標値は、z軸に対するポインティングデバイス1の光軸の傾きθの関数で求めることができる。
Next, using the inclination φ of the ellipse and the inclination θ of the optical axis of the
なお、上述の説明では、理解を容易とするために、楕円の中心と原点とを一致させた。しかし、原点を画像の左端上端等に設定した場合には、楕円の中心点が値(xd,yd)を取るとき、(28)の数式のx,yの項に、それぞれxd,ydを加えればよい。これにより、他の基準点からの3次元座標を求めることができる。 In the above description, the center of the ellipse coincides with the origin for easy understanding. However, when the origin is set at the upper left end of the image or the like, when the center point of the ellipse takes the value (x d , y d ), x d , it may be added to y d. Thereby, the three-dimensional coordinate from another reference point can be calculated | required.
座標計算部55は、(29)の数式のうち、「−Zsinθcosφ−Scosφ」の演算を行うことで、操作面5上におけるポインティングデバイス1のx座標の値を算出する。また、座標計算部55は、(29)の数式のうち、「−Zsinθsinφ−Ssinφ」の演算を行うことで、操作面5上におけるポインティングデバイス1のy座標の値を算出する。
The coordinate calculation unit 55 calculates the value of the x coordinate of the
図12に示す情報処理装置4のCPU40は、このように算出した操作面5上におけるポインティングデバイス1の座標値から、ポインティングデバイス1の操作状態を検出する。CPU40は、検出したポインティングデバイス1の操作状態に対応する情報処理を行う。例えば、情報処理装置4に接続されたプロジェクタ装置から、操作面5に操作ボタンが投影されているものとする。そして、操作者が、操作面5に投影されている操作ボタンの表示位置で、ポインティングデバイス1を所定時間以上、停止操作したとする。CPU40は、上述のように算出した、操作面5上におけるポインティングデバイス1の座標の移動状態を検出する。CPU40は、操作面5に表示された操作ボタン上で、ポインティングデバイス1の所定時間以上の停止操作を検出した場合、操作ボタンが操作されたものと認識する。そして、CPU40は、操作された操作ボタンに対応する画像をHDD43から読み出し、プロジェクタ装置を介して操作面5に投影する。これにより、操作面5を、いわゆるタッチ検出機能付き表示装置のように使用可能とすることができる。
The
次に、ポインティングデバイス1の座標は、以下に説明する演算式を用いて算出してもよい。座標計算部55は、円(楕円)の最長の径(長径)を「a」とする。また、座標計算部55は、平面内で長径と直交する最短の径(短径)を「b」とする。また、座標計算部55は、円錐の頂角を「α」とする。また、座標計算部55は、ポインティングデバイス1のミラー16から先端部21までの長さを「L」とする。また、座標計算部55は、90度−ポインティングデバイス1と操作面5のなす角を「θ」とする。a,b,α,L,θは、(数30)および(数31)に示す関係にある。長径aおよび短径bは、撮像部3で撮影される画像から計測する。Lは既知であるので、(数30)および(数31)は未知数が2つの連立方程式となる。ここから、αおよびθを計算する。この計算は、テーブルから検出してもよい。図22および図23にテーブルの一例を示す。図22に示すテーブルは、楕円の各長径の長さに対応する、ポインティングデバイス1の傾斜角度θの値および円錐の頂角αの値を記憶したテーブルとなっている。図23に示すテーブルは、楕円の各短径の長さに対応する、ポインティングデバイス1の傾斜角度θの値および円錐の頂角αの値を記憶したテーブルとなっている。各テーブルは、例えばHDD43等の記憶部に予め記憶される。
Next, the coordinates of the
ここで、図21は、ポインティングデバイス1から出射されるレーザー光と、操作面5との幾何学的な関係を真横から見た図である。線分AB及び線分ACを含む直線は、ポインティングデバイス1から出射されるレーザー光の軌跡を示している。線分AFが、ポインティングデバイス1のミラー16から先端部21までの長さ「L」に対応する。線分DEは、レーザー光が投影する楕円の長径に対応する。このとき、線分DF:線分FEは、頂角αおよび、傾斜角θを用いて以下の(32)の数式で表すことができる。なお、角度の単位は「度」である。
Here, FIG. 21 is a diagram of the geometric relationship between the laser light emitted from the
楕円の長径を計算する際に、図21の点Dおよび点Eの座標は分かっている。このため、座標計算部55は、(32)の数式の演算を行うことにより、点Fの座標、すなわち、操作面5上におけるポインティングデバイス1の先端部21の座標を算出することができる。
When calculating the major axis of the ellipse, the coordinates of point D and point E in FIG. 21 are known. Therefore, the coordinate calculation unit 55 can calculate the coordinates of the point F, that is, the coordinates of the
座標計算部55は、上述の「(12)の数式および(13)の数式」、または「(30)の数式および(31)の数式」を用いて楕円の長径または短径の長さを算出する。座標計算部55は、この算出値を用いて図22に示すテーブルまたは図23に示すテーブルを参照する。そして、座標計算部55は、算出した長径および短径に対応する円錐の頂角αおよびポインティングデバイス1の傾斜角度θをテーブルから検出する。
The coordinate calculation unit 55 calculates the length of the major axis or minor axis of the ellipse using the above-mentioned “(12) and (13) formula” or “(30) and (31)”. To do. The coordinate calculation unit 55 refers to the table shown in FIG. 22 or the table shown in FIG. 23 using this calculated value. Then, the coordinate calculation unit 55 detects the apex angle α of the cone and the tilt angle θ of the
例えば、算出した楕円の長径が1305mmであった場合、座標計算部55は、図22に示すテーブルを参照することで、頂角αを135.2°(135.2度)、ポインティングデバイス1の傾斜角度θを15°(15度)として検出する。また、算出した楕円の短径が957mmであった場合、座標計算部55は、図23に示すテーブルを参照することで、頂角αを135.2°(135.2度)、ポインティングデバイス1の傾斜角度θを15°(15度)として検出する。
For example, when the calculated major axis of the ellipse is 1305 mm, the coordinate calculation unit 55 refers to the table shown in FIG. 22 and sets the apex angle α to 135.2 ° (135.2 degrees) and the
このように算出した楕円の長径および短径を用いて各テーブルを参照することで、頂角αとポインティングデバイス1の傾斜角度θを機械的かつ一義的に検出することができる。このため、傾斜角度θ等の演算に要する時間を短縮化して、ポインティングデバイス1の座標検出に要する時間を大幅に短縮化することができる。
By referring to each table using the major axis and minor axis of the ellipse thus calculated, the apex angle α and the tilt angle θ of the
なお、図17および図18に示すテーブルは、一例である。このため、テーブルの各要素を細分化してもよい。また、頂角αについては、事前に角度が分かっているため、必要分用意すれば良い。また、ポインティングデバイス1の傾斜角度θは、必要に応じて細かく設定すればよい。
Note that the tables shown in FIGS. 17 and 18 are examples. For this reason, you may subdivide each element of a table. Further, the apex angle α is known in advance, and therefore, the necessary amount may be prepared. Further, the tilt angle θ of the
次に、この実施の形態のおいては、座標計算に用いる円として複数の円が存在する場合、一番外側の円を座標計算に用いることとした。しかし、座標計算に用いる円として複数の円が存在する場合、複数の円に対応する座標値の平均値を、最終的な座標値として出力してもよい。 Next, in this embodiment, when a plurality of circles exist as circles used for coordinate calculation, the outermost circle is used for coordinate calculation. However, when a plurality of circles exist as circles used for coordinate calculation, an average value of coordinate values corresponding to the plurality of circles may be output as a final coordinate value.
この場合、座標計算部55は、上述の演算を行うことで、座標計算に用いる円毎にポインティングデバイス1の座標値を算出する。そして、座標計算部55は、各円に対応する各座標値の平均座標値を算出し、この平均座標値を最終的な座標値として出力する。このように平均座標値を出力することにより、座標値の演算誤差を少なくすることができ、ポインティングデバイス1の正確性の高い座標値を出力可能とすることができる。
In this case, the coordinate calculation unit 55 calculates the coordinate value of the
次に、第1の実施の形態の座標検出システムは、ポインティングデバイス1から操作面5に対して表示する各円35〜38の大きさは、操作者で部分的に遮蔽されていても、全体形状を特定可能な大きさであることとした。しかし、狭い範囲でポインティングデバイス1の座標を検出する場合、ポインティングデバイス1から操作面5に投影する各円35〜38の大きさも、小さくする必要がある。実施の形態の座標検出システムで用いられるポインティングデバイス1は、図3に示すミラーユニット15が交換可能となっている。
Next, in the coordinate detection system of the first embodiment, the size of each of the
図24に、操作面5に小さめの各円35〜38を投影するミラーユニットのミラー60を示す。図24に示すミラー60は、第1のミラー61〜第4のミラー64を有している。第1のミラー61〜第4のミラー64は、上述のミラー16の第1のミラー30〜第4のミラー33に相当し、透過率等は同じとなっている。ただ、ミラー60の場合、ミラー16よりもレーザー光の反射角度が鈍角となっている。
FIG. 24 shows a
このため、ミラー60が設けられたミラーユニットが操作面5上に描く各円35〜38大きさは、図24に示すようにミラー16が設けられたミラーユニット15よりも小さくなる。従って、狭い範囲でポインティングデバイス1の座標を検出する場合には、ポインティングデバイス1のミラーユニット15を、ミラー60が設けられたミラーユニットに交換すれば、狭い範囲での座標検出に対応することができる。
Therefore, the size of each
以上の説明から明らかなように、第1の実施の形態の座標検出システムは、操作者で部分的に遮蔽されていても、全体形状を特定可能な大きさの円を、ポインティングデバイス1の不可視光レーザー光源14を用いて操作面5に表示する。座標検出システムは、操作面5を撮像部3で撮像し、得られた撮像画像に写っている円から、操作面5上におけるポインティングデバイス1の座標を算出する。このような座標検出システムは、以下の効果を得ることができる。
As is clear from the above description, the coordinate detection system according to the first embodiment is configured so that a circle having a size capable of specifying the entire shape is invisible to the
まず、光源として指向性が高く、かつ、光量も十分な不可視光レーザー光源14を用い、レーザー光の軌跡で、座標検出のための円を描いている。このため、ポインティングデバイス1から離れた部分においても、操作面5に描画された円を十分な光量のレーザー光で明確に描画することができる。従って、太陽光の外乱等に影響されることなく、操作面5にポインティングデバイス1の座標を検出するための円を描画することができ、正確な座標検出を可能とすることができる。
First, an invisible
また、操作面5上に複数の円を描画して、その中から座標の計算に適した円を選択して、座標の計算に用いている。また、操作面5に対しては、操作者で部分的に遮蔽されていても、全体形状を特定可能な大きさの円を描画している。このため、ポインティングデバイス1の操作者の体等により円が遮蔽されている場合でも、この遮蔽の影響の無い円を選択して、座標の計算に用いることができる。従って、正確な座標検出を可能とすることができる。
In addition, a plurality of circles are drawn on the
このようなことから、第1の実施の形態の座標検出システムは、精度よくポインティングデバイス1の座標検出を行うことができる。
For this reason, the coordinate detection system according to the first embodiment can accurately detect the coordinates of the
(第2の実施の形態)
次に、第2の実施の形態の座標検出システムの説明をする。この第2の実施の形態の座標検出システムは、ポインティングデバイス内に設けた圧力センサで検出される筆圧を、操作面5に描画する円の線種で操作者に伝達するものである。
(Second Embodiment)
Next, a coordinate detection system according to the second embodiment will be described. In the coordinate detection system of the second embodiment, the pen pressure detected by the pressure sensor provided in the pointing device is transmitted to the operator by the line type of a circle drawn on the
図25は、第2の実施の形態の座標検出システムで用いられるポインティングデバイス70を長手方向に沿って切断した断面図である。図25に示すように、ポインティングデバイス70は、先端部21とバネ部材71を介して接続された圧力センサ72(圧力検出部の一例)を有している。
FIG. 25 is a cross-sectional view of the
バネ部材71は、筐体22から先端部21が離間する方向へ、先端部21を付勢している。操作者がポインティングデバイス70の先端部21を押圧操作すると、先端部21がバネ部材71の付勢力に逆らって筐体22方向に移動し、圧力センサ72に対して筆圧に応じた圧力がかかる。圧力センサ72は、この圧力(=筆圧)を検出し、制御部73に伝達する。
The
制御部73は、筆圧に応じた線種の円が操作面5上に描画されるように、不可視光レーザー光源14を発光制御する。なお、「線種」とは、線の長さ、線の太さ、線の形態、線の色等を意味している。図26および図27は、制御部73が、筆圧に応じた線の長さとなるように不可視光レーザー光源14を発光制御して描かれた円を示している。このうち、図26は、高い筆圧である場合に描かれた円を、図27は、低い筆圧である場合に描かれた円を示している。また、図28は、制御部73が、筆圧に応じた線の太さとなるように不可視光レーザー光源14を発光制御して描かれた円を示している。
The
このように、第2の実施の形態の座標検出システムは、操作面5に描く円の線種を変化させることで、操作面5に描く円で筆圧情報を示すことができる他、上述の第1の実施の形態の座標検出システムと同様の効果を得ることができる。
As described above, the coordinate detection system according to the second embodiment can indicate the pen pressure information by the circle drawn on the
上述の各実施の形態は、例として提示したものであり、本発明の範囲を限定することは意図していない。この新規な各実施の形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことも可能である。各実施の形態および各実施の形態の変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Each above-mentioned embodiment is shown as an example and is not intending limiting the range of the present invention. Each of the novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. Each embodiment and modifications of each embodiment are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1 ポインティングデバイス
2 座標検出デバイス
3 撮像部
4 情報処理装置
5 操作面
11 スイッチ
12 発光部
13 制御部
14 不可視光レーザー光源
15 ミラーユニット
16 ミラー
17 モータ部
18 バンドパスフィルタ(BPF)
21 先端部
22 筐体
23 バネ部材
24 透明窓部
30 第1のミラー
31 第2のミラー
32 第3のミラー
33 第4のミラー
35 第1の円
36 第2の円
37 第3の円
38 第4の円
40 CPU
41 ROM
42 RAM
43 HDD
44 入出力I/F
45 通信I/F
46 バスライン
51 画像取得部
52 線抽出部
53 補間処理部
54 円検出部
55 座標計算部
60 ミラー
61 第1のミラー
62 第2のミラー
63 第3のミラー
64 第4のミラー
70 ポインティングデバイス
71 バネ部材
72 圧力センサ
73 制御部
DESCRIPTION OF
21
41 ROM
42 RAM
43 HDD
44 I / F I / F
45 Communication I / F
46
Claims (10)
検出された1以上の前記円または前記楕円から前記ポインティングデバイスの前記操作面上の座標を計算する座標計算部と
を備えることを特徴とする座標検出装置。 One or more of the circles or the circles used for calculating coordinates on the operation surface of the pointing device from an image obtained by imaging an operation surface operated by a pointing device that projects a plurality of circles or ellipses that are coaxial and have different sizes A detection unit for detecting an ellipse;
A coordinate detection apparatus comprising: a coordinate calculation unit that calculates coordinates on the operation surface of the pointing device from one or more of the detected circles or ellipses.
前記操作面を撮像した画像は、前記波長の光を透過するバンドパスフィルタを介した撮像光で形成された画像であること
を特徴とする請求項1に記載の座標検出装置。 The pointing device projects the circle or the ellipse with light having a wavelength in an invisible region to a human;
The coordinate detection apparatus according to claim 1, wherein the image obtained by imaging the operation surface is an image formed by imaging light that passes through a band-pass filter that transmits light of the wavelength.
を特徴とする請求項1または請求項2に記載の座標検出装置。 The coordinate calculation unit calculates the coordinates of the pointing device from the diameter of the circle, or the major axis and minor axis of the ellipse, and the length from the light emitting unit to the tip of the pointing device. The coordinate detection apparatus according to claim 1 or 2.
を特徴とする請求項1から請求項3のうち、いずれか一項に記載の座標検出装置。 The coordinate calculation unit calculates an average of coordinates calculated from a plurality of the circles or the ellipses as coordinates of the pointing device. Coordinate detection device.
を特徴とする請求項1から請求項3のうち、いずれか一項に記載の座標検出装置。 The coordinate calculation unit calculates coordinates of the pointing device using an outermost circle or ellipse when a plurality of the circles or ellipses are detected as the circle or ellipse used for coordinate calculation. The coordinate detection device according to any one of claims 1 to 3, wherein the coordinate detection device is a feature.
を特徴とする請求項1から請求項5のうち、いずれか一項に記載の座標検出装置。 6. The pointing device according to claim 1, wherein the pointing device projects a plurality of the circles or the ellipses whose inner intervals are dense and the intervals are sparse toward the outer side. 7. Coordinate detection device.
前記検出部で検出された前記円または前記楕円の線種から前記圧力を検出する圧力検出部を有すること
を特徴とする請求項1から請求項6のうち、いずれか一項に記載の座標検出装置。 The pointing device performs projection of the circle or the ellipse with a line type indicating a pressure generated by pressing the tip portion against the operation surface,
The coordinate detection according to claim 1, further comprising: a pressure detection unit that detects the pressure from a line type of the circle or the ellipse detected by the detection unit. apparatus.
前記ポインティングデバイスで操作される前記操作面の画像を撮像する撮像部と、前記画像から前記ポインティングデバイスの前記操作面上の座標の計算に用いる1以上の前記円または前記楕円を検出する検出部と、検出された1以上の前記円または前記楕円から前記ポインティングデバイスの前記操作面上の座標を計算する座標計算部とを備えた座標検出デバイスと
を有することを特徴とする座標検出システム。 A pointing device that projects a plurality of circles or ellipses, each coaxial and different in size, onto the operation surface;
An imaging unit that captures an image of the operation surface operated by the pointing device; and a detection unit that detects one or more of the circle or the ellipse used for calculating coordinates on the operation surface of the pointing device from the image; A coordinate detection device comprising: a coordinate calculation unit that calculates coordinates on the operation surface of the pointing device from the detected one or more circles or ellipses.
座標計算部が、検出された1以上の前記円または前記楕円から前記ポインティングデバイスの前記操作面上の座標を計算する座標計算工程と
を有することを特徴とする座標検出方法。 One or more used by the detection unit to calculate coordinates on the operation surface of the pointing device from an image obtained by imaging an operation surface operated by a pointing device that projects a plurality of circles or ellipses that are coaxial and have different sizes Detecting the circle or the ellipse;
A coordinate calculation method comprising: a coordinate calculation step of calculating coordinates on the operation surface of the pointing device from the one or more detected circles or ellipses.
それぞれ同軸で大きさの異なる複数の円または楕円を投影するポインティングデバイスで操作される操作面を撮像した画像から、前記ポインティングデバイスの前記操作面上の座標の計算に用いる1以上の前記円または前記楕円を検出する検出部と、
検出された1以上の前記円または前記楕円から前記ポインティングデバイスの前記操作面上の座標を計算する座標計算部
として機能させることを特徴とする座標検出プログラム。 Computer
One or more of the circles or the circles used for calculating coordinates on the operation surface of the pointing device from an image obtained by imaging an operation surface operated by a pointing device that projects a plurality of circles or ellipses that are coaxial and have different sizes A detection unit for detecting an ellipse;
A coordinate detection program that functions as a coordinate calculation unit that calculates coordinates on the operation surface of the pointing device from one or more detected circles or ellipses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013101369A JP2014199633A (en) | 2013-03-15 | 2013-05-13 | Coordinate detection device, coordinate detection system, coordinate detection method, and coordinate detection program |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013054421 | 2013-03-15 | ||
JP2013054421 | 2013-03-15 | ||
JP2013101369A JP2014199633A (en) | 2013-03-15 | 2013-05-13 | Coordinate detection device, coordinate detection system, coordinate detection method, and coordinate detection program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014199633A true JP2014199633A (en) | 2014-10-23 |
Family
ID=52356466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013101369A Pending JP2014199633A (en) | 2013-03-15 | 2013-05-13 | Coordinate detection device, coordinate detection system, coordinate detection method, and coordinate detection program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014199633A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020090227A1 (en) * | 2018-11-01 | 2020-05-07 | ソニー株式会社 | Information processing device, information processing method, and program |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02171910A (en) * | 1988-12-26 | 1990-07-03 | Wacom Co Ltd | Coordinate input device and its inputting indicator |
JP2005091115A (en) * | 2003-09-16 | 2005-04-07 | Sanyo Electric Co Ltd | Depth measuring instrument |
JP2006190212A (en) * | 2005-01-07 | 2006-07-20 | Univ Of Electro-Communications | 3D position input device |
JP2006260487A (en) * | 2005-03-18 | 2006-09-28 | Fuji Xerox Co Ltd | Pointer system |
JP2007515655A (en) * | 2003-12-22 | 2007-06-14 | エレクトロニック・スクリプティング・プロダクツ・インコーポレイテッド | Method and apparatus for determining the absolute position of the tip of a long object on a plane with invariant features |
JP2012053603A (en) * | 2010-08-31 | 2012-03-15 | Sanyo Electric Co Ltd | Information display system |
JP2013033494A (en) * | 2004-11-12 | 2013-02-14 | Epson Norway Research And Development As | Visual recognition system |
-
2013
- 2013-05-13 JP JP2013101369A patent/JP2014199633A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02171910A (en) * | 1988-12-26 | 1990-07-03 | Wacom Co Ltd | Coordinate input device and its inputting indicator |
JP2005091115A (en) * | 2003-09-16 | 2005-04-07 | Sanyo Electric Co Ltd | Depth measuring instrument |
JP2007515655A (en) * | 2003-12-22 | 2007-06-14 | エレクトロニック・スクリプティング・プロダクツ・インコーポレイテッド | Method and apparatus for determining the absolute position of the tip of a long object on a plane with invariant features |
JP2013033494A (en) * | 2004-11-12 | 2013-02-14 | Epson Norway Research And Development As | Visual recognition system |
JP2006190212A (en) * | 2005-01-07 | 2006-07-20 | Univ Of Electro-Communications | 3D position input device |
JP2006260487A (en) * | 2005-03-18 | 2006-09-28 | Fuji Xerox Co Ltd | Pointer system |
JP2012053603A (en) * | 2010-08-31 | 2012-03-15 | Sanyo Electric Co Ltd | Information display system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020090227A1 (en) * | 2018-11-01 | 2020-05-07 | ソニー株式会社 | Information processing device, information processing method, and program |
JPWO2020090227A1 (en) * | 2018-11-01 | 2021-10-07 | ソニーグループ株式会社 | Information processing equipment, information processing methods, and programs |
EP3876083A4 (en) * | 2018-11-01 | 2021-12-29 | Sony Group Corporation | Information processing device, information processing method, and program |
US11435856B2 (en) | 2018-11-01 | 2022-09-06 | Sony Group Corporation | Information processing device, information processing method, and program |
JP7294350B2 (en) | 2018-11-01 | 2023-06-20 | ソニーグループ株式会社 | Information processing device, information processing method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5461470B2 (en) | Proximity detector | |
KR101099820B1 (en) | Position determination and motion tracking | |
US10303305B2 (en) | Scanning touch systems | |
WO2010107434A1 (en) | Optical gage and three-dimensional surface profile measurement method | |
JP2007052025A (en) | System and method for optical navigation device having sliding function constituted so as to generate navigation information through optically transparent layer | |
JP2004028977A (en) | Position measurement system | |
JP2007139776A (en) | Optical edge break gage | |
CN101118153A (en) | Multi-range non-contact probe | |
JP6101584B2 (en) | Shape measuring method and apparatus | |
US10240913B2 (en) | Three-dimensional coordinate measuring apparatus and three-dimensional coordinate measuring method | |
JP2019522860A (en) | Electronic device and operation method thereof | |
WO2007062846A1 (en) | Surveying instrument and surveying method | |
CN107493428A (en) | Shooting control method and device | |
CN111796693A (en) | input device | |
JP7321290B2 (en) | Information processing device, information processing method, and program | |
TW201518996A (en) | Projection system manager | |
CN113268170B (en) | Position detection method, position detection device, and position detection system | |
JP7557539B2 (en) | Apparatus and method for detecting surface movement - Patents.com | |
JPWO2018056195A1 (en) | Projection system, projection method and program | |
JP2016009396A (en) | Input device | |
JP7265594B2 (en) | Automated turbine blade and shroud clearance measurement | |
JP2014199633A (en) | Coordinate detection device, coordinate detection system, coordinate detection method, and coordinate detection program | |
CN102401901A (en) | Ranging system and ranging method | |
JP6309938B2 (en) | 3D position measurement system, 3D position measurement probe, and calibrator | |
TWI529570B (en) | Optical navigation sensor, electronic device with optical navigation function and operation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160419 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170131 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170131 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20170725 |