Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0157393B2 - - Google Patents
[go: Go Back, main page]

JPH0157393B2 - - Google Patents

Info

Publication number
JPH0157393B2
JPH0157393B2 JP58134604A JP13460483A JPH0157393B2 JP H0157393 B2 JPH0157393 B2 JP H0157393B2 JP 58134604 A JP58134604 A JP 58134604A JP 13460483 A JP13460483 A JP 13460483A JP H0157393 B2 JPH0157393 B2 JP H0157393B2
Authority
JP
Japan
Prior art keywords
recording
binary information
information
area
pixels
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.)
Expired
Application number
JP58134604A
Other languages
Japanese (ja)
Other versions
JPS6027074A (en
Inventor
Akyoshi Tanaka
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58134604A priority Critical patent/JPS6027074A/en
Publication of JPS6027074A publication Critical patent/JPS6027074A/en
Publication of JPH0157393B2 publication Critical patent/JPH0157393B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)

Description

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

産業上の利用分野 本発明は音声信号等の情報を2進符号化し、そ
の符号化された符号情報を読み取り、その読取信
号から記録されれている2進情報を復元し、もと
の音声等の情報を得る情報読取装置に関するもの
である。 従来例の構成とその問題点 従来より、音声情報や商品のコード情報等を2
進符号化して印刷し、印刷された情報を読み取
り、もとの音声情報が商品のコード情報を復元す
るための印刷符号化方式として、第1図に示す様
なバーコードが多く利用されている。しかし、こ
のバーコード方式は情報を一次元的にのみ印刷す
るために、記録される情報量は少ないという問題
を有していた。 発明の目的 本発明は上記欠点に鑑み、情報を2進化して記
録する際に記録情報量を大きくすることができる
ような2次元的な記録を行なつた記録担体から、
もとに情報を復元することのできる情報読取装置
を提供するものである。 発明の構成 本発明は2進情報のOを第1の記録画素と第2
の記録画素とによりこの順序で隣接させ、2進情
報の1を前記第2の記録画素と前記第1の記録画
素とによりこの順序で隣接させ、順次行方向に記
録し、その行方向の記録が終了すると列方向にず
れて再び行方向に2進情報の記録がなされている
2進情報記録領域と、前記2進情報記録領域の行
の両側に、その行が奇数番目の行であるか偶数番
目の行であるかに応じた順序で前記第1、第2の
記録画素の記録が列方向になされている同期信号
領域と、前記2進情報記録及び同期信号の領域の
周囲に、前記2進情報記録領域を識別するために
前記第1、あるいは第2の一方の記録画素により
記録がなされている枠領域とを有している記録担
体に対して、前記記録担体における記録密度より
も光学的に細かい走査により前記記録担体の各領
域を走査して電気信号に変換する走査手段と、前
記走査手段が変換した電気信号を2進情報に変換
する2進化手段と、前記2進化手段の出力2進情
報から行方向の最初の枠領域を検出し、検出され
た枠領域および枠領域にはさまれた信号を出力す
る画像整列手段と前記画像整列手段の出力2進情
報を蓄積する手段と、前記蓄積手段に蓄積されて
いる互いに隣接する複数の画素からなる窓を1つ
の読取単位とし、複数個の窓からなる窓集合に対
応する情報を前記蓄積手段から読み出し、その読
み出した情報から記録担体に記録されている2進
情報復元する認識手段とを設けることにより上記
目的を達するものである。 実施例の説明 以下、本発明の一実施例について説明する。 なお先に第2図を用い、本発明の一実施例にお
ける情報読取装置により読み取られるパターン、
すなわち2進情報の印刷パターンについて説明す
る。 第2図において、枠領域Aはすべて黒画素から
成る領域で、この枠領域AはN2個の記録画素か
ら成る一定の幅をもつた領域である。なお、記録
画素とは、黒又は白を印刷する場合の最小記録単
位である。値N2としては1以上の任意の値が可
能であるが、本実施例ではN2=4とする。 一方領域Bは奇数番目の短辺方向すなわち矢印
Xの方向か、偶数番目の短辺方向かを示すための
同期信号領域で、奇数番目に対しては第3図aに
示すように白で始まり、白と黒が交互に隣接し、
N1個の記録画素から成り、一方偶数番目に対し
ては第3図bに示すように、黒で始まり、白と黒
が交互に隣接し、N1個の記録画素から成る。こ
の値N1は、後述する装置で用いる窓集合の窓の
数に等しい値である。本実施例の場合は、窓集合
の窓の数を3とし、N1=3とする。上述したN1
=3,N2=4の場合の印刷されたパターンの一
部を第4図に示す。 さて、第2図の領域Cは、音声信号や商品コー
ド等の2進情報を印刷するための2進情報記録領
域である。2進情報Oは第5図aに示すように記
録画素2個から成り、白画素・黒画素の順で印刷
符号化され、一方2進情報1は第5図bに示すよ
うに記録画素2個から成り、黒画素・白画素の順
で印刷符号化される。たとえば2進情報
O1O111O1を印刷符号化した場合、第5図cに示
すような印刷となる。 なお、2進情報を印刷する場合の印刷記録密度
は任意である。印刷記録密度は、印刷技術、及び
印刷された符号情報を走査する走査装置の読取密
度から決定される。例えば、記録密度を4画素/
mm、1短辺方向あたり32ビツトの2進情報を記録
し、長辺方向に500本の情報領域の記録を行なう
場合の印刷された情報の寸法は枠領域を含めて、
18.5mm×127mmとなり、印刷されている2進情報
の情報量は16000ビツトとなり、4画素/mmの記
録密度は現在の印刷技術で十分可能であり、更に
これを走査する走査装置の読取密度は、記録密度
の4倍の細かさで走査する場合でも16画素/mmと
なり、現在のフアクシミリ技術等によつて十分可
能である。 第6図に80ビツトの2進情報を短辺方向に8ビ
ツト、長辺方向に10本の記録を行つたときの印刷
符号化したものを示す。また、下表に第6図の80
ビツトの2進情報を表にしたものを示す。
Industrial Application Field The present invention binary encodes information such as audio signals, reads the encoded code information, restores the recorded binary information from the read signal, and restores the original audio etc. The present invention relates to an information reading device that obtains information. Conventional structure and its problems Traditionally, audio information, product code information, etc.
Barcodes like the one shown in Figure 1 are often used as a printing encoding method to print in hexadecimal encoding, read the printed information, and restore the original audio information to the product code information. . However, this barcode method has the problem that the amount of information recorded is small because information is printed only one-dimensionally. Purpose of the Invention In view of the above-mentioned drawbacks, the present invention provides a record carrier that performs two-dimensional recording that can increase the amount of recorded information when recording information in binary form.
The present invention provides an information reading device that can restore information to its original state. Structure of the Invention The present invention provides binary information O to a first recording pixel and a second recording pixel.
The second recording pixel and the first recording pixel are arranged adjacent to each other in this order, and the binary information 1 is adjacently recorded in the row direction by the second recording pixel and the first recording pixel, and the recording in the row direction is performed. When the process is completed, there is a binary information recording area in which binary information is recorded again in the row direction after being shifted in the column direction, and on both sides of the row in the binary information recording area, whether the row is an odd numbered row or not. A synchronization signal area in which the first and second recording pixels are recorded in the column direction in an order depending on whether the row is an even number, and the area around the binary information recording and synchronization signal area, For a record carrier having a frame area recorded by one of the first or second recording pixels in order to identify a binary information recording area, the recording density is higher than the recording density in the record carrier. scanning means for scanning each region of the record carrier by optically fine scanning and converting it into an electrical signal; a binarizing means for converting the electrical signal converted by the scanning means into binary information; Image alignment means for detecting the first frame area in the row direction from the output binary information and outputting the detected frame area and a signal sandwiched between the frame areas; and means for accumulating the output binary information of the image alignment means. Then, a window consisting of a plurality of mutually adjacent pixels stored in the storage means is taken as one reading unit, information corresponding to a window set consisting of a plurality of windows is read from the storage means, and from the read information. The above object is achieved by providing a recognition means for restoring the binary information recorded on the record carrier. DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below. In addition, using FIG. 2 first, the pattern read by the information reading device in one embodiment of the present invention,
That is, the printing pattern of binary information will be explained. In FIG. 2, a frame area A is an area consisting entirely of black pixels, and this frame area A is an area having a constant width and consisting of N2 recording pixels. Note that a recording pixel is the minimum recording unit when printing black or white. Although the value N 2 can be any value greater than or equal to 1, in this embodiment, N 2 =4. On the other hand, area B is a synchronization signal area to indicate whether it is the direction of the odd-numbered short side, that is, the direction of the arrow X, or the direction of the even-numbered short side. , white and black are adjacent to each other alternately,
It consists of N 1 recording pixels, while for the even numbered pixels, as shown in FIG. 3b, starting with black, white and black are adjacent to each other alternately, and consisting of N 1 recording pixels. This value N 1 is equal to the number of windows in the window set used in the device described later. In the case of this embodiment, the number of windows in the window set is 3, and N 1 =3. N 1 mentioned above
FIG. 4 shows a part of the printed pattern when N 2 =3 and N 2 =4. Area C in FIG. 2 is a binary information recording area for printing binary information such as audio signals and product codes. Binary information O consists of two recording pixels as shown in FIG. The pixels are printed and encoded in the order of black pixels and white pixels. For example, binary information
When O1O111O1 is print-encoded, it will be printed as shown in FIG. 5c. Note that the print recording density when printing binary information is arbitrary. Print recording density is determined from the printing technique and the reading density of the scanning device that scans the printed code information. For example, set the recording density to 4 pixels/
mm, when recording 32 bits of binary information per short side and recording 500 information areas along the long side, the dimensions of the printed information including the frame area are:
The size is 18.5 mm x 127 mm, and the amount of printed binary information is 16,000 bits. A recording density of 4 pixels/mm is fully possible with current printing technology, and the reading density of the scanning device that scans it is , even when scanning at a fineness four times the recording density, the rate is 16 pixels/mm, which is fully possible with current facsimile technology. FIG. 6 shows the print encoding of 80-bit binary information recorded in 8 bits on the short side and 10 lines on the long side. In addition, the table below shows 80 in Figure 6.
The table shows the binary information of bits.

