JPH0250282A - Data reading device - Google Patents

Data reading device

Info

Publication number
JPH0250282A
JPH0250282A JP63200227A JP20022788A JPH0250282A JP H0250282 A JPH0250282 A JP H0250282A JP 63200227 A JP63200227 A JP 63200227A JP 20022788 A JP20022788 A JP 20022788A JP H0250282 A JPH0250282 A JP H0250282A
Authority
JP
Japan
Prior art keywords
data
image
sampling position
mesh
boundary
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
JP63200227A
Other languages
Japanese (ja)
Inventor
Shigenori Morikawa
重則 森川
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP63200227A priority Critical patent/JPH0250282A/en
Priority to US07/389,287 priority patent/US5042079A/en
Priority to EP89114858A priority patent/EP0354581B1/en
Priority to DE68920229T priority patent/DE68920229T2/en
Publication of JPH0250282A publication Critical patent/JPH0250282A/en
Priority to US08/113,957 priority patent/US5327510A/en
Priority to US08/196,008 priority patent/US5577774A/en
Priority to US08/451,526 priority patent/US5591957A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and speedily execute the reading and recognition of encoding picture data by calculating a vertical direction sampling position and a horizontal direction sampling position out of the data of a read picture and sampling the data of the picture in sampling coordinates. CONSTITUTION:The recording sheet of the picture to include a mesh-shaped pattern, for which the data are encoded according to brightness and darkness to be selectively formed in respective meshes, is used as a recording medium. Further, in order to recognize the brightness and darkness of the respective meshes from the picture which is read by an image sensor means, a hardware is used to detect the vertical and horizontal data sampling positions of the mesh-shaped pattern and to sample the picture data at the position. Thus, data recognition can be executed at a high speed to the encoding picture of high density.

Description

【発明の詳細な説明】[Detailed description of the invention]