【表】 以下、上述したように印刷符号化されたパター
ンを読み取る本発明の一実施例における情報読取
装置について、第7図を参照しながらその構成を
説明する。 第7図において、走査装置1は印刷符号パター
ン2の短辺方向に対しレンズ系3を介して一次元
イメージセンサ4に結像させ、駆動回路5を介し
て蓄積装置6に読取画像信号aを出力する。なお
光源7は印刷符号パターンを照明するために設け
られている。更に走査装置1には印刷符号パター
ン面との接触部に移動量検出のためのセンサ8が
設けられ、走査装置1が印刷符号パターン上を読
取密度間隔量だけ移動する毎に走査中であること
を示すパルス性の走査ビジイ信号bが蓄積装置6
に出力さる。 蓄積装置6は走査ビジイ信号bがオンすると、、
読取開始信号c及び読取クロツク信号dを出力す
る。これらの信号c,dは制御回路9により生成
される。そして走査装置1の駆動回路5はこの信
号c,dによつてイメージセンサ4に読取られる
画信号aを読取り蓄積装置6に出力する。蓄積装
置6に入力された読取画像信号aは2値化回路1
0によつて2値信号に変換される。2値化回路1
0は従来よりよく知られているアナログコンパレ
ータによつて構成されている。2値化された2値
化信号eは画像整列回路11によつて、枠領域A
を検出し、検出された枠領域A以後の信号をメモ
リ12に蓄積する。 なお第8図は上述した各ブロツクのタイミング
チヤートを示したものである。第8図イは印刷符
号パターンの部位850を走査したときの走査装置
1からの出力信号aである。2値化回路10は閾
値851と入力値を比較する(第8図ロ)ことに
よつて白はレベルO、黒はレベル1である2値化
信号e(第8図ハ)を出力する。第8図ニは走査
装置1に出力する読取開始信号cと同じ信号であ
り、画像整列回路1はこの信号により1走査の開
始を知ることができる。画像整列回路11は走査
装置1に出力される読取クロツク信号d(第8図
ホ)を用いて2値化信号eを読み取り、レベル1
の信号、すなわち黒信号がK個以上検出された時
点から、メモリ12に蓄積する。第9図の例では
2値化信号eを信号dにより読み取つた第8図ヘ
の信号における時刻Tの位置からメモリ12に蓄
積する。値Kは記録密度と読取密度の関係から決
定される。例えば、記録密度が4画素/mm、読取
密度が16画素/mmの場合、記録画素4画素から構
成される枠領域は、読取画素では16画素となる。
この場合、読取時のレベル変化、量子化誤差を考
慮してK=14となる。この様に画素整列回路11
を設けることによつて、手動走査の場合、印刷符
号パターンの読取開始位置に変動が生じたり、印
刷符号パターン以外の余白領域を走査した場合で
も、メモリ12に蓄積する時には蓄積開始位置を
枠領域の開始位置とすることができ、メモリ容量
は許容された傾きで走査したときの印刷符号パタ
ーン領域を蓄積するに必要な量で十分となる。 さて第7図にもどり、蓄積装置6は認識装置1
3から送出される2つの読み出し座標信号f,g
で指定されたメモリ12の内容を出力する。印刷
符号パターンと蓄積された印刷符号情報の関係を
第9図に示す。第9図は印刷符号パターンの短辺
方向すなわち矢印Xの方向に対して、走査装置1
が約15゜の傾きをもつて走査した場合である。ま
た、読取密度は記録密度の4倍の例である。蓄積
装置6に蓄積されている画素の値は短辺方向へ順
次読取順序をi、長辺方向の読み取り順序をjと
したとき、V(i,j)で表わされる。例えば第
9図の読取画素1000は黒でありかつ短辺方向の順
序はi+1、長辺方向の順序はj−3であるか
ら、V(i+1,j−3)=1と表わされる。蓄積
装置6は認識装置13の認識部14からの短辺方
向の順序信号5と長辺方向の順序信号gで指定さ
れたメモリ12の内容を信号hとして出力する。
認識部14は以下で説明する認識方法に基づいて
印刷符号パターンを認識した記録画素の値(白は
O、黒は1)を復元し、情報変換部15に出力す
る。情報変換部15は復元された記録画素の値か
ら印刷符号に変換された2進情報を復元し、出力
する。 その復元は窓と窓集合を用いて印刷符号を復元
する。窓と窓集合は次の様に定義される。 (a) 4つの読取画素{(i,j),(i+1,j),
(i,j+1),(i+1,j+1)}からなる領
域を窓と呼び、第1番目の画素位置i,jを用
いてWi,jと表わす。また、窓を構成する各読取
画素の値がV(i,j)=υi+j,V(i+1,j)
=υi+1,j,V(i,j+1)=υi,j+1,V(i+1,
j+1)=υi+1,j+1(但し、υp,qはO又は1で、p
はi又はi+1,qはj又はj+1)であると
き、i,jを窓Wi,jの値とよびW〜i,j=(υi,j,υi+1,
j,

υi,j+1,υi+1,j+1)で表わす。 (b) 3つの窓からなる読取画素の集合を窓集合と
いう。窓集合はWSk,(i,j)で表わす。(但しkは窓
集合の番号を示し、(i,j)は番号kで示さ
れる窓集合の第1番目の窓の位置を示す。)窓
集合を構成する窓は記録画素のほぼ中心上に位
置する様に配置される。窓集合の番号kに対応
する各窓の位置を第2表に示す。
[Table] The configuration of an information reading device according to an embodiment of the present invention that reads a print-encoded pattern as described above will be described below with reference to FIG. In FIG. 7, a scanning device 1 forms an image on a one-dimensional image sensor 4 via a lens system 3 in the short side direction of a printed code pattern 2, and sends a read image signal a to a storage device 6 via a drive circuit 5. Output. Note that the light source 7 is provided to illuminate the printed code pattern. Furthermore, the scanning device 1 is provided with a sensor 8 for detecting the amount of movement at the contact portion with the surface of the printed code pattern, and is scanned every time the scanning device 1 moves on the printed code pattern by the reading density interval amount. A pulsed scanning busy signal b indicating
Output to. When the scanning busy signal b is turned on, the storage device 6
A reading start signal c and a reading clock signal d are output. These signals c and d are generated by the control circuit 9. The drive circuit 5 of the scanning device 1 reads the image signal a read by the image sensor 4 based on the signals c and d and outputs it to the reading storage device 6. The read image signal a input to the storage device 6 is sent to the binarization circuit 1
0 is converted into a binary signal. Binarization circuit 1
0 is constituted by a conventionally well known analog comparator. The binarized signal e is sent to the frame area A by the image alignment circuit 11.
is detected, and the signals after the detected frame area A are stored in the memory 12. Incidentally, FIG. 8 shows a timing chart of each of the above-mentioned blocks. FIG. 8A shows an output signal a from the scanning device 1 when a portion 850 of the printed code pattern is scanned. The binarization circuit 10 compares the input value with a threshold value 851 (FIG. 8B), and outputs a binary signal e (FIG. 8C) in which white is at level O and black is at level 1. 8D is the same signal as the reading start signal c output to the scanning device 1, and the image alignment circuit 1 can know the start of one scan from this signal. The image alignment circuit 11 reads the binarized signal e using the reading clock signal d (FIG. 8) output to the scanning device 1, and converts it to level 1.
The signals are stored in the memory 12 from the time when K or more signals, that is, black signals, are detected. In the example of FIG. 9, the binarized signal e is stored in the memory 12 from the position of time T in the signal of FIG. 8 read by the signal d. The value K is determined from the relationship between recording density and reading density. For example, if the recording density is 4 pixels/mm and the reading density is 16 pixels/mm, a frame area made up of 4 recording pixels will have 16 reading pixels.
In this case, K=14, taking into consideration level changes during reading and quantization errors. In this way, the pixel alignment circuit 11
By providing this, in the case of manual scanning, even if the reading start position of the printed code pattern fluctuates or a margin area other than the printed code pattern is scanned, the accumulation start position is set to the frame area when storing in the memory 12. The memory capacity is sufficient to store the printed code pattern area when scanned at the allowed tilt. Now, returning to FIG. 7, the storage device 6 is the recognition device 1.
Two readout coordinate signals f, g sent from 3
The contents of memory 12 specified by are output. FIG. 9 shows the relationship between the print code pattern and the accumulated print code information. FIG. 9 shows how the scanning device 1
This is the case when the image is scanned at an angle of approximately 15°. Further, in this example, the reading density is four times the recording density. The value of the pixel stored in the storage device 6 is expressed as V(i, j), where i is the reading order in the short side direction and j is the reading order in the long side direction. For example, since the reading pixel 1000 in FIG. 9 is black and the order in the short side direction is i+1 and the order in the long side direction is j-3, it is expressed as V(i+1, j-3)=1. The storage device 6 outputs the contents of the memory 12 specified by the short side direction order signal 5 and the long side direction order signal g from the recognition unit 14 of the recognition device 13 as a signal h.
The recognition unit 14 restores the value of the recorded pixel (O for white, 1 for black) from which the printed code pattern has been recognized based on the recognition method described below, and outputs it to the information conversion unit 15. The information conversion unit 15 restores binary information converted into a printing code from the restored recorded pixel values and outputs it. The restoration uses windows and window sets to restore the printed code. Windows and window sets are defined as follows. (a) Four reading pixels {(i, j), (i+1, j),
(i, j+1), (i+1, j+1)} is called a window, and is expressed as W i,j using the first pixel positions i, j . Also, the value of each reading pixel composing the window is V(i,j)=υ i+j ,V(i+1,j)
i+1,j ,V(i,j+1)=υ i,j+1 ,V(i+1,
j+1)=υ i+1,j+1 (However, υ p,q is O or 1, and p
is i or i+1, q is j or j+1), then i,j is the value of window W i,j and W~ i,j = (υ i,j, υ i+1,
j,

υ i,j+1 , υ i+1,j+1 ). (b) A set of read pixels consisting of three windows is called a window set. The window set is expressed as WS k,(i,j) . (However, k indicates the number of the window set, and (i, j) indicates the position of the first window in the window set indicated by number k.) The windows that make up the window set are located approximately on the center of the recording pixel. It is arranged so that it is located. Table 2 shows the position of each window corresponding to window set number k.

【表】【table】

【表】 上記第2表で示した11個の窓集合は読取密度が
記録密度の4倍の走査時の読取角度を約20゜まで
許す場合である。窓集合WSk,(i,j)を構成する3つ
の窓W〜i,j,W〜p,q,Wu,vのそれぞれの値がW〜i,j

Wp,q,Wu,vであるとき、WSk,(i,j)を窓集合WSk,(i,j)
の値とよび、WSk(i,j)=(W〜i,j,W〜p,q,W〜u,v
)と表
わす。 次に読取密度が記録密度の4倍であるときの印
刷符号パターンの認識手順について、第10図を
参照しながら説明する。 ステツプ101……初期化ステツプで、i,j
は読取画像の読取位置、すなわち認識装置13か
ら蓄積装置6へ送出される読取座標信号f,gで
ある。x,yは記録されている印刷符号の記録画
素位置であり、認識部14から情報変換部15へ
の記録座標信号f′,g′である。 ステツプ102……次に窓を構成する読取画素
がすべて1(黒)である最初の窓の検出を行なう。 ステップ103,104,105……窓位置の
更新を行なう。ENDiは読取画像の矢印Xの方向
の最終画素位置、ENDjは矢印Yの方向の最終画
素位置である。 ステツプ106……枠領域Aの検出を行なう。
LGTH(W〜i,j)は次の様に定義される関数であ
る。 LGTH(Wi,j)=1(但し、W〜i,j=W〜i+1,j=…=
W〜i
+1−1,j≠W〜i+1,j) ステツプ107…検出された枠領域Aの端部へ
窓を移動させる。 ステツプ108,109……窓位置が、枠領域
Aの端部であることの検査を行なう。 ステツプ110……最初の同期信号の白画素に
窓を移動する。関数SCH1(p,q|W〜p,q=(O,
O,O,O),i―1pi+1,j−1q
j+1)は、位置(i,j)にある窓を矢印X
の方向にはi−1pi+1、矢印Yの方向に
はj−1qj+1の範囲内で移動させ、W〜p,q
=(O,O,O,O)となる窓Wp,qを検出し、そ
の位置(p,q)を新たな(i,j)とする関数
である。 ステツプ111……関数SCH1によつてW〜p,q
(O,O,O,O)となる窓位置が検出されたか
否かの検査を行なう。 ステツプ112,113,114……同期信号
パターンの設定を行なう。ここで〓は窓集合の値
の変数の3項組で、第1番目の窓の値、第2番目
の窓の値、第3番目の窓の値の順に表わす。ま
た、窓の値が(O,O,O,O)であるとき0,
窓の値が(1,1,1,1)であるとき〓と表わ
す。 ステツプ115……与えられた同期信号パター
ンを用いて、復元に用いる窓集合の各窓位置を決
定する。関数SCH2(p,qk|WS〜kp,q=〓,i−
1pi+1,j−1qj+1)は、位置
がi−1pi+1,j−1qj+1の範
囲内で、値が〓である窓集合WSkを第2表の窓
集合から検出し、その窓位置(i,j)と窓集合
の番号kを決定する関数である。 ステツプ116……窓集合が検出されたか否か
の検査を行ない、検出された場合はステツプ11
7で最初の記録ラインの走査原点(XS,YS)の
設定と、情報変換部に復元された記録画素の位置
と値を出力する。ここで〓(n)は窓集合の第n
番目の窓の値が0のときはO,〓のときは1であ
ることを示す。 ステツプ118……次の記録画素を復元するた
めに窓集合の移動と、比較する窓集合の値の更新
を行なう。ここでMOVE(WSki,j(2))は位置
(i,j)にある窓集合WSki,jを現在の窓集合の
第2番目の窓位置に移動させる関数である。ま
た、SL(〓)は3項組変数〓を左に1桁シフトさ
せる関数である。このとき、第3項には仮の値と
して0が設定される。 ステツプ119……同期信号の第2、第3記録
画素及び2進情報が印刷符号化されている領域C
の記録画素の値を復元する。ここで関数SCH3
(p,q,〓|WS〜p,q=〓,MASK(1,1,
O),i−1pi+1,j−1qj+1)
は、位置(i,j)にある窓集合WSkp,qをi−
1pi+1,j−1qj+1の範囲内で
移動させたとき、窓集合の値が与えられた値〓に
変数MASKで与えられるマスクをかけた値に一
致する位置を検出し、その位置と窓集合の値〓を
与える関数である。(但し、MASK=(1,1,
O)は与えられた〓のうち、1で示される項、す
なわち第1項と第2項のみが一致するか否かを検
査する。 ステツプ120……窓集合の値が検出されたか
否かを検査し、検出された場合には、ステツプ1
21で記録画素位置を更新し、復元された記録画
素の値を情報変換部15に出力する。 ステツプ122……2進情報が印刷符号化され
ている領域の記録画素の値の復元が終了したか否
かを検査し、終了していない場合は次の記録画素
の復元を行ない、終了した場合にはステツプ12
4か131で同期信号の復元を行なう。 ステツプ132……矢印Yの方向についてすべ
ての記憶ラインの記録画素復元が終了したかを検
査し、終了していない場合は、ステツプ133で
次の記録ラインの走査原点に窓位置(i,j)を
更新し、次の記録ラインの記録画素の復元を行な
う。すべての記録ラインの記録画素の復元が終了
している場合には、印刷符号パターンの認識手順
は終了し、情報変換部15で同期信号の規約及び
2進情情報の印刷符号化の規約に従つて2進情報
を復元し、復元された2進情報は認識装置13の
出力h′として出力される。 以上の認識手順は1つの記録ライン毎に窓集合
の位置を決定することによつて、手動走査時にお
ける読取変化に対応できる。なお以上の認識手順
は読取走査密度が記録密度の4倍の場合について
説明したが、他の読取密度についても窓集合の窓
位置を読取密度に対応させることによつて応用で
きる。 以上、本実施例によれば、2進情報を印刷符号
化する場合に、2進情報Oは白・黒画素で、1は
黒・白画素で符号化し、更に同期信号と枠領域を
付与した印刷符号に対し、その印刷符号パターン
を読取り、復元する場合に、窓と窓集合を用いて
復元することにより、高い密度で印刷された情報
を読み取ることができる。 なお、本実施例では、2進情報の印刷符号化に
おける画素の色は白と黒を用いて説明してきた
が、画素の色は白と黒に限定されるものではな
く、2つの色が識別できる色の組み合わせであれ
ばよい。また磁気インクを用いる等の印刷方法に
ついても応用できることは明らかである。更に、
印刷符号化に際して誤り訂正符号を付与すること
により、認識率を高めることも可能である。 発明の効果 本発明は以上のように、情報を2値化して記録
する際に記録情報量を大きくすることができるよ
うな2次元的な記録を行なつた記録担体から、も
との情報を復元することができ、さらに手動走査
を行なつた場合は読取角度の変化にも対応するこ
とができ、その効果は大きい。
[Table] The 11 window sets shown in Table 2 above are for the case where the reading density allows a reading angle of up to about 20° when scanning is four times the recording density. The respective values of the three windows W ~ i,j , W~ p,q , and W u,v constituting the window set WS k,(i,j) are W~ i,j

When W p,q and W u,v , WS k,(i,j) is the window set WS k,(i,j)
WS k(i,j) = (W~ i,j , W~ p,q , W~ u,v
). Next, a procedure for recognizing a printed code pattern when the reading density is four times the recording density will be explained with reference to FIG. Step 101...Initialization step, i, j
are the reading position of the read image, that is, the reading coordinate signals f and g sent from the recognition device 13 to the storage device 6. x and y are the recording pixel positions of the recorded printing code, and are recording coordinate signals f' and g' sent from the recognition section 14 to the information conversion section 15. Step 102...Next, the first window in which all the read pixels constituting the window are 1 (black) is detected. Steps 103, 104, 105...The window position is updated. ENDi is the final pixel position in the direction of arrow X of the read image, and ENDj is the final pixel position in the direction of arrow Y. Step 106...Frame area A is detected.
LGTH(W~ i,j ) is a function defined as follows. LGTH(W i,j )=1 (however, W~ i,j = W~ i+1,j =...=
W~ i
+1-1,j ≠W~ i+1,j ) Step 107...The window is moved to the edge of the detected frame area A. Steps 108, 109...Check that the window position is at the end of the frame area A. Step 110...Move the window to the white pixel of the first synchronization signal. Function SCH 1 (p, q | W ~ p, q = (O,
O, O, O), i-1pi+1, j-1q
j+1) points the window at position (i, j) to arrow
Move within the range of i-1pi+1 in the direction of arrow Y and j-1qj+1 in the direction of arrow Y, and move W~ p,q
This is a function that detects a window W p,q where = (O, O, O, O) and sets its position (p, q) to a new (i, j). Step 111...W~ p,q = by function SCH 1
A check is made to see if a window position of (O, O, O, O) has been detected. Steps 112, 113, 114...Synchronization signal pattern is set. Here, 〓 is a ternary set of variables of the values of the window set, and is expressed in the order of the first window value, the second window value, and the third window value. Also, when the window value is (O, O, O, O), 0,
When the window value is (1, 1, 1, 1), it is expressed as 〓. Step 115: Using the given synchronization signal pattern, each window position of the window set used for restoration is determined. Function SCH 2 (p, qk | WS~ kp,q = 〓, i−
1pi+1,j-1qj+1) detects the window set WSk whose position is within the range of i-1pi+1, j-1qj+1 and whose value is 〓 from the window set of Table 2, and calculates the window position (i, j) and This is a function that determines the number k of the window set. Step 116...Check whether a window set has been detected, and if detected, proceed to Step 11.
In step 7, the scanning origin (XS, YS) of the first recording line is set and the restored recording pixel position and value are output to the information converter. Here, 〓(n) is the nth window set
When the value of the th window is 0, it means O, and when it is 〓, it means 1. Step 118: In order to restore the next recorded pixel, the window set is moved and the values of the window set to be compared are updated. Here, MOVE(WSk i,j (2)) is a function that moves the window set WSk i, j at position (i, j) to the second window position of the current window set. Furthermore, SL(〓) is a function that shifts the ternary set variable 〓 by one digit to the left. At this time, the third term is set to 0 as a temporary value. Step 119...Area C where the second and third recording pixels of the synchronization signal and binary information are printed and encoded.
Restores the value of the recorded pixel. Here the function SCH 3
(p, q, 〓 | WS~ p, q = 〓, MASK (1, 1,
O), i-1pi+1, j-1qj+1)
is the window set WSk p,q at position (i, j) i−
When moving within the range of 1pi+1, j-1qj+1, detect a position where the value of the window set matches the value obtained by multiplying the given value 〓 by the mask given by the variable MASK, and combine that position and the value of the window set. This is a function that gives 〓. (However, MASK=(1, 1,
O) checks whether only the term indicated by 1, that is, the first term and the second term, match in the given 〓. Step 120... Check whether the value of the window set is detected. If detected, step 1
In step 21, the recorded pixel position is updated, and the restored recorded pixel value is output to the information converter 15. Step 122...It is checked whether the restoration of the values of the recorded pixels in the area where the binary information is print-encoded has been completed, and if it has not been completed, the restoration of the next recorded pixel is carried out. Step 12
4 or 131 to restore the synchronization signal. Step 132...It is checked whether the recording pixel restoration of all memory lines has been completed in the direction of the arrow Y. If it has not been completed, the window position (i, j) is set at the scanning origin of the next recording line in step 133. is updated, and the recorded pixels of the next recording line are restored. If the recording pixels of all the recording lines have been restored, the print code pattern recognition procedure is completed, and the information converter 15 follows the synchronization signal convention and the binary information print encoding convention. Then, the binary information is restored, and the restored binary information is output as the output h' of the recognition device 13. The above recognition procedure can cope with reading changes during manual scanning by determining the position of the window set for each recording line. Although the above recognition procedure has been described for the case where the reading scanning density is four times the recording density, it can also be applied to other reading densities by making the window positions of the window set correspond to the reading density. As described above, according to this embodiment, when binary information is printed and encoded, binary information O is encoded using white and black pixels, 1 is encoded using black and white pixels, and a synchronization signal and a frame area are further added. When reading and restoring the printed code pattern of a printed code, information printed with high density can be read by restoring it using a window and a set of windows. In addition, in this embodiment, the pixel colors in the printing encoding of binary information have been explained using white and black, but the pixel colors are not limited to white and black, and the two colors can be distinguished. Any combination of colors that is possible is fine. It is obvious that the invention can also be applied to printing methods such as those using magnetic ink. Furthermore,
It is also possible to increase the recognition rate by adding an error correction code during print encoding. Effects of the Invention As described above, the present invention can recover original information from a record carrier that performs two-dimensional recording that can increase the amount of recorded information when binarizing and recording information. It can be restored, and if manual scanning is performed, it can also respond to changes in the reading angle, which is very effective.

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

第1図は印刷符号化方式の1つであるバーコー
ドの平面図、第2図は本発明の一実施例における
情報読取装置に用いられる印刷符号パターンの平
面図、第3図a,bは同印刷符号パターンにおけ
る同期信号パターンの平面図、第4図は同印刷符
号パターンの枠領域と同期信号パターンの平面
図、第5図a〜cおよび第6図は同2進情報を説
明するための印刷符号パターンの平面図、第7図
は本発明の一実施例における情報読取装置のブロ
ツク結線図、第8図は同装置のタイミングチヤー
ト、第9図は走査装置が傾きをもつて印刷符号パ
ターンを走査し際の印刷符号パターンと読取画素
との関係を示す図、第10図a〜dは同装置にお
ける認識手順のフローチヤートである。 1……走査装置、6……蓄積装置、10……2
値化回路、11……画像整列回路、12……メモ
リ、13……認識装置、14……認識部、15…
…情報変換部。
FIG. 1 is a plan view of a barcode, which is one of the printing encoding methods, FIG. 2 is a plan view of a printing code pattern used in an information reading device in an embodiment of the present invention, and FIGS. 3a and 3b are FIG. 4 is a plan view of the frame area of the printed code pattern and the synchronizing signal pattern, and FIGS. 5 a to 6 are for explaining the binary information. 7 is a block wiring diagram of an information reading device according to an embodiment of the present invention, FIG. 8 is a timing chart of the same device, and FIG. 9 is a plan view of the printed code pattern when the scanning device is tilted. Figures 10a to 10d, which are diagrams showing the relationship between the printed code pattern and the read pixels when scanning the pattern, are flowcharts of the recognition procedure in the same apparatus. 1...Scanning device, 6...Storage device, 10...2
Value conversion circuit, 11... Image alignment circuit, 12... Memory, 13... Recognition device, 14... Recognition unit, 15...
...Information conversion department.

Claims (1)

【特許請求の範囲】[Claims] 1 2進情報のOを第1の記録画素と第2の記録
画素とによりこの順序で隣接させ、2進情報の1
を前記第2の記録画素と前記第1の記録画素とに
よりこの順序で隣接させ、順次行方向に記録し、
その行方向の記録が終了すると列方向にずれて再
び行方向に2進情報の記録がなされている2進情
報記録領域と、前記2進情報記録領域の行の両側
に、その行が奇数番目の行であるか偶数番目の行
であるかに応じた順序で前記第1、第2の記録画
素の記録が列方向になされている同期信号領域
と、前記2進情報記録及び同期信号の領域の周囲
に、前記2進情報記録領域を識別するために前記
1、あるいは第2の一方の記録画素により記録が
なされている枠領域とを有している記録担体に対
して、前記記録担体における記録密度よりも光学
的に細かい走査により前記記録担体の各領域を走
査して電気信号に変換する走査手段と、前記走査
手段が変換した電気信号を2進情報に変換する2
進化手段と、前記2進化手段の出力2進情報から
行方向の最初の枠領域を検出し、検出された枠領
域および枠領域にはさまれた信号を出力する画像
整列手段と、前記画像整列手段の出力2進情報を
蓄積する手段と、前記蓄積手段に蓄積されている
互いに隣接する複数の画素からなる窓を1つの読
取単位とし、複数個の窓からなる窓集合に対応す
る情報を前記蓄積手段から読み出し、その読み出
した情報から記録担体に記録されている2進情報
復元する認識手段とを具備した情報読取装置。
1 Binary information 0 is adjacent to the first recording pixel and second recording pixel in this order, and the binary information 1
are adjacent to each other in this order by the second recording pixel and the first recording pixel, and sequentially recording in the row direction,
When the recording in the row direction is completed, the binary information recording area shifts in the column direction and the binary information is recorded again in the row direction, and on both sides of the row in the binary information recording area, the row is the odd numbered a synchronization signal area in which the first and second recording pixels are recorded in a column direction in an order according to whether the pixels are in a row or an even numbered row; and an area for recording binary information and a synchronization signal. For a record carrier having a frame area around which recording is performed by one of the first or second recording pixels in order to identify the binary information recording area, scanning means for scanning each area of the record carrier by optically finer scanning than the recording density and converting it into an electrical signal; and 2 for converting the electrical signal converted by the scanning means into binary information.
an evolving means; an image aligning means for detecting the first frame area in the row direction from the output binary information of the binarizing means and outputting the detected frame area and a signal sandwiched between the frame areas; and the image aligning means. Means for accumulating output binary information of the means; and a window consisting of a plurality of mutually adjacent pixels accumulated in the accumulation means are taken as one reading unit, and information corresponding to a window set consisting of the plurality of windows is read by the above-mentioned An information reading device comprising: a recognition means for reading from a storage means and restoring binary information recorded on a record carrier from the read information.
JP58134604A 1983-07-22 1983-07-22 Information reader Granted JPS6027074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58134604A JPS6027074A (en) 1983-07-22 1983-07-22 Information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58134604A JPS6027074A (en) 1983-07-22 1983-07-22 Information reader

Publications (2)

Publication Number Publication Date
JPS6027074A JPS6027074A (en) 1985-02-12
JPH0157393B2 true JPH0157393B2 (en) 1989-12-05

Family

ID=15132281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58134604A Granted JPS6027074A (en) 1983-07-22 1983-07-22 Information reader

Country Status (1)

Country Link
JP (1) JPS6027074A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1329263C (en) * 1989-03-01 1994-05-03 Mark Krichever Bar code scanner
JPH0378894A (en) * 1989-08-22 1991-04-04 J S K:Kk Information transmitting method by dot copy

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5410636A (en) * 1977-06-27 1979-01-26 Nec Corp Bar code reader
JPS55115165A (en) * 1979-02-28 1980-09-04 Hitachi Ltd Optical information reader

Also Published As

Publication number Publication date
JPS6027074A (en) 1985-02-12

Similar Documents

Publication Publication Date Title
US5790715A (en) Method and apparatus for recording/reproducing mesh pattern data
JPS61213973A (en) Input image corrector
US4807041A (en) Microfilm reader scanner capable of editing image
JPH0612515A (en) Method and apparatus for decoding two-dimensional bar code using CCD / CMD camera
JPH09114951A (en) Information recording medium
JPS6322114B2 (en)
JPH0670170A (en) Picture processor
JPH0233195B2 (en) DEJITARUJOHONOKIROKUHOHOOYOBIKIROKUTANTAI
JPH0157393B2 (en)
JP2734638B2 (en) Data reading method and device
US4912311A (en) Information recording carrier
JP5515012B2 (en) Bar code information reading method and bar code information reading device
JP2009175845A (en) Image processor, pen device, and program
JP4128307B2 (en) Code image reader
JPS6231547B2 (en)
JP5453594B2 (en) Symbol information reading apparatus and symbol information reading method
JPS62152093A (en) Character picture binary-coding device
JPS61201560A (en) Image processing device
JPH07319988A (en) Machine reading mark reading device
JP3014257B2 (en) Document reading device
JP3576893B2 (en) Barcode reading method and reader
JPH05324878A (en) Data recording method and device
JPS594272A (en) Uneven density correcting system
JPS61137472A (en) Image processing method
JPH08204918A (en) Image input device