[発明の技術分野] この発明は符号化された画像を取り込んで、画像に符号
化されたデータを読み取るデータ読取り装置(画像入力
装a)に関する。 [背 景] 符号化された画像を記録媒体(記録シート)から取り込
んで2進データを再生する技術としてバーコード技術が
知られている。しかし、バーコードの場合、構造上、記
録密度を上げることが困難なため、大量のデータの入力
には向かない。 特開昭53−73026号には、1Xj(例えば3×3
)のマトリクスのなかのいずれかのます目を暗にし、他
のます目を明にした画像を読み込んで、まず目の明暗の
パターンを認識する技術が示されている。このマトリク
スの符号化画像はマトリクスに含まれるまず目の数を増
やすことで容量にデータ量を増大させることができると
考えられる。しかしながら、上記公報ではまず目の明暗
のパターンを認識するためにソフトウェアを用いている
のでパターン認識にかなりの時間を要し、高価となる問
題がある。類似のマトリクス画像を用いた例が雑誌I1
0.1988年5月号第121−第125頁[イメージ
スキャナーで読み込むダンプリスト」にも示されている
。 [発明の目的] したがって、この発明の主目的は比較的記録密度の高い
符号化画像データを簡単にしかも速く読み取って認識す
ることのできるデータ読取り装置を提供することである
。 この発明のもう1つの目的は、ハンディタイプのイメー
ジスキャナー等で符号化画像データを逐次(1ラインず
つ)入力した場合の問題、例えば、走査速度、方向等の
変化に起因するデータの誤認識の問題を解消したデータ
読取り装置を提供することである。 [発明の構成、作用、展開] この発明によるデータ読取り装置は、各網目に選択的に
形成された明暗によってデータを符号化した網状パター
ンを含む画像であって、この画像のなかに上記網状パタ
ーンの縦方向のデータサンプリング位置を指示するため
の第1マークと上記網状パターンの横方向のデータサン
プリング位置を指示するための第2マークとが含まれて
成る画像が形成された記録シートを符号化画像の記録媒
体として用いる。そして1本データ読取り装置は、上記
記録シートの上記画像を読み取るイメージセンサ−手段
を備えるとともに、上記各網目の明暗を認識するハード
ウェア手段として、読み取られた上記画像のデータのな
かから、上記第1マークを検出して上記縦方向のデータ
サンプリング位置を算出する縦方向サンプリング位置算
出回路手段と、読み取られた上記画像のデータのなかか
ら上記第2マークを検出して上記横方向のデータサンプ
リング位置を算出する横方向サンプリング位置算出回路
手段と、算出された上記縦方向と横方向のデータサンプ
リング位置によって規定されるサンプリング座標におけ
る上記画像のデータをサンプルするデータサンプリング
回路手段とを備える。 上記画像は網目のサイズを最小化することにより、十分
、記録密度の高いものにできる。また、画像の認a(各
網目の明暗の認識)はサンプリング点を検出してその点
のデータをサンプリングするハードウェアで行われるの
で短時間に行える。 上記第1マークは種々の形態をとり得る0例えば、第1
マークは上記網状パターンの上辺と下辺に沿って延びる
1対のバーで構成される。この場合、上記縦方向データ
サンプリング位置算出手段は、読み取られた画像データ
に含まれる上記1対のバーの間隔を測定する間隔測定回
路手段と、測定されたバーの間隔をほぼ等しく分割した
位置を上記縦方向のデータサンプリング位置として算出
する分割回路手段とで構成される。 この構成によれば、イメージセンサ−手段が記録シート
上の画像を斜めに取り込んだ場合にも正しい縦方向のデ
ータサンプリング位置を維持することができる。なぜな
ら、読み取られた画像は傾いているだけであり、1対の
バーと網状パターンとの相対的な位置関係は保存される
からである。 1対のバーの間隔は、バーと垂直な方向で測定したとき
の値と垂直でない方向で測定したときの値とで変化する
が、その変化の割合は網目の上辺と下辺との間隔を測定
した場合の変化の割合に等しい、したがって1分割回路
手段の分割した点の間隔は常に、上下に隣り合う網目の
間隔に対応し得る。 第1マークの別の例として、網状パターンのなかに特殊
パターンの列を組み込んでもよい・例えば・網状パター
ンのある縦の列の隣り・に、明暗を交互に繰り返す網目
の列を、網目の半分だけずらして配置する。そして、デ
ータ読み取りの動作時に、この特殊パターンの各エツジ
、すなわち、明から暗または暗から明の網目に変化する
位置を検出する。この検出位置は、縦方向のデータサン
プリング位置を表わす。 上記イメージセンサ−手段はライン型であり得、例えば
、上記記録シート上を上記網状パターンの一側辺から他
側辺に向って走査(移動)しながら、1度に1ライン分
の画像データ(ほぼ縦方向のラインの画像データ)を読
み取る。このようなライン型のイメージセンサ−手段を
用いる場合、横方向のデータサンプリング位置の画像デ
ータはある時点でイメージセンサ−手段から与えられる
ライン画像データであり、この到来タイミングを知るこ
とが横方向のデータサンプリング位置を知ることに等し
い、したがって、ある構成例では、上記網状パターンに
含まれる左右に隣り合う明と暗の網目の境界(縦の境界
)が上記第2マークとして使用され、上記横方向サンプ
リング位置算出回路手段は、上記境界を検出する網目境
界検出回路手段とこの手段により境界が検出されてから
所定の時間間隔のタイミングを上記横方向のデータサン
プリング位置のタイミングとして検出する回路手段とで
構成される。 上記時間間隔はライン型センサー手段が横方向に走査(
手動または機械的に移動)する速度が一定であれば一定
である。しかし、走査速度が変動する場合にも、一定の
時間間隔を用いたときには、横方向のサンプリング位置
が、網目の中央からずれてしまい、誤ったデータをサン
プルする可能性がある。 そこで、−構成例では上記網目パターンを横方向に走査
するイメージセンサ−手段の走査速度を検出する横方向
速度検出回路手段が使用され、横方向データサンプリン
グ位置算出手段は検出された走査速度と左右に隣り合う
網目の境界位置とから横方向のデータサンプリング位置
を算出する。 上記横方向速度検出回路手段としてロータリエンコーダ
が使用できる。 ライン型イメージセンサ−手段の移動速度の変動を補償
する別の構成例では、上記網目パターンのなかに、特殊
パターン、すなわち、少なくとも横一列の網目が交互に
明暗を繰り返す特殊パターンが含まれる。そして、各網
目の横方向のデータサンプリング位置を知るために、上
記網状パターンにおける横方向の各列の隣り合う明と暗
の網目の境界を検出する境界検出回路手段と、上記特殊
パターンにおける隣り合う明と暗の網目の境界を検出す
る特殊境界検出回路手段と、この特殊境界検出回路手段
により検出される境界間の時間を計測して上記イメージ
センサ−手段の横方向の走査速度を検出する横方向走査
速度検出回路手段と、上記境界検出回路手段により検出
された境界のタイミングと上記横方向走査速度検出回路
手段により検出された走査速度とから上記網目パターン
における各網目の横方向のデータサンプリング位置を算
出する横方向サンプリング位置算出回路手段とが設けら
れる。 網状パターンの横方向のデータサンプリング位置を指示
するための第2マークの別の例として。 網状パターンの横方向の各列の間に、明と暗を交互に繰
り返す網目の列(特殊パターン)を網目の半分だけずら
して配置する。そして、データ読み取りの際、これらの
特殊パターンの明から暗の変化位置、暗から明への変化
位置を検出する。ある列の特殊パターンに対して検出し
た位置は隣りの列の網目パターンにおける横方向のデー
タサンプリング位置として使用する。この構成の場合、
特殊パターンの列置外の列について明暗の変化位置(境
界)を検出する回路手段は不要になる。 データのサンプリングは、記憶容量を節約するため、縦
方向サンプリング位置算出回路手段により算出された縦
方向のサンプリング位置におけるデータをイメージセン
サ−手段から送られてくる画像データのなかからサンプ
リングして、縦方向のサンプリングデータとして一時記
憶しく他のデータは捨てる)、この縦方向のサンプリン
グデータのなかから、上記横方向サンプリング位置算出
回路手段により算出された横方向のサンプリング位置に
おけるデータをサンプリングするのが好ましい。 [実施例] 、以下、この発明を電子楽器の演奏データの入力に適用
した場合の実施例について説明する。 第1図は全体の概念図であり、楽譜Sの余白に演奏デー
タ(楽譜データ)を符号化した画像EIが高密度に印刷
されており、この楽譜、データ画像EIをデータ読取り
装置DRで走査して符号化し、それを電子楽器MIに転
送して演奏を行わせるものである。 上記符号化画像EIの一例を第2図に示す0図示のよう
に符号化画像EIは全体が長方形を成す網状パターンM
Pをもち、各網目は明(ロ)あるいは暗(■)になって
いる、また、網状パターンMPの上辺と下辺に沿って、
上バーA−1と下バーA−2が印刷されている。後述す
るように、この1対のバーA−1,A−2は網状パター
ンMPの縦方向のサンプリング点を決定するのに利用さ
れる。上記網状パターンMPは、「左端」の縦2列が市
松パターンとなっており、また、「上端」の横2列(2
行)と「下端」の2行も市松パターンとなっている。こ
れらのパターンは端を示している。網状パターンMPの
行数はここでは12であり、したがって、左端の2列と
、上端と下端を除いた8行がデータ使用領域(データ読
取り装置DRにより復号化されるエリア)となっている
、データ使用領域において、1つの音符は縦2列で表現
され、左から奇数番目の列は音高データを表わし、上か
ら3つの網目の明暗のパターンがオクターブコード(O
C)を、次の4つの網目の明暗がスケールコード(S 
C)を表わし、8番目の網目・の明暗がパリティを表わ
す、データ使用領域の偶数番目の列は音長を表わし、上
から7つの網目の明暗パターンがタイムコードTCを表
わし、8つ目はパリティである。暗の網目を“l”、明
の網目を“0”としたときのコード体系を第3図に例示
する。 第4図にデータ読取り装置の全体構成を示す。 センサ一部lより読み込んだ画像データを制御回路部2
で1ビツト71ドツト(各網目の明暗を示す)のデータ
に変換し、メモリ3に書き込む、このデータをCPU4
で読み出し、各アプリケーションのデータ(この場合、
演奏データ)に変換し、外部(この場合は電子楽器)に
転送する。センサ一部1は例えば密着型のラインイメー
ジセンサ−であり、光源のLEDアレイl−3で光をあ
て像をロッドレンズアレイ1−2を通してセンサー素子
アレイ1−1で電気信号に変換する。センサ一部のライ
ンの幅は使用条件に依存するが、第5図に示すように、
符号化画像EIの網目パターンMPの左端から右端に向
ってセンサ一部lを走査する場合には、予想される最大
傾斜で走査したときでも、全ての符号化画像が取り込ま
れるような幅にすればよい、第5図中、点線で囲まれる
部分が1画像データとして取り込まれる。 第5図におけるメモリ3とCPU4は一般的なものであ
るので説明は省略する。 制御回路部2はデータ読取り装置の要部であリ、ここで
、符号化画像EIの網状パターンにおける各網目の明暗
が認識される。制御回路部2として、2つの構成例を示
し、それについて以下説明する。 制御回路部例(1) 第6図に第1の構成例に係る制御回路部2を示す、この
制御回路部2に上述したようなセンサー部lから画像デ
ータが入力される。ここでは、センサ一部lは第5図に
示したように符号化画像EIを左から右に向って走査す
ることを仮定している。説明用として第7図を示す、こ
の図では。 符号化画像EIが斜めに走査された場合を示しており、
網目の実寸を0.5m■X 0.5mmとすると、16
倍に拡大したものである。したがってlII■当り、1
6木の分解能をもつセンサ一部lを想定すると、第7図
では[■毎の明暗を読み取ることになる。ライン7−3
.7−4がセンサ一部1の1ライン分の画像入力データ
を表わしている。 第6図において、5DATAはセンサ一部1からのシリ
アルな画像入力データであり、この場合、約160ビツ
ト/ラインである。この入力データ5DATAはクロッ
クφ1 (第10図参照)動作のフリップフロップFF
Iを通った後、2、0ビットシフトレジスタ2−1の入
力となる。 20ビットシフトレジスタ2−1の出力とインバータI
NV1を経り入力データ5DATAはNAND構成のR
OMIに入力され、信号FT(第1θ図参照)が生成さ
れる。この信号PTは入力データ5DATAが暗の20
ビツト連続データから白の1ビツトデータに変化した時
にロウアクティブとなる二すなわち、これらの回路要素
により、−上下のバーのエツジ(第7図における7−1
と7−2の点)を検出している。なお、第6図において
、ラッチ、レジスタ類は特記しな゛いかぎり、クロック
φ1でリード動作、クロックΦ2(第10図参照)で出
力動作を行う、信号FTはクロックφlをインバータI
NV2で反転したφ1 とともに、ゲートGlを経て、
S−RフリップフロップとDフリップフロップを主要素
とする回路2−3に入力されて、上下のバーのエツジ7
−1からエツジ7−2までハイアクティブになる信号D
ON (第10図参照)を形成する。なお、回路2−3
は、センサ一部1から1ライン入力するごとに発生する
信号SH(第1O図参照)がインバータINV3を介し
て入力され、これによってリセットされる。 信号DONは信号SHでリセットされるカウンタ2−1
に入力され、DONが“H”の間、すなわち、上バーA
−1のエツジ7−1から下バーA−2のエツジ7−2の
間、クロックΦlをカウントアツプする。一方、回路2
−3の信号DONのFF2を経た信号と回路2−3のも
う1つの信号TPT (DフリップフロップのQ出力)
とはゲートG2を通して、後のエツジ7−2で“I H
Nに切り換わる信号となり、8ビツトのラッチ2−5に
ロード制御信号として入力される。この時点におけるカ
ウンタ2−4のカウント出力は前のエツジ7−1 (7
−7)から後のエツジ7−2 (7−8)までの距離を
表わしており、このデータがラッチ2−5に取り込まれ
る。 なお、ゲー)G2を経た信号はクロックφ1のインバー
タINV4を経た信号とともにゲートG3を通され、後
のエツジ7−2のタイミングでハイレベルのパルスを発
生する信号φL (有効ライン完了信号)となる(第1
O図参照)。 ラッチ2−5の出力側にある回路(2−6,2−7,2
−8,2−9、INV5.G4) はa(1)エツジ7
−1から後のエツジ7−2までの距離をほぼ16等分す
る回路であり、これにより、網目パターンMPの縦方向
のサンプリング位置のタイミング信号φS (第10図
参照)が得られる。サンプリング位置は第7図で7−6
(・・・・・・)で示しである。16の意味は、第7図
の画像データの場合、バーA−2の幅が網目3個分あり
、上下のバーA−1、A−2間に12行の網目があり。 バーA−1、A−2と網目パターンとの間隔がそれぞれ
網目半個分あることによる。したがって。 エツジ7−1の検出時点から、エツジ7−2の検出時点
までを16等分したタイミングを得れば、そのうち、始
めの12のタイミングが12行分の網目の縦方向のサン
プリング位置を表わすことになる。 この回路(2−6,2−7,2−8,2−9、INV5
.G4)について詳細に述べると、ラッチ2−5の上位
4ビツトが半加算器(HA)2−6の入力となり、その
出力は減算器2−7のロードデータとなる。この減算器
2−7はクロックφ1ごとに1ずつデータをデクリメン
トし、ポロー(Borraw)が出るたびに上記半加算
器2−6のデータをロードする。またポロー出力はクロ
ックφ1のインバータINV5を経た信号とともに’7
’−)G4を通され、縦方向のサンプリング信号φSと
なる。一方、8ビットラッチ2−5の下4ビットは4ビ
ツト全加算器(FA)の片側入力となり、その出力は信
号φSごとにラッチ2−9に取り込まれ、このラッチ2
−9の出力は全加算器2−8の他の入力となる。そして
全加算器2−8のキャリー出力は上記4ビット半加算器
2−6のLSB入力となる2例えば、第7図のライン7
−4に着目すると、エツジ7−7からエツジ7−8まで
に130ビツトのイメージデータがあり、この130の
値がカウンタ2−4でカウントされ、ラッチ2−5に“
10000010”のデータとしてラッチされる。この
上位4ビツト“1000′は8φ】ごとに1回φSを出
力する。しかし、下位4ビツト“001O″があるので
8φSごとに全加算器2−8よりキャリーが半加算器2
−6に入力されるため、φSを算出している減算器2−
7のロードデータが+1される。このため、そのサイク
ルではφSがφ1分遅れて出力される。 この縦方向サンプリング信号φSにより、4ビットシフ
トレジスタ2−1Oとその後段の12ビットシフトレジ
スタ2−11は動作して、FFlからの画像入力データ
を取り込む(サンプリングする)、後段の12ビットシ
フトレジスタ2−11の出力は後端のエツジ7−8のタ
イミング信号φ[により、12ビットラッチ2−12に
ラッチされる。このときラッチ2−12に入るデータは
、今回の1ラインの画像データ5DATAのうちで、各
網目に対する縦方向のサンプリング位置のデータである
。 ラッチ2−12の出力は12チヤンネルのサンプル回路
2−13に送られ、ここで、横方向のサンプリング位置
のデータ(各網目の明/暗(0/1)を示すデータ)が
選択され、メモリ3に書き込まれる。サンプル回路2−
13の詳細については後で述べる。 第8図はサンプリングしたデータを表わしている。すな
わち、上側のデータは、ラッチ2−12の内容をライン
(φL)ごとに見たものであり。 例えば1行目は第7図のライン6−3を走査したときの
・・・・・・のサンプリング位置のデータであり、同様
に7行目はライン7−4を最下行はライン7−5を走査
したときの縦方向のサンプリングデータを示している。 第8図はメモリ3に実際に書き込まれるデータを示し、
この間の変換をサンプル回路2−13(第9図)が行う
。 第9図においてカウンタ9−1は第8図における上側の
データの縦の列に関して、ビット“O”または“l”が
続く数(ラインφLの数)をカウントするためのもので
、縦列が“θ″から“l−または“1”からO”に切り
換わったときにE、X−0R9−2によりリセットされ
る。すなわち、EX−OR9−2は対応する1ビットラ
ッチ2−12からの今回のラインの縦方向サンプリング
データと、lライン遅れを与えるFF3からの前ライン
の縦方向サンプリングデータとの不一致を検出したとき
にカウンタ9−1をリセットする。カウンタ9−1の出
力はROM2に入力され、ROM2はカウンタ9−1出
力が4または12のとき、すなわち、ラッチ2−12か
らの出力が“θ″または“1”に変化してから4ライン
または12ライン(4,12はモジュロ16の意味であ
る)の時間後に横方向サンプリング信号φhsを発生す
る。ラッチ2−12の出力が“0”から“1″または“
1″から“θ″に変化することは、網状パターンMPに
おいて、左右の隣り合う暗の網目から明の網目への切り
換わり(境界)、またはその逆の境界を見ていることに
相当する。 第9図において、回路9−3は奇数チャンネル(第8図
の左から奇数番目の列)のサンプル回路2−13に設け
られ、偶数チャンネルでは回路9−3の代りに回路9−
4が使用される。この回路9−3.9−4はデータの開
始を検出するためのものである。すなわち第2図に示す
ように、「左端」の網状パターンは、奇数行(例えば−
層上の行)の網目が暗(“1”)から明(“O”)の配
列になっているのに対し、偶数行の網目は走査方向(第
5図)に沿って明(“0”)から暗“1”に変化する配
列となっている。そこで、奇数チャンネルの回路9−3
ではこの左端(始端)の暗゛1”から明“°0″への変
化を現ラインのラッチ2−12のデータと前ラインのラ
ッチ2−12のデータとから検出し、偶数チャンネルの
回路9−4では左端の明から暗への変化を検出している
。 回路9−3.9−4の出力は、データ読取り装置が画像
を走査開始するときに発生する信号でリセットされるF
F4をセットして、データ走査中を表わす信号ENを出
力させる。 データ開始後は、信号φ口、はゲー)G5を通り、クロ
ックφw(信号DONの立下りに発生する。クロック)
のタイミングでゲートG5からメモリ3への書込信号φ
lを発生させ、そのときのFF3の内容(DATA)が
メモリ3に書き込まれる。ざらにゲー)G5を通った信
号φnsはメモリ3のアドレスカウンタ9−5をインク
リメントして、メモリ3の次のアドレス(ADDRES
S)を指定させる。 第10図に主な信号のタイムチャートを示す。 図中、ROMはデータ読取り装置が画像を走査している
ことを表わす信号で、5RONはその開始時に1発パル
スを発生する。φ−は信号DONの立上り(上バーA−
1のエツジ7−1通過)時に発生するクロックである。 その他については第6図、第7図に関して説明したので
省略する。 このように、第1構成例の制御回路部2(第6図、第9
図)は、第2図に示すような符号化画像を左から右に向
って移動しなから1ラインずつ画像を読み取るセンサ一
部1からの画像データ5DATAを受け、1ライン分の
画像データに含まれる上バーA−1と下バーA−2のエ
ツジ7−1.7−2を検出して、その間の間隔を算出し
、その間隔をほぼ等しく分割して網目パターンMPの縦
方向のサンプリング位置を検出する(2−1、ROM1
.2−3〜2−9等により)、そして検出された縦方向
のサンプリング位置信号φSにより、次ラインの画像デ
ータのなかから縦方向のサンプリングデータを抽出する
(2−1o、2−11.2−12により)、さらに縦方
向の各サンプリング位置に関する画像データの時系列の
なかから、明と暗の網目の境界を検出しくFF3.9−
2により)、その検出時から所定の時間間隔を計測しく
9−1.ROM2により)、その時間間隔の到来タイミ
ングを横方向のサンプリング位置のタイミングとして、
対応する縦方向のサンプリングデータを抽出してメモリ
3に書き込んでいる(G5、G6.9−5、FF3等に
より)。 したがって、第1構成例の制御回路部2は網目パターン
MPにおける各網目の明暗を高速に認識することができ
る。また、第7図に示すようにセンサ一部1が符号化画
像EIを斜めに移動して走査した場合にも、縦方向のサ
ンプリング位置は確保されるのでデータ認識に問題は発
生しない。 しかし、横方向のサンプリング位置は左右に隣り合う明
暗の網目の境界力、1ら所定の時間間隔の到来タイミン
グとしているので、センサ一部1が手動で移動されるラ
イン型イメージセンサ−の場合には、網目パターンML
の横方向の走査速度が変動するため、横方向のデータサ
ンプリング位置が、毛の分シフトし、誤ったデータ認識
をする可能性がある。 以下、この問題にも対応できる制御回路部(第2構成例
)について説明する。 制、′02 第2構成例の制御回路部には網目パターンMPに含まれ
る特殊パターンから、センサ一部lの横方向の走査速度
を検出する回路が含まれている。 この特殊パターンとは、第11図に示す網目パターンM
Pのうち、「上端」と「下端」に示すパターンである。 すなわち、横方向に沿って交互に明と暗を繰り返す網目
パターンが利用される。なお第11図ではデータエリア
には明暗を示していないが、少なくとも、網目の横2個
ごとに、明から暗に変化するものとして説明する。これ
は1例えば2つのデータ網目で1ビツトを表わすことと
し、ビット1は
[Technical Field of the Invention] The present invention relates to a data reading device (image input device a) that captures an encoded image and reads data encoded in the image. [Background] Barcode technology is known as a technology for capturing encoded images from a recording medium (recording sheet) and reproducing binary data. However, in the case of barcodes, it is difficult to increase the recording density due to their structure, so they are not suitable for inputting large amounts of data. JP-A-53-73026 describes 1Xj (for example, 3×3
) in a matrix in which one of the squares is darkened and the other squares are brightened, the technology is first read in to recognize the pattern of brightness and darkness of the eyes. It is thought that the capacity of the coded image of this matrix can be increased by increasing the number of eyes included in the matrix. However, in the above-mentioned publication, since software is first used to recognize the brightness and darkness patterns of the eyes, pattern recognition requires a considerable amount of time and is expensive. An example using a similar matrix image is magazine I1.
0. May 1988 issue, pages 121-125 [Dump list to be read with image scanner]. [Object of the Invention] Therefore, the main object of the present invention is to provide a data reading device that can easily and quickly read and recognize encoded image data with a relatively high recording density. Another object of the present invention is to address the problems that occur when encoded image data is input sequentially (one line at a time) using a hand-held image scanner, such as erroneous recognition of data due to changes in scanning speed, direction, etc. An object of the present invention is to provide a data reading device that solves the problem. [Structure, operation, and development of the invention] A data reading device according to the present invention is an image including a mesh pattern in which data is encoded by brightness and darkness selectively formed in each mesh, and in which the mesh pattern is Encoding a recording sheet on which an image is formed that includes a first mark for indicating a data sampling position in the vertical direction of the mesh pattern and a second mark for indicating a data sampling position in the horizontal direction of the mesh pattern. Used as an image recording medium. The single data reading device includes an image sensor means for reading the image on the recording sheet, and also serves as a hardware means for recognizing the brightness and darkness of each mesh. vertical sampling position calculation circuit means for detecting one mark and calculating the data sampling position in the vertical direction; and detecting the second mark from the data of the read image and calculating the data sampling position in the horizontal direction. and data sampling circuit means for sampling data of the image at sampling coordinates defined by the calculated data sampling positions in the vertical and horizontal directions. The above image can be made to have a sufficiently high recording density by minimizing the mesh size. Further, since image recognition a (recognition of the brightness and darkness of each mesh) is performed by hardware that detects a sampling point and samples data at that point, it can be performed in a short time. The first mark may take various forms, e.g.
The mark is composed of a pair of bars extending along the upper and lower sides of the mesh pattern. In this case, the vertical data sampling position calculating means includes an interval measuring circuit means for measuring the interval between the pair of bars included in the read image data, and a position where the measured interval between the bars is divided approximately equally. and a dividing circuit means for calculating the data sampling position in the vertical direction. According to this configuration, even when the image sensor means captures an image on the recording sheet obliquely, the correct vertical data sampling position can be maintained. This is because the read image is only tilted, and the relative positional relationship between the pair of bars and the mesh pattern is preserved. The distance between a pair of bars changes depending on the value measured in a direction perpendicular to the bars and the value measured in a direction not perpendicular to the bars, but the rate of change is determined by measuring the distance between the top and bottom sides of the mesh. Therefore, the interval between the dividing points of the one-dividing circuit means can always correspond to the interval between the vertically adjacent meshes. As another example of the first mark, a row of special patterns may be incorporated into the mesh pattern. Place it by shifting it. Then, during the data reading operation, each edge of this special pattern, that is, the position where the pattern changes from bright to dark or from dark to bright, is detected. This detection position represents a data sampling position in the vertical direction. The image sensor means may be of a line type, for example, while scanning (moving) the recording sheet from one side of the net-like pattern to the other side, image data of one line at a time ( (almost vertical line image data). When such a line-type image sensor means is used, the image data at the data sampling position in the horizontal direction is line image data given from the image sensor means at a certain point in time, and knowing the timing of arrival of this data is essential for the horizontal direction. This is equivalent to knowing the data sampling position. Therefore, in one configuration example, the border (vertical border) of the bright and dark meshes adjacent to the left and right included in the mesh pattern is used as the second mark, and the horizontal direction The sampling position calculation circuit means includes mesh boundary detection circuit means for detecting the boundary, and circuit means for detecting a timing at a predetermined time interval after the boundary is detected by this means as the timing of the data sampling position in the horizontal direction. configured. The above time interval is determined by the line type sensor means scanning laterally (
It is constant if the speed at which it is moved (manually or mechanically) is constant. However, even when the scanning speed varies, when a constant time interval is used, the sampling position in the horizontal direction may shift from the center of the mesh, and there is a possibility that incorrect data will be sampled. Therefore, in the configuration example, a lateral speed detection circuit means for detecting the scanning speed of the image sensor means for horizontally scanning the mesh pattern is used, and the lateral data sampling position calculation means is used to detect the detected scanning speed and the horizontal direction. The data sampling position in the horizontal direction is calculated from the boundary position of meshes adjacent to . A rotary encoder can be used as the lateral speed detection circuit means. In another configuration example for compensating for fluctuations in the moving speed of the line image sensor means, the mesh pattern includes a special pattern, that is, a special pattern in which at least one horizontal row of mesh alternately repeats brightness and darkness. In order to know the data sampling position in the horizontal direction of each mesh, a boundary detection circuit means for detecting the boundary between adjacent bright and dark meshes in each row in the horizontal direction in the mesh pattern; special boundary detection circuit means for detecting the boundary between the bright and dark mesh; and a lateral circuit for detecting the horizontal scanning speed of the image sensor means by measuring the time between the boundaries detected by the special boundary detection circuit means. directional scanning speed detection circuit means, determining the horizontal data sampling position of each mesh in the mesh pattern from the boundary timing detected by the boundary detection circuit means and the scanning speed detected by the lateral scanning speed detection circuit means. lateral sampling position calculation circuit means for calculating the horizontal sampling position. As another example of a second mark for indicating the data sampling position in the lateral direction of the reticulated pattern. Between each row of the mesh pattern in the horizontal direction, rows of meshes (special pattern) that alternately repeat bright and dark patterns are arranged so as to be shifted by half of the mesh. Then, when reading data, the positions where these special patterns change from bright to dark and from dark to bright are detected. The detected position for the special pattern in a certain column is used as the data sampling position in the horizontal direction for the mesh pattern in the adjacent column. For this configuration,
There is no need for circuit means for detecting the change position (boundary) of brightness and darkness in columns other than the columns of the special pattern. In order to save storage capacity, data sampling is performed by sampling data at the vertical sampling position calculated by the vertical sampling position calculation circuit means from the image data sent from the image sensor means. It is preferable to sample data at the horizontal sampling position calculated by the horizontal sampling position calculation circuit means from among this vertical sampling data (temporarily stored as sampling data in the horizontal direction and discarding other data). . [Embodiment] Hereinafter, an embodiment in which the present invention is applied to inputting performance data of an electronic musical instrument will be described. Fig. 1 is a conceptual diagram of the whole, in which an image EI in which performance data (score data) is encoded is printed with high density in the margin of a musical score S, and this musical score and data image EI are scanned by a data reading device DR. The data is then encoded and transferred to the electronic musical instrument MI for performance. An example of the encoded image EI is shown in FIG. 2. As shown in FIG.
P, and each mesh is bright (b) or dark (■), and along the upper and lower sides of the mesh pattern MP,
An upper bar A-1 and a lower bar A-2 are printed. As will be described later, this pair of bars A-1 and A-2 is used to determine sampling points in the vertical direction of the mesh pattern MP. In the mesh pattern MP, the two vertical rows at the "left end" are a checkerboard pattern, and the two horizontal rows at the "top end" (2
The two lines, ``line'' and ``bottom'', also have a checkered pattern. These patterns indicate edges. The number of rows of the mesh pattern MP is 12 here, so the leftmost two columns and 8 rows excluding the top and bottom are the data use area (area decoded by the data reading device DR). In the data usage area, one note is expressed in two vertical columns, the odd-numbered column from the left represents pitch data, and the light and dark pattern of the three meshes from the top is the octave code (O
C), the brightness of the following four meshes is the scale code (S
C), the brightness of the eighth mesh represents parity, the even-numbered columns of the data use area represent the note length, the brightness and darkness of the seven meshes from the top represent the time code TC, and the eighth It is parity. FIG. 3 shows an example of the code system when the dark mesh is "l" and the light mesh is "0". FIG. 4 shows the overall configuration of the data reading device. The image data read from the sensor part l is sent to the control circuit part 2.
This data is converted into 1-bit 71-dot data (indicating the brightness and darkness of each mesh) and written into the memory 3. This data is sent to the CPU 4.
and read the data of each application (in this case,
performance data) and transfer it to an external device (in this case, an electronic musical instrument). The sensor part 1 is, for example, a contact type line image sensor, and an LED array l-3 as a light source emits light, and the image is converted into an electrical signal by the sensor element array 1-1 through a rod lens array 1-2. The width of some lines of the sensor depends on the usage conditions, but as shown in Figure 5,
When scanning the sensor part l from the left end to the right end of the mesh pattern MP of the encoded image EI, the width must be such that all the encoded images are captured even when scanning is performed at the expected maximum slope. The part surrounded by the dotted line in FIG. 5 is taken in as one image data. Since the memory 3 and CPU 4 in FIG. 5 are common ones, their explanation will be omitted. The control circuit unit 2 is a main part of the data reading device, and here, the brightness and darkness of each mesh in the mesh pattern of the encoded image EI is recognized. Two configuration examples will be shown as the control circuit unit 2, and will be explained below. Example of Control Circuit Unit (1) FIG. 6 shows a control circuit unit 2 according to a first configuration example. Image data is inputted to this control circuit unit 2 from the sensor unit l as described above. Here, it is assumed that the sensor part l scans the encoded image EI from left to right as shown in FIG. FIG. 7 is shown for illustrative purposes, in this figure. This shows a case where the encoded image EI is scanned diagonally,
If the actual size of the mesh is 0.5m x 0.5mm, then 16
It has been enlarged twice. Therefore, per lII■, 1
Assuming that the sensor part l has a resolution of 6 trees, in FIG. 7, the brightness and darkness will be read every [■]. line 7-3
.. 7-4 represents one line of image input data of the sensor part 1. In FIG. 6, 5DATA is serial image input data from sensor part 1, in this case approximately 160 bits/line. This input data 5DATA is a flip-flop FF operated by clock φ1 (see Figure 10).
After passing through I, it becomes an input to the 2,0 bit shift register 2-1. Output of 20-bit shift register 2-1 and inverter I
Input data 5DATA via NV1 is R of NAND configuration.
The signal is input to OMI, and a signal FT (see FIG. 1θ) is generated. This signal PT indicates that the input data 5DATA is 20
These circuit elements become row active when continuous bit data changes to white 1-bit data.
and point 7-2) are detected. In FIG. 6, unless otherwise specified, latches and registers perform read operations using clock φ1 and output operations using clock φ2 (see FIG. 10).
Along with φ1 inverted at NV2, it passes through the gate Gl,
It is input to the circuit 2-3 whose main elements are an S-R flip-flop and a D flip-flop, and the edge 7 of the upper and lower bars
Signal D becomes high active from -1 to edge 7-2
ON (see Figure 10). In addition, circuit 2-3
is reset by inputting a signal SH (see FIG. 1O) generated every time one line is inputted from the sensor part 1 via an inverter INV3. The signal DON is a counter 2-1 that is reset by the signal SH.
is input, and while DON is “H”, that is, the upper bar A
The clock Φl is counted up from the edge 7-1 of -1 to the edge 7-2 of the lower bar A-2. On the other hand, circuit 2
-3 signal DON passed through FF2 and another signal TPT of circuit 2-3 (Q output of D flip-flop)
through gate G2, and at the later edge 7-2.
This signal is switched to N and is input to the 8-bit latch 2-5 as a load control signal. The count output of the counter 2-4 at this point is the previous edge 7-1 (7
-7) to the subsequent edge 7-2 (7-8), and this data is taken into latch 2-5. Note that the signal that has passed through gate G2 is passed through gate G3 together with the signal that has passed through inverter INV4 of clock φ1, and becomes a signal φL (valid line completion signal) that generates a high-level pulse at the later timing of edge 7-2. (1st
(See figure O). The circuit on the output side of latch 2-5 (2-6, 2-7, 2
-8, 2-9, INV5. G4) is a(1) edge 7
This circuit divides the distance from -1 to the subsequent edge 7-2 into approximately 16 equal parts, thereby obtaining the timing signal φS (see FIG. 10) at the sampling position in the vertical direction of the mesh pattern MP. The sampling position is 7-6 in Figure 7.
It is indicated by (...). 16 means that in the case of the image data in FIG. 7, the width of bar A-2 is three meshes, and there are 12 lines of meshes between the upper and lower bars A-1 and A-2. This is because the distance between the bars A-1 and A-2 and the mesh pattern is half a mesh. therefore. If the timing from the detection time of edge 7-1 to the detection time of edge 7-2 is obtained by dividing it into 16 equal parts, the first 12 timings will represent the vertical sampling position of the mesh for 12 lines. become. This circuit (2-6, 2-7, 2-8, 2-9, INV5
.. G4) will be described in detail. The upper 4 bits of the latch 2-5 become the input to the half adder (HA) 2-6, and the output becomes the load data for the subtracter 2-7. This subtracter 2-7 decrements the data by 1 every clock φ1, and loads the data of the half adder 2-6 every time a poll occurs. Also, the pollo output is '7' along with the signal passed through the inverter INV5 of the clock φ1.
'-) G4 and becomes a vertical sampling signal φS. On the other hand, the lower 4 bits of the 8-bit latch 2-5 become one side input of a 4-bit full adder (FA), and its output is taken into the latch 2-9 for each signal φS.
The output of -9 becomes the other input of full adder 2-8. The carry output of the full adder 2-8 becomes the LSB input of the 4-bit half adder 2-6. For example, line 7 in FIG.
-4, there is 130 bits of image data from edge 7-7 to edge 7-8, this value of 130 is counted by counter 2-4, and “
The data is latched as "10000010". .phi.S is output once for every upper 4 bits "1000' = 8.phi.". However, since there are the lower 4 bits "001O", the carry is transferred from the full adder 2-8 to the half adder 2 every 8φS.
-6, so the subtractor 2- which calculates φS
The load data of 7 is incremented by +1. Therefore, in that cycle, φS is output with a delay of φ1 minute. This vertical sampling signal φS operates the 4-bit shift register 2-1O and the 12-bit shift register 2-11 at the subsequent stage to take in (sample) the image input data from FFl. The output of 2-11 is latched into the 12-bit latch 2-12 by the timing signal φ[ of the trailing edge 7-8. The data that enters the latch 2-12 at this time is the data at the sampling position in the vertical direction for each mesh out of the current one line of image data 5DATA. The output of the latch 2-12 is sent to the 12-channel sampling circuit 2-13, where the data at the horizontal sampling position (data indicating the brightness/darkness (0/1) of each mesh) is selected and stored in the memory. Written in 3. Sample circuit 2-
The details of 13 will be described later. FIG. 8 represents the sampled data. That is, the upper data is the contents of the latch 2-12 for each line (φL). For example, the first line is the data of the sampling position when scanning the line 6-3 in Figure 7, and similarly, the seventh line is the data of the line 7-4, and the bottom line is the data of the line 7-5. It shows vertical sampling data when scanning. FIG. 8 shows the data actually written to the memory 3,
The sample circuit 2-13 (FIG. 9) performs the conversion during this time. In FIG. 9, the counter 9-1 is for counting the number of successive bits "O" or "l" (the number of lines φL) with respect to the vertical column of data on the upper side in FIG. It is reset by E, X-0R9-2 when switching from θ" to "l-" or from "1" to O". In other words, when EX-OR9-2 detects a mismatch between the vertical sampling data of the current line from the corresponding 1-bit latch 2-12 and the vertical sampling data of the previous line from FF3, which provides l-line delay. The counter 9-1 is reset. The output of the counter 9-1 is input to the ROM 2, and the ROM 2 is stored for 4 lines when the output of the counter 9-1 is 4 or 12, that is, after the output from the latch 2-12 changes to "θ" or "1". Alternatively, the horizontal sampling signal φhs is generated after a time of 12 lines (4, 12 means modulo 16). The output of latch 2-12 changes from “0” to “1” or “
Changing from 1" to "θ" corresponds to looking at the switching (boundary) from the left and right adjacent dark meshes to the bright meshes, or vice versa, in the mesh pattern MP. In FIG. 9, the circuit 9-3 is provided in the sample circuit 2-13 of the odd channel (odd column from the left in FIG. 8), and the circuit 9-3 is provided in the sampling circuit 2-13 in the even channel.
4 is used. This circuit 9-3.9-4 is for detecting the start of data. That is, as shown in FIG.
The meshes in the rows on the layer are arranged from dark (“1”) to light (“O”), while the meshes in even rows are arranged from bright (“0”) along the scanning direction (Figure 5). ”) to dark “1”. Therefore, odd channel circuit 9-3
Now, detect this change from dark ``1'' to bright ``°0'' at the left end (starting end) from the data of latch 2-12 of the current line and the data of latch 2-12 of the previous line, and then detect the change in the even channel circuit 9. -4 detects the change from bright to dark at the left edge.The output of circuit 9-3.9-4 is reset by the signal generated when the data reading device starts scanning the image.
F4 is set to output a signal EN indicating that data is being scanned. After the data starts, the signal φ (gate) passes through G5, and the clock φw (occurs at the falling edge of the signal DON).
A write signal φ is sent from gate G5 to memory 3 at the timing of
1 is generated, and the contents (DATA) of FF3 at that time are written to memory 3. The signal φns passing through G5 increments the address counter 9-5 of the memory 3 and reads the next address (ADDRES) of the memory 3.
S). FIG. 10 shows a time chart of the main signals. In the figure, ROM is a signal indicating that the data reading device is scanning an image, and 5RON generates one pulse at the start of scanning. φ- is the rising edge of the signal DON (upper bar A-
This is a clock generated when the edge 7-1 of the edge 7-1 passes. The other details have been explained with reference to FIGS. 6 and 7, and will therefore be omitted. In this way, the control circuit section 2 of the first configuration example (FIGS. 6 and 9)
(Fig. 2) receives 5 DATA of image data from the sensor part 1 that moves the encoded image from left to right and reads the image line by line as shown in Fig. 2, and converts it into image data for one line. Edges 7-1 and 7-2 of the included upper bar A-1 and lower bar A-2 are detected, the interval between them is calculated, and the interval is divided almost equally to perform vertical sampling of the mesh pattern MP. Detect the position (2-1, ROM1
.. 2-3 to 2-9, etc.), and the vertical sampling data is extracted from the image data of the next line using the detected vertical sampling position signal φS (2-1o, 2-11.2). FF3.9-
9-1), and measure a predetermined time interval from the time of detection. ROM2), the arrival timing of that time interval is taken as the timing of the sampling position in the horizontal direction,
Corresponding vertical sampling data is extracted and written into the memory 3 (by G5, G6.9-5, FF3, etc.). Therefore, the control circuit section 2 of the first configuration example can quickly recognize the brightness and darkness of each mesh in the mesh pattern MP. Further, even when the sensor part 1 moves diagonally to scan the encoded image EI as shown in FIG. 7, no problem occurs in data recognition because the sampling position in the vertical direction is secured. However, since the sampling position in the horizontal direction is set at the arrival timing of a predetermined time interval between the boundary forces of the bright and dark meshes adjacent to each other on the left and right, in the case of a line-type image sensor in which the sensor part 1 is manually moved. is the mesh pattern ML
Since the scanning speed in the horizontal direction varies, the data sampling position in the horizontal direction may shift by the amount of hair, leading to incorrect data recognition. A control circuit section (second configuration example) that can also deal with this problem will be described below. The control circuit section of the second configuration example includes a circuit that detects the horizontal scanning speed of the sensor part l from the special pattern included in the mesh pattern MP. This special pattern is the mesh pattern M shown in FIG.
These are the patterns shown at the "upper end" and "lower end" of P. That is, a mesh pattern that alternately repeats brightness and darkness along the lateral direction is used. Although brightness and darkness are not shown in the data area in FIG. 11, the description will be made assuming that the data area changes from bright to dark at least every two horizontal meshes. For example, 1 bit is represented by two data meshes, and bit 1 is

【または】とし、ビット0は■または二
とし、1ビツトの網目対の左隣。 右隣にある網目との間に明暗の境界が形成されるように
符号化画像EIを記録すればよい6例えば、【(ビット
1)の左隣にビット1を記録するときにはパターン【を
選択し、ビット0を記録するときには閣を選択する。 その他の動作条件(走査方向等)に関しては第1構成例
の場合と同様とする。 第2構成例の制御回路部2Mを第12図に示す・縦方向
のサンプリング位置を検出する構成と縦方向のサンプリ
ング位置にある画像データをサンプリングする構成は第
1構成例の制御回路!2と同様である。異なる点は、2
チヤンネルの走査速度検出回路2−14が設けられてお
り、サンプル回路2−13Mが変更されている点であ゛
る。2チヤンネルの走査速度検出回路2−14は同一構
成であり、それぞれ、12ビットラッチ2−12の第1
ビツトと第11ビツトからの入力を受け、第11図の網
目パターンMPにおける第1行目と第11行目のパター
ンからセンサ一部1の横方向の走査速度を検出する。 走査速度検出回路2−14の構成を第13図に示す。 第1ビツトまたは第11ビツトのラッチ2−12からの
現ラインの縦方向サンプリング画像データとFF5を経
た前ラインの縦方向サンプリング画像データとの不一致
、すなわち、第11図の特殊パターンである第1行目ま
たは第11行目の左右に隣り合う明暗の網目の境界がE
X−OR14−1で検出され、その信号がフリップフロ
ップ14−3を経てカウンタ14−4をリセットすると
ともに、ゲート14−2を経て、クロックφ1のタイミ
ングで信号φN (ラッチ用のクロック)を生成する。 カウンタ14−4は上記境界から明(ビット0)または
暗(ビット1)が続くライン数をライン信号φEによっ
て計数する。ここに。 特殊パターン(第11図の第1行目、第11行目)にお
ける明暗の境界は網目の1つごとに発生する。したがっ
て、カウンタ14−4のカウント値はある境界の検出時
点から次の境界が検出されるまで時間を表わすことにな
る。これはセンサー部1の横方向の走査速度を検出して
いることにほかならない、カウンタ14−4のカウント
値は全加算器(FA)14−5の一方に入力されて前の
値と加算され、その加算結果を掻除算器14−6で平均
化した値が境界のタイミングφ開でラッチ14−7にラ
ッチされる。ラッチ14−7の出力nは前の値として上
記全加算器(FA)14−5の他方の入力に送られると
ともに1掻除算器14−8、φN動作のラッチ14−8
を経て、34n信号が生成される。さらに、ラッチ14
−7の出力nと%除算器14−8の出力は全加算!!(
FA)14−0で加算され、φ圓動作のラッチ14−1
1を経て3/2n信号が生成される。ここに、%n信号
はセンサ一部1の現在の横方向の走査速度で網目の半分
移動するのに要する時間を表わしており、3/2n信号
は現在の横方向の走査速度で網目の1個プラス局移動す
るのに要する時間を表わしている。 この2つの信号%nと”/2nはサンプル回路2−13
Mにおいて、横方向のサンプリング位置信号を検出する
のに利用される。第14図にサンプル回路2−13Mの
構成を示す、第1#I成例のサンプル回路2−13(第
9図)と異なる点はROM2(カウンタ9−1の出力と
固定値との一致を検出する回路)の代りに、走査速度に
追従して変化する上記%n信号と3/2n@号をカウン
タ9−1の出力と比較して一致を検出する一致回路9M
が使用されている点である。すなわち、一致回路9Mは
、EX−OR9−2により、網目パターンMPにおける
データ行の明暗の境界が検出されてから、カウンタ9−
1がy2n時間または3/2n時間の経過を計時したタ
イミングを検出して横方向のサンプリング位置信号φn
sを発生する。上述したように%n時間は網目の半分の
移動に相当し。 3/2fi時間は網目1個プラス半分の移動に相当する
。一方、データ行(第11図の第3行〜第1θ行の各行
)は少なくとも網目2個の周期で明から暗または暗から
明に変化する。したがって、一致回路9Mの一致信号φ
nsはデータ行の各網目のほぼ中央の位置を走査速度の
変動にかかわらず、指定することになる。なお、走査速
度検出回路2−14は2個あるが、上端(第11図)の
特殊パターンに対する走査速度検出回路2−14の出力
(繕n、3/2n)は上半分のデータ行に対するサンプ
ル回路2−13Mに入力され、下端の特殊ノくターンに
対する走査速度検出回路2−14の出力は下半分のデー
タ行に対するサンプル回路2−13Mに入力される。こ
の代りに、先に特殊、<ターンを走査した方の走査速度
検出回路2−14の出力をすべてのサンプル回路2−1
3Mに入力し、後から特殊パターンを走査する方の走査
速度検出回路2−14の出力を使用禁止にしてもよい、
その他の点については第14図のサンプル回路2−13
Mは第9図のサンプル回路2−13と同様であるので説
明は省略する。 このように、第2構成例の制御回路部2Mでは、センサ
一部lの横方向の走査速度を網目パターンMLに含まれ
る特殊パターンから検出し、この検出した走査速度と網
目パターンMLのデータ行に関して検出した明暗の網目
の境界とから横方向のデータサンプリング位置を検出し
ているので、センサ一部1の走査速度の変動にかかわら
ず、横方向のデータサンプリング位置を正しい位置に確
保することができ、可変移動速度で走査するライン型イ
メージセンサ−からの符号化画像に対しても確実にデー
タを認識することができる。 [変形例] 以上で実施例の説明を終えるがこれらの実施例は例示に
すぎず、種々の変形、変更が宣易に行える。 例えば、第14図の一2致回路9Mに入力する走査速度
依存信号%n、3/2nはセンサ一部1に設けたロータ
リエンコーダの出力(走査速度信号)から生成してもよ
い。 また、第2構成例の制御回路部2Mに関して、網目パタ
ーンMPのデータ行が少なくとも2個の網目を周期とし
て明から暗または暗から明に変化することを仮定したが
、制御回路部2Mに若干の変更を加えることで、この仮
定は除くことができる0例えば、第14図において、カ
ウンタ9−1の出力が網目1個の移動を表わす信号n(
第13図参照)に一致したときにカウンタ9−1をリセ
ットする回路を加え、一致回路9Mにおし)てカウンタ
9−1の出力と54n信号との一致を検出するようにす
ればよい。 また、第11図におりて、特殊パターンは上端に2行、
下端に2行形成されているが、これに代え、1行の特殊
パターン(明暗を交互に繰り返す網目)を網状パターン
の中央の行として、他の行より左右に長く延長させて形
成してもよい、この場合、走査速度検出回路2−14は
1チヤンネルでよい。 また1図示の網状パターンは全体が長方形を成している
が、平行四辺形の形状であってもよい。 また、制御回路部2に入力される画像データは符号化画
像EIのイメージメモリから転送されるデータであって
もよい。 その他、種々の変形、変更が可能である。 [発明の効果J 請求項1によるデータ読取り装置は、記録媒体として各
網目に選択的に形成された明暗によってデータを符号化
した網状パターンを含む画像の記録シートを用いており
、さらに、イメージセンサ−手段で読み取った上記画像
から上記各網目の明暗を認識するために、窮状、パター
ンの縦と横のデータサンプリング位置を検出してその位
置の画像データをサンプリングするハードウェア(縦方
向データサンプリング位置算出回路手段、横方向データ
サンプリング位置算出回路手段、データサンプリング回
路手段)を用いているので、高密度の符号化画像を高速
にデータ認識できる。 請求項2によるデータ読取り装置では画像の方に、網状
パターンの縦方向のサンプリング位置を指示するための
マークとして、網状パターンの上辺と下辺に沿って1対
のバーが形成され、縦方向データサンプリング位置算出
回路がこの1対の八−の間隔を測定し、その間隔をほぼ
等分に分割して縦方向のサンプリング位こを検出してい
る。 したがって、イメージセンサ−手段が記録シートの符号
化画像を傾けて読み取った場合にも縦方向のデータサン
プリング位置を正しい位置に確保することができる。ま
た、請求項2のデータ読取り装置では、イメージセンサ
−手段として上記網状パターンの一側部から他側部に向
って移動しながら!ラインずつ画像を読み取るライン型
センサーを使用しており、これに関連して、横方向デー
タサンプリング位置算出手段は上記網目パターンに含ま
れる左右に隣り合う明と暗の網目の境界を検出し、この
検出から所定間隔のタイミングを横方向データサンプリ
ング位置のタイミングとして検出している。したがって
構成が簡単であり、しかも、イメージセンサ−手段の移
動(走査)速度が一定である限り、正しい横方向のサン
プリング位置を得ることができる。ただし、移動速度が
可変のイメージセンサ−手段には不向きである。 一方、請求項3ではイメージセンサ−手段の横方向の走
査速度を検出する走査速度検出回路手段を用いているの
で、走査速度にむらがあるイメージセンサ−手段からの
画像に対しても常に正しい横方向のデータサンプリング
位置を検出することができ確実なデータ認識が行える。 請求項4は走査速度検出回路の好ましい構成を挙げてお
り、それによれば、上記網状パターンのなかに、特殊パ
ターンとして横方向に沿って交互に明と暗を繰り返す網
目の行が形成され、この特殊パターンにおける明暗の境
界を検出し、境界から境界までの時間を計時することに
より、イメージセンサ−手段の走査速度を検出している
。したがって1画像とは独立してイメージセンサ−手段
の走査速度を検出する装置(例えばロータリーエンコー
ダ)を用いるのに比べ、廉価で構成が簡単でしかも精度
が高いという利点がある。
[or], bit 0 is ■ or 2, and is the left neighbor of the 1-bit mesh pair. The encoded image EI should be recorded so that a bright and dark boundary is formed between it and the mesh on the right.6For example, when recording bit 1 on the left of [(bit 1), select pattern []. , select cabinet when recording bit 0. Other operating conditions (scanning direction, etc.) are the same as in the first configuration example. The control circuit section 2M of the second configuration example is shown in FIG. 12.The configuration for detecting the vertical sampling position and the configuration for sampling image data at the vertical sampling position are the control circuit of the first configuration example! It is the same as 2. The difference is 2
The difference is that a channel scanning speed detection circuit 2-14 is provided, and the sample circuit 2-13M is changed. The two-channel scanning speed detection circuits 2-14 have the same configuration, and the first one of the 12-bit latches 2-12
In response to the input from the bit and the 11th bit, the horizontal scanning speed of the sensor part 1 is detected from the patterns in the 1st and 11th rows in the mesh pattern MP shown in FIG. FIG. 13 shows the configuration of the scanning speed detection circuit 2-14. The mismatch between the vertically sampled image data of the current line from the latch 2-12 of the 1st or 11th bit and the vertically sampled image data of the previous line that has passed through FF5, that is, the 1st bit which is the special pattern in FIG. The boundary between the adjacent bright and dark meshes on the left and right of the row or the 11th row is E.
It is detected by the X-OR14-1, and the signal passes through the flip-flop 14-3 to reset the counter 14-4, and passes through the gate 14-2 to generate the signal φN (clock for latch) at the timing of clock φ1. do. The counter 14-4 counts the number of lines in which bright (bit 0) or dark (bit 1) continues from the boundary using the line signal φE. Here. The bright and dark boundaries in the special pattern (first and eleventh rows in FIG. 11) occur for each mesh. Therefore, the count value of the counter 14-4 represents the time from when a certain boundary is detected to when the next boundary is detected. This is nothing but detecting the horizontal scanning speed of the sensor unit 1.The count value of the counter 14-4 is input to one side of the full adder (FA) 14-5 and added to the previous value. , the value obtained by averaging the addition results by the divider 14-6 is latched in the latch 14-7 at the boundary timing φ open. The output n of the latch 14-7 is sent as the previous value to the other input of the full adder (FA) 14-5, as well as the divider by 1 14-8 and the latch 14-8 of φN operation.
34n signal is generated. Furthermore, the latch 14
The output n of -7 and the output of the % divider 14-8 are completely added together! ! (
FA) Added by 14-0, latch 14-1 of φ round operation
1, a 3/2n signal is generated. Here, the %n signal represents the time required to move half the mesh at the current lateral scanning speed of sensor part 1, and the 3/2n signal represents the time required to move half the mesh at the current lateral scanning speed. number plus the time required to move to the station. These two signals %n and "/2n are sample circuit 2-13
M is used to detect a horizontal sampling position signal. The configuration of the sample circuit 2-13M is shown in FIG. 14. The difference from the sample circuit 2-13 (FIG. 9) of the 1st #I example is that the configuration of the sample circuit 2-13M is A coincidence circuit 9M compares the %n signal and the 3/2n@ signal, which change according to the scanning speed, with the output of the counter 9-1 to detect a coincidence.
is used. That is, the matching circuit 9M detects the bright/dark boundary of the data rows in the mesh pattern MP by the EX-OR 9-2, and then starts the counter 9-2.
1 detects the timing when y2n time or 3/2n time has elapsed and generates a horizontal sampling position signal φn.
generate s. As mentioned above, %n time corresponds to half the mesh movement. 3/2fi time corresponds to the movement of one mesh plus half. On the other hand, the data rows (the third row to the first θ row in FIG. 11) change from bright to dark or from dark to bright at a period of at least two meshes. Therefore, the coincidence signal φ of the coincidence circuit 9M
ns specifies the approximate center position of each mesh in the data row, regardless of fluctuations in scanning speed. Note that there are two scanning speed detection circuits 2-14, and the output of the scanning speed detection circuit 2-14 for the special pattern at the upper end (FIG. 11) (touch n, 3/2n) is a sample for the upper half data row. The output of the scanning speed detection circuit 2-14 for the lower end special node is input to the sample circuit 2-13M for the lower half data row. Instead, the output of the scanning speed detection circuit 2-14 that scanned the special turn first is sent to all the sample circuits 2-1.
The output of the scanning speed detection circuit 2-14 that is input to 3M and used to scan a special pattern later may be disabled.
For other points, see sample circuit 2-13 in Figure 14.
Since M is the same as the sample circuit 2-13 in FIG. 9, its explanation will be omitted. In this way, the control circuit section 2M of the second configuration example detects the horizontal scanning speed of the sensor part l from the special pattern included in the mesh pattern ML, and uses the detected scanning speed and the data row of the mesh pattern ML. Since the data sampling position in the horizontal direction is detected from the boundary of the bright and dark meshes detected in relation to This makes it possible to reliably recognize data even in encoded images from a line-type image sensor that scans at a variable moving speed. [Modifications] This concludes the description of the embodiments, but these embodiments are merely illustrative, and various modifications and changes can be easily made. For example, the scanning speed dependent signals %n and 3/2n input to the coincidence circuit 9M in FIG. 14 may be generated from the output (scanning speed signal) of a rotary encoder provided in the sensor part 1. Regarding the control circuit section 2M of the second configuration example, it is assumed that the data row of the mesh pattern MP changes from bright to dark or from dark to bright with a cycle of at least two meshes. For example, in FIG. 14, the output of the counter 9-1 is a signal n(
A circuit for resetting the counter 9-1 when a match occurs (see FIG. 13) may be added, and a match circuit 9M may be used to detect a match between the output of the counter 9-1 and the signal 54n. Also, in Figure 11, the special pattern is two lines at the top,
Two lines are formed at the bottom edge, but instead of this, one line of special pattern (mesh that repeats light and dark alternately) may be formed as the center line of the net-like pattern and extended longer to the left and right than the other lines. Yes, in this case, the scanning speed detection circuit 2-14 may have one channel. Further, although the net-like pattern shown in one figure has a rectangular shape as a whole, it may have a parallelogram shape. Further, the image data input to the control circuit section 2 may be data transferred from the image memory of the encoded image EI. In addition, various modifications and changes are possible. [Effect of the Invention J] The data reading device according to claim 1 uses as a recording medium an image recording sheet including a mesh pattern in which data is encoded by brightness and darkness selectively formed in each mesh, and further includes an image sensor. - Hardware that detects the vertical and horizontal data sampling positions of the pattern and samples the image data at those positions in order to recognize the brightness and darkness of each mesh from the image read by means (vertical data sampling position Since the calculation circuit means, the horizontal data sampling position calculation circuit means, and the data sampling circuit means are used, high-density encoded images can be data recognized at high speed. In the data reading device according to claim 2, a pair of bars are formed on the image along the upper and lower sides of the mesh pattern as marks for indicating the sampling position in the vertical direction of the mesh pattern. A position calculating circuit measures the distance between the pair of 8's and divides the distance into approximately equal parts to detect sampling positions in the vertical direction. Therefore, even when the image sensor means reads the encoded image of the recording sheet at an angle, the data sampling position in the vertical direction can be ensured at the correct position. Further, in the data reading device according to the second aspect of the present invention, while moving from one side of the mesh pattern toward the other side as the image sensor means! A line-type sensor is used to read the image line by line, and in connection with this, the horizontal data sampling position calculation means detects the boundary between the bright and dark meshes adjacent to the left and right included in the mesh pattern, and The timing at a predetermined interval from the detection is detected as the timing of the horizontal data sampling position. Therefore, the construction is simple and, as long as the moving (scanning) speed of the image sensor means is constant, a correct lateral sampling position can be obtained. However, it is not suitable for image sensor means whose moving speed is variable. On the other hand, in claim 3, since the scanning speed detection circuit means for detecting the scanning speed in the horizontal direction of the image sensor means is used, the horizontal direction is always correct even for images from the image sensor means whose scanning speed is uneven. The directional data sampling position can be detected and reliable data recognition can be performed. Claim 4 cites a preferable configuration of the scanning speed detection circuit, according to which, in the mesh pattern, rows of meshes that alternately repeat brightness and darkness along the horizontal direction are formed as a special pattern; The scanning speed of the image sensor means is detected by detecting the boundaries between brightness and darkness in the special pattern and measuring the time from one boundary to the other. Therefore, compared to using a device (for example, a rotary encoder) that detects the scanning speed of the image sensor means independently of one image, this method has the advantage of being inexpensive, simple in construction, and highly accurate.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明を電子楽器の演奏データの入力に適用
した場合の全体概略図、第2図は記録シートに記録され
る楽譜の符号化画像の例を示す図、第3図は楽譜の音符
に関するコード体系を示す図、第4図はこの発明の実施
例に係るデータ読取り装置の全体構成図、第5図はセン
サ一部のライン幅と走査方向の説明に用いた図、第6図
は第4図に示す制御回路部の構成例を示す図、第7図は
符号化画像を拡大して示したもので制御回路部の動作説
明に用いた図、第8図は制御回路部でサンプリングされ
る画像データを示す図、第9図は第6図に示すサンプル
回路の構成図、第10図は制御回路部で使用される主な
信号のタイムチャート、第11図は画像の網目パターン
における特殊パターンを強調して示したもので、第4図
に示す制御回路部の別の構成例を説明するのに用いた図
、第12図は第4図の制御回路部の別の構成例を示す図
、t513図は第12図の走査速度検出回路の構成図、
第14図は第12図のサンプル回路の構成図である。 l・・・・・・センサ一部、2,2M・・・・・・制御
回路部、2−13.2−13M・・・・・・サンプル回
路、2−14・・・・・・走査速度検出回路。
Fig. 1 is an overall schematic diagram when the present invention is applied to the input of performance data of an electronic musical instrument, Fig. 2 is a diagram showing an example of an encoded image of a musical score recorded on a recording sheet, and Fig. 3 is a diagram showing an example of an encoded image of a musical score recorded on a recording sheet. A diagram showing a code system related to musical notes, FIG. 4 is an overall configuration diagram of a data reading device according to an embodiment of the present invention, FIG. 5 is a diagram used to explain the line width and scanning direction of a part of the sensor, and FIG. 6 is a diagram showing an example of the configuration of the control circuit section shown in FIG. 4, FIG. 7 is an enlarged view of the encoded image used to explain the operation of the control circuit section, and FIG. 8 is a diagram showing the control circuit section. A diagram showing sampled image data, FIG. 9 is a configuration diagram of the sample circuit shown in FIG. 6, FIG. 10 is a time chart of the main signals used in the control circuit, and FIG. 11 is a mesh pattern of the image. This diagram emphasizes the special pattern in , and is used to explain another configuration example of the control circuit section shown in FIG. 4. FIG. 12 is another configuration example of the control circuit section shown in FIG. 4. Figure t513 is a configuration diagram of the scanning speed detection circuit in Figure 12,
FIG. 14 is a configuration diagram of the sample circuit of FIG. 12. l...Sensor part, 2,2M...Control circuit part, 2-13.2-13M...Sample circuit, 2-14...Scanning Speed detection circuit.

Claims (4)

【特許請求の範囲】[Claims] (1)各網目に選択的に形成された明暗によってデータ
を符号化した網状パターンを含む画像であって、この画
像のなかに、上記網状パターンの縦方向のデータサンプ
リング位置を指示するための第1マークと上記網状パタ
ーンの横方向のデータサンプリング位置を指示するため
の第2マークとが含まれて成る画像が形成された記録シ
ートから上記画像を読み取るイメージセンサー手段と、
上記イメージセンサー手段により読み取られた上記画像
のデータのなかから、上記第1マークを検出して上記縦
方向のデータサンプリング位置を算出する縦方向サンプ
リング位置算出回路手段と、 上記イメージセンサー手段により読み取られた上記画像
のデータのなかから上記第2マークを検出して上記網状
パターンの横方向のデータサンプリング位置を算出する
横方向サンプリング位置算出手段と、 上記縦方向サンプリング位置算出回路手段と上記横方向
サンプリング位置算出手段の算出した上記縦方向のデー
タサンプリング位置と上記横方向のデータサンプリング
位置とで規定されるデータサンプリング座標における上
記画像のデータをサンプリングするデータサンプリング
回路手段と、を有することを特徴とするデータ読取り装
置。
(1) An image that includes a net-like pattern in which data is encoded by brightness and darkness selectively formed in each mesh, and in this image there is a mark for indicating the data sampling position in the vertical direction of the net-like pattern. image sensor means for reading the image from a recording sheet on which an image including one mark and a second mark for indicating a data sampling position in the lateral direction of the mesh pattern is formed;
vertical sampling position calculation circuit means for detecting the first mark from data of the image read by the image sensor means and calculating the data sampling position in the vertical direction; horizontal sampling position calculation means for detecting the second mark from the data of the image and calculating a data sampling position in the horizontal direction of the mesh pattern; the vertical sampling position calculation circuit means; and the horizontal sampling It is characterized by comprising data sampling circuit means for sampling data of the image at data sampling coordinates defined by the data sampling position in the vertical direction and the data sampling position in the horizontal direction calculated by the position calculation means. Data reader.
(2)請求項1記載のデータ読取り装置において、上記
イメージセンサー手段は上記画像を上記網状パターンの
一側辺から他側辺に向ってほぼ縦方向の1ラインずつ読
み取り、上記第1マークは上記網状パターンの上辺と下
辺に沿って形成された1対のバーであり、上記縦方向デ
ータサンプリング位置算出回路手段は、上記1対のバー
の間隔を測定する間隔測定回路手段と、この間隔測定回
路手段の測定した上記1対のバーの間隔とほぼ等しく分
割して上記縦方向のデータサンプリング位置を算出する
分割回路手段とを有し、上記第2マークは上記網状パタ
ーンに含まれる左右に隣り合う明と暗の網目の縦の境界
であり、上記横方向サンプリング位置算出回路手段は上
記境界を検出する網目境界検出回路手段と、この網目境
界検出回路手段により上記境界が検出されてから所定の
時間間隔のタイミングを上記横方向のデータサンプリン
グ位置のタイミングとして検出する回路手段とから成る
ことを特徴とするデータ読取り装置。
(2) In the data reading device according to claim 1, the image sensor means reads the image one line at a time in a substantially vertical direction from one side of the mesh pattern to the other side, and the first mark A pair of bars are formed along the upper and lower sides of the mesh pattern, and the vertical data sampling position calculation circuit means includes an interval measuring circuit means for measuring the interval between the pair of bars, and this interval measuring circuit. dividing circuit means for calculating the data sampling position in the vertical direction by dividing the data approximately equal to the distance between the pair of bars measured by the means, and the second mark is adjacent to the left and right included in the mesh pattern. It is a vertical boundary between bright and dark meshes, and the horizontal sampling position calculation circuit means includes a mesh boundary detection circuit means for detecting the boundary, and a predetermined time period after the boundary is detected by the mesh boundary detection circuit means. A data reading device comprising circuit means for detecting the timing of the interval as the timing of the data sampling position in the horizontal direction.
(3)全体がほぼ長方形の網状パターンで、各網目に選
択的に形成された明暗によってデータを符号化した網状
パターンを含む画像であって、この画像のなかに、上記
網状パターンの縦方向のデータサンプリング位置を指示
するための第1マークと上記網状パターンの横方向の隣
り合う網目の境界位置を指示するための第2マークとが
含まれて成る画像が形成された記録シートから上記画像
を上記網目パターンの一側辺から他側辺へ向ってほぼ縦
方向の1ラインずつ読み取るイメージセンサー手段と、 上記イメージセンサー手段により読み取られた上記画像
のデータのなかから、上記第1マークを検出して上記縦
方向のデータサンプリング位置を算出する縦方向サンプ
リング位置算出回路手段と、 上記イメージセンサー手段により読み取られた上記画像
のデータのなかから上記第2マークを検出して上記境界
位置を検出する境界位置検出回路手段と、 上記網目パターンを横方向に走査する走査速度を検出す
る横方向速度検出回路手段と、 上記横方向境界位置検出回路手段の検出した上記境界位
置と上記横方向速度検出回路手段の検出した上記走査速
度とから上記網状パターンの横方向のデータサンプリン
グ位置を算出する横方向サンプリング位置算出手段と、 上記縦方向サンプリング位置算出回路手段と上記横方向
サンプリング位置算出手段の算出した上記縦方向のデー
タサンプリング位置と上記横方向のデータサンプリング
位置とで規定されるデータサンプリング座標における上
記画像のデータをサンプリングするデータサンプリング
回路手段と、を有することを特徴とするデータ読取り装
置。
(3) An image that includes a net-like pattern whose overall shape is a substantially rectangular shape, and in which data is encoded by selectively forming brightness and darkness in each mesh, and in which the vertical direction of the net-like pattern is The above-mentioned image is obtained from a recording sheet on which an image including a first mark for indicating a data sampling position and a second mark for indicating a boundary position between horizontally adjacent meshes of the above-mentioned mesh pattern is formed. an image sensor means for reading each line in a substantially vertical direction from one side of the mesh pattern to the other side; and detecting the first mark from data of the image read by the image sensor means. vertical sampling position calculation circuit means for calculating the data sampling position in the vertical direction; and a boundary for detecting the boundary position by detecting the second mark from data of the image read by the image sensor means. position detection circuit means; lateral speed detection circuit means for detecting the scanning speed of scanning the mesh pattern in the lateral direction; and the boundary position detected by the lateral boundary position detection circuit means and the lateral speed detection circuit means. horizontal sampling position calculation means for calculating the data sampling position in the horizontal direction of the mesh pattern from the scanning speed detected by the scanning speed; A data reading device comprising: data sampling circuit means for sampling data of the image at data sampling coordinates defined by the directional data sampling position and the lateral data sampling position.
(4)全体がほぼ長方形の網状パターンで、各網目に選
択的に形成された明暗によってデータを符号化した網状
パターンを含む画像であって、この画像のなかに上記網
状パターンの縦方向のデータサンプリング位置を指示す
るためのマークが含まれ、更に上記網状パターンの少な
くとも横一列の網目は交互に明暗が付けられた特殊パタ
ーンになっている画像が形成された記録シートから上記
画像を、上記網目パターンの一側から他側に向って横方
向に走査しながら、ほぼ縦方向の1ラインずつ読み取る
イメージセンサー手段と、 上記イメージセンサー手段より読み取られた上記画像の
データのなかから、上記マークを検出して上記網目パタ
ーンの各網目の縦方向のデータサンプリング位置を算出
する縦方向サンプリング位置算出回路手段と、 上記イメージセンサー手段により読み取られた上記画像
のデータのなかから上記網状パターンにおける横方向の
各列の隣り合う明と暗の網目の境界を検出する境界検出
回路手段と、 上記イメージセンサー手段により読み取られた上記画像
のデータのなかから上記特殊パターンにおける隣り合う
明と暗の網目の境界を検出する特殊境界検出回路手段と
、 上記特殊境界検出回路手段により境界が検出されてから
次の境界が検出されるまでの時間を計測することにより
上記網目パターンの横方向の走査速度を検出する横方向
走査速度検出回路手段と、上記境界検出回路手段により
検出された境界のタイミングと上記横方向走査速度検出
手段の検出した上記横方向の走査速度とから上記網状パ
ターンの各網目の横方向のデータサンプリング位置を算
出する横方向サンプリング位置算出手段と、上記縦方向
サンプリング位置算出手段と上記横方向サンプリング位
置算出手段とにより算出された上記縦方向のデータサン
プリング位置と上記横方向のデータサンプリング位置と
で規定される各網目のサンプリング座標における上記画
像のデータをサンプリングするデータサンプリング回路
手段と、 から成ることを特徴とするデータ読取り装置。
(4) An image that includes a net-like pattern that is generally rectangular in its entirety and encodes data by selectively forming brightness and darkness in each mesh, and in this image, vertical data of the net-like pattern is included. The above-mentioned image is obtained from a recording sheet on which an image is formed, which includes a mark for indicating the sampling position, and in which at least one horizontal line of the above-mentioned mesh pattern has a special pattern of alternating brightness and darkness. an image sensor means that scans horizontally from one side of the pattern to the other side and reads almost vertical lines one by one, and detects the mark from the data of the image read by the image sensor means. vertical sampling position calculation circuit means for calculating the data sampling position in the vertical direction of each mesh of the mesh pattern; boundary detection circuit means for detecting the boundary between adjacent bright and dark meshes in the row; and detecting the boundary between adjacent bright and dark meshes in the special pattern from data of the image read by the image sensor means. a special boundary detection circuit means for detecting the horizontal direction of the mesh pattern by measuring the time from when a boundary is detected to when the next boundary is detected by the special boundary detection circuit means; scanning speed detection circuit means, horizontal data sampling of each mesh of the mesh pattern from the timing of the boundary detected by the boundary detection circuit means and the horizontal scanning speed detected by the horizontal scanning speed detection means; defined by horizontal sampling position calculation means for calculating the position, and the vertical data sampling position and the horizontal data sampling position calculated by the vertical sampling position calculation means and the horizontal sampling position calculation means. data sampling circuit means for sampling the data of the image at the sampling coordinates of each mesh.
JP63200227A 1988-08-12 1988-08-12 Data reading device Pending JPH0250282A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP63200227A JPH0250282A (en) 1988-08-12 1988-08-12 Data reading device
US07/389,287 US5042079A (en) 1988-08-12 1989-08-03 Method of recording/reproducing data of mesh pattern, and apparatus therefor
EP89114858A EP0354581B1 (en) 1988-08-12 1989-08-10 Method of recording reproducing data of mesh pattern, and apparatus therefor
DE68920229T DE68920229T2 (en) 1988-08-12 1989-08-10 Process for recording or reproducing pixel patterns and device therefor.
US08/113,957 US5327510A (en) 1988-08-12 1993-08-30 Method of recording/reproducing data of mesh pattern, and apparatus therefor
US08/196,008 US5577774A (en) 1988-08-12 1994-02-10 Method of recording/reproducing data of mesh pattern, and apparatus therefor
US08/451,526 US5591957A (en) 1988-08-12 1995-05-26 Apparatus for reading mesh pattern image data having bars along upper and lower sides of mesh pattern and a boundary line between horizontally adjacent dark and light area of mesh pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63200227A JPH0250282A (en) 1988-08-12 1988-08-12 Data reading device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP4314388A Division JPH0668313A (en) 1992-10-30 1992-10-30 Digital data symbol and storage medium for the same

Publications (1)

Publication Number Publication Date
JPH0250282A true JPH0250282A (en) 1990-02-20

Family

ID=16420925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63200227A Pending JPH0250282A (en) 1988-08-12 1988-08-12 Data reading device

Country Status (1)

Country Link
JP (1) JPH0250282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5247250A (en) * 1992-03-27 1993-09-21 Minnesota Mining And Manufacturing Company Integrated circuit test socket

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5699580A (en) * 1980-01-07 1981-08-10 Nippon Telegr & Teleph Corp <Ntt> Information input device
JPS59211170A (en) * 1983-05-16 1984-11-29 Fujitsu Kiden Ltd Reading system of card reader
JPS61243577A (en) * 1985-04-22 1986-10-29 Sharp Corp Program inputting device
JPS6157312B2 (en) * 1978-01-28 1986-12-06 Yoshitomi Pharmaceutical
JPS63157321A (en) * 1986-12-19 1988-06-30 Toppan Printing Co Ltd Optical card reader

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6157312B2 (en) * 1978-01-28 1986-12-06 Yoshitomi Pharmaceutical
JPS5699580A (en) * 1980-01-07 1981-08-10 Nippon Telegr & Teleph Corp <Ntt> Information input device
JPS59211170A (en) * 1983-05-16 1984-11-29 Fujitsu Kiden Ltd Reading system of card reader
JPS61243577A (en) * 1985-04-22 1986-10-29 Sharp Corp Program inputting device
JPS63157321A (en) * 1986-12-19 1988-06-30 Toppan Printing Co Ltd Optical card reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5247250A (en) * 1992-03-27 1993-09-21 Minnesota Mining And Manufacturing Company Integrated circuit test socket

Similar Documents

Publication Publication Date Title
US5042079A (en) Method of recording/reproducing data of mesh pattern, and apparatus therefor
US6752316B2 (en) Two-dimensional code
US4947383A (en) Machine readable markers for cartesian information storage media
US5521368A (en) Barcode symbol reading system having function for detecting and correcting inclination of barcode symbol
EP0042178B1 (en) Absolute encoder
JPS5829093A (en) Absolute encoder
US5591957A (en) Apparatus for reading mesh pattern image data having bars along upper and lower sides of mesh pattern and a boundary line between horizontally adjacent dark and light area of mesh pattern
AU586810B2 (en) Machine readable markers for cartesian information storage media
JPH0250282A (en) Data reading device
JPH0731717B2 (en) Optical reader
JP2737163B2 (en) Binary data recording method and apparatus
JPH0668313A (en) Digital data symbol and storage medium for the same
JPH0157291B2 (en)
JPH0993402A (en) Red position detection method and hand scanner using it
JP3517764B2 (en) Linear scale
JPH0793451A (en) Bar code symbol reader
JPH0250281A (en) Data reading device and data recording medium
KR840000665B1 (en) Optical reading system
JPS60244150A (en) Scan width setting device for picture input device
JP2625915B2 (en) Encoder
JP2576370B2 (en) ID mark reading device
JPH02173879A (en) Method and device for reading data and recording medium
JPH1098584A (en) Measurement device for picture element position error or scanning speed of original
JPH0373081A (en) Bar code scanner
JP3655383B2 (en) Pixel position measuring method, pixel position measuring apparatus and image reading apparatus