JPH0652373A - Asymmetric pattern code and its reading system - Google Patents

Asymmetric pattern code and its reading system

Info

Publication number
JPH0652373A
JPH0652373A JP4219561A JP21956192A JPH0652373A JP H0652373 A JPH0652373 A JP H0652373A JP 4219561 A JP4219561 A JP 4219561A JP 21956192 A JP21956192 A JP 21956192A JP H0652373 A JPH0652373 A JP H0652373A
Authority
JP
Japan
Prior art keywords
code
pattern
data
asymmetric
coordinates
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
JP4219561A
Other languages
Japanese (ja)
Inventor
Kazuhide Nakaji
一秀 中治
Kazuyasu Tsuchiya
一康 土屋
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP4219561A priority Critical patent/JPH0652373A/en
Publication of JPH0652373A publication Critical patent/JPH0652373A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an asymmetric pattern code without requiring a reference point to decide coordinates and with high security. CONSTITUTION:Asymmetric unit code patterns 1, 2, 3... are formed by arranging four measure shape code elements 1-1,..., 1-4 by connecting one of them to an upper stage and three of them to a lower stage asymmetrically, and the asymmetric pattern code can be comprised by arranging plural asymmetric unit code patterns 1, 2, 3... Since the unit code pattern is formed asymmetrically, it is possible to decide the upper/lower and right/left directions even when no reference point exists, which enables the coordinates for reading processing to be easily found.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、データの書き込みや
読み取りのための基準座標の配置を不要にした非対称パ
ターンコード、及びその読み取り方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an asymmetric pattern code which does not require arrangement of reference coordinates for writing and reading data, and a reading method thereof.

【0002】[0002]

【従来の技術】従来、プリペイドカード,商品のタグカ
ードなどのカードや、物品自体に情報を記録する際に
は、種々のコードが用いられている。例えば1次元コー
ドとしてはバーコードがよく用いられており、また2次
元コードとしては田の字の中の4つの枡目を塗り分け、
16通りのデータを表現できるようにしたカルラコードと
称されるコードが開発されている。
2. Description of the Related Art Conventionally, various codes have been used to record information on a card such as a prepaid card, a tag card of a product, or the product itself. For example, a bar code is often used as a one-dimensional code, and as a two-dimensional code, four cells in a square are painted separately.
A code called a Carla code has been developed that can express 16 types of data.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
コードは、コードデータを読み取り書き込むためには、
スタートポイント等の基準座標が必要であり、この基準
座標がないと、データの読み取りや書き込みができず、
且つコードデータが基準座標から少しでもずれた位置に
記録されたりすると誤りを生じる等の問題点があった。
また上下左右を識別するためには、複数の基準座標が必
要な場合もあり、そのためデータエリアが少なくなって
しまうという問題点もあった。更には基準座標はコード
データを解読するための鍵となるなどセキリュティにも
問題があった。
However, in the conventional code, in order to read and write the code data,
A reference coordinate such as a start point is required. Without this reference coordinate, data cannot be read or written,
Moreover, if the code data is recorded at a position that is slightly deviated from the reference coordinates, there is a problem that an error occurs.
In addition, there are cases where a plurality of reference coordinates are required to identify the top, bottom, left, and right, which reduces the data area. Further, there is a problem in security such that the reference coordinates are a key for decoding the code data.

【0004】本発明は、従来のコードにおける上記問題
点を解消するためなされたもので、基準座標が設けられ
ていなくても記録データを正確に読み取ることができ、
座標とデータ記録位置のずれによる誤りを少なくしセキ
ュリティの向上を計った非対称パターンコード及びその
読み取り方式を提供することを目的とする。
The present invention has been made in order to solve the above problems in the conventional code, and the recorded data can be accurately read even if the reference coordinates are not provided.
It is an object of the present invention to provide an asymmetric pattern code and its reading method, which are improved in security by reducing the error caused by the deviation between the coordinate and the data recording position.

【0005】[0005]

【課題を解決するための手段及び作用】上記問題点を解
決するため、本発明は、複数個の枡目状コードエレメン
トを非対称形状に接続配置し、各コードエレメントを選
択的に塗り潰してデータを記録できるようにした単位コ
ードパターンを複数個配列して非対称パターンコードを
構成する。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention arranges a plurality of grid-shaped code elements in an asymmetrical shape and selectively fills each code element to obtain data. An asymmetric pattern code is constructed by arranging a plurality of unit code patterns that can be recorded.

【0006】このように構成した非対称パターンコード
においては、単位コードパターンのコードエレメントを
塗り潰すことによりデータを記録することができ、そし
て各単位コードパターンにデータを記録したとき、単位
コードパターンの非対称形状に応じて上下又は左右方向
でデータの記録される比率が一定となるので、読み取り
時にその所定比率となる位置によってコードを読み取る
ために必要な座標を容易に求められ、したがってスター
トポイント等の基準座標の配置を必要としないコードを
実現することができる。
In the asymmetric pattern code thus constructed, the data can be recorded by filling the code elements of the unit code pattern, and when the data is recorded in each unit code pattern, the asymmetry of the unit code pattern is obtained. Since the ratio of data recorded in the vertical or horizontal direction is constant depending on the shape, the coordinates necessary for reading the code can be easily obtained depending on the position where the predetermined ratio is obtained at the time of reading. It is possible to implement code that does not require coordinate arrangement.

【0007】また本発明に係る非対称パターンコードの
読み取り方式は、各単位コードパターンにおける上下又
は左右方向のデータの有無の比率を検出し、予め単位コ
ードパターンの非対称形状に応じて設定された比率と対
比することにより、コードデータを読み取るために必要
な座標を設定し、該座標に基づいてコードデータを読み
取るようにするものである。
Further, according to the asymmetric pattern code reading method of the present invention, the ratio of the presence or absence of vertical or horizontal data in each unit code pattern is detected and the ratio set in advance according to the asymmetric shape of the unit code pattern is detected. By contrast, the coordinates necessary for reading the code data are set, and the code data is read based on the coordinates.

【0008】このように構成した読み取り方式において
は、請求項1に規定された構成の非対称パターンコード
は、その単位コードパターンの非対称形状に応じて上下
又は左右方向のデータの有無の比率は一定となるので、
記録されたパターンコードの各単位コードパターンにお
ける上下又は左右方向のデータの有無の比率を検出し、
上記設定比率を対比して一致する位置に基づいて座標を
設定し、コードデータを読み取る。したがってスタート
ポイント等の基準座標が配置されていなくても、上下左
右を容易に識別でき正確にデータを読み取ることが可能
となる。
In the thus constructed reading method, the asymmetric pattern code having the structure defined in claim 1 has a constant ratio of presence / absence of vertical or horizontal data depending on the asymmetrical shape of the unit code pattern. So
Detects the ratio of the presence or absence of vertical or horizontal data in each unit code pattern of the recorded pattern code,
Coordinates are set based on the matching positions by comparing the set ratios, and the code data is read. Therefore, even if the reference coordinates such as the start point are not arranged, the vertical and horizontal directions can be easily identified and the data can be accurately read.

【0009】[0009]

【実施例】次に実施例について説明する。図1は、本発
明に係る非対称パターンコードの一実施例を示す図であ
る。この実施例は、単位コードパターン1を4つの枡目
状コードエレメントを用い、上段に1個のコードエレメ
ント1-1を配置し、下段には3個のコードエレメント1
-2,1-3,1-4を配置し、下段の左側のコードエレメン
ト1-2に上段のコードエレメント1-1を重ねて結合し、
非対称形状に構成したものである。そしてこのように構
成した単位パターンコード1,2,3,・・・を複数個配
列して非対称パターンコードを構成している。そしてコ
ードエレメント1-1,・・・ 1-4に、1,2,4,8の2
進法4桁のコードをもたせ、選択的に塗り潰すことによ
り、0〜15までの16の情報を表現できるようになってい
る。
EXAMPLES Next, examples will be described. FIG. 1 is a diagram showing an embodiment of an asymmetric pattern code according to the present invention. In this embodiment, the unit code pattern 1 uses four grid-shaped code elements, one code element 1-1 is arranged in the upper stage, and three code elements 1 are arranged in the lower stage.
-2, 1-3, 1-4 are arranged, the upper left code element 1-2 is overlapped with the lower left code element 1-2,
It has an asymmetrical shape. A plurality of unit pattern codes 1, 2, 3, ... Configured in this way are arranged to form an asymmetric pattern code. And code elements 1-1, ... 1-4, 2 of 1, 2, 4, 8
By providing a 4-digit code with a base and selectively filling it, 16 information from 0 to 15 can be expressed.

【0010】この構成の単位パターンコードの上下のデ
ータのバラツキは1:3になっているので、逆に読み出
し時にデータの上下のバラツキの確率を求めることによ
って、プリペイドカード等に形成されたコードパターン
を処理するために必要なスタートポイント等の座標を求
めることができる。
Since the variation of the upper and lower data of the unit pattern code of this configuration is 1: 3, conversely, by obtaining the probability of the variation of the upper and lower data at the time of reading, the code pattern formed on the prepaid card or the like. It is possible to obtain the coordinates such as the start point necessary for processing the.

【0011】このように非対称パターンコードは予め基
準ポイントを設定していなくても上下左右を判別するこ
とができ、基準ポイントを設けていないため、コード解
析の手掛かりが見つけにくくセキュリティ性が高くな
る。また基準ポイントの印字が不要になりデータエリア
が広く使えるようになる。
As described above, the asymmetric pattern code can be discriminated between upper, lower, left and right even if a reference point is not set in advance. Since no reference point is provided, it is difficult to find a clue for code analysis and security is improved. In addition, the printing of reference points is no longer necessary and the data area can be used widely.

【0012】図2は、他の実施例を示すもので、この実
施例は単位コードパターン11を6つの枡目状コードエレ
メントを用いて構成したものである。すなわち上段に1
個のコードエレメント11-1、中段に3個のコードエレメ
ント11-2,11-3,11-4、下段に2個のコードエレメント
11-5,11-6をそれぞれ配置し、中段の左側コードエレメ
ント11-2に上段のコードエレメント11-1を重ねて結合
し、中段の右側コードエレメント11-4を下段の左側コー
ドエレメント11-5に重ねて結合し、非対称形状に構成し
たものである。
FIG. 2 shows another embodiment, in which the unit code pattern 11 is constructed by using six grid-shaped code elements. Ie 1 in the upper row
Code element 11-1, 3 code elements in the middle row 11-2, 11-3, 11-4, 2 code elements in the lower row
11-5 and 11-6 are arranged respectively, the upper code element 11-1 is overlaid on the middle left code element 11-2, and the middle right code element 11-4 is connected to the lower left code element 11-. It is asymmetrically formed by stacking and combining with 5.

【0013】この単位コードパターンの場合は、各コー
ドエレメントに1,2,4,8,16,32の2進法6桁の
コードをもたせることにより、64の情報を表現すること
ができる。そしてこの構成の単位コードパターンの上中
下のデータのバラツキは、1:3:2となっているの
で、読み出し時に上中下のデータのバラツキの確率を求
めることにより、コードパターン処理のための座標を求
めることができる。
In the case of this unit code pattern, 64 pieces of information can be represented by giving each code element a binary 6-digit code of 1, 2, 4, 8, 16, and 32. Since the variation of the upper, lower and middle data of the unit code pattern of this configuration is 1: 3: 2, the probability of the variation of the upper, lower, middle and lower data at the time of reading is calculated to obtain the data for the code pattern processing. The coordinates can be obtained.

【0014】次にコードパターンの読み出しのために座
標を求める方式について、図3の概略フローチャートを
参照しながら説明する。まず予め、用いる非対称パター
ンコードの認識パターンデータをジェネレートしてテー
ブルにストアしておく。そして物品等に実際に記録され
た非対称パターンコードの読み出しのための座標を求め
るには、前記テーブルを検索して所定の認識パターンデ
ータを読み出し、一方、非対称パターンコードの記録さ
れている物品等の非対称パターンコードを検出器で検出
して非対称パターンコードのデータを読み込み、前記認
識パターンデータと比較して一致しているか否かを判断
させる。そして一致していない場合は、非対称パターン
コードの付された物品等を移動させながら、この比較動
作を一致するまで繰り返し、一致した時点でのデータに
基づいて非対称パターンコードの読み取りに必要な座標
が設定される。
Next, a method of obtaining the coordinates for reading the code pattern will be described with reference to the schematic flowchart of FIG. First, the recognition pattern data of the asymmetric pattern code to be used is generated and stored in a table in advance. Then, in order to obtain the coordinates for reading the asymmetric pattern code actually recorded on the article or the like, the table is searched to read predetermined recognition pattern data, while the article or the like having the asymmetric pattern code recorded is read. The asymmetric pattern code is detected by the detector, the data of the asymmetric pattern code is read, and compared with the recognition pattern data to determine whether or not they match. If they do not match, this comparison operation is repeated until the items with the asymmetric pattern code are moved, and the coordinates necessary for reading the asymmetric pattern code are determined based on the data at the time of the match. Is set.

【0015】[0015]

【発明の効果】以上実施例に基づいて説明したように、
本発明によれば、各単位コードパターンが非対称形状に
構成されているので、基準ポイントがなくても上下左右
の判別ができ、基準ポイントが配置されていないためコ
ード解析の手掛かりが見つけにくくセキュリティ性が向
上し、更に基準ポイントの配置が不要になるのでデータ
エリアが広く使えるようになる等の利点が得られる。
As described above on the basis of the embodiments,
According to the present invention, since each unit code pattern is formed in an asymmetrical shape, it is possible to discriminate up / down / left / right without a reference point, and since the reference point is not arranged, it is difficult to find a clue for code analysis and security is improved. Is improved, and the arrangement of the reference points is not required, so that the data area can be widely used, and other advantages can be obtained.

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

【図1】本発明に係る非対称パターンコードの一実施例
を示す図である。
FIG. 1 is a diagram showing an embodiment of an asymmetric pattern code according to the present invention.

【図2】本発明に係る非対称パターンコードの他の実施
例を示す図である。
FIG. 2 is a diagram showing another embodiment of the asymmetric pattern code according to the present invention.

【図3】本発明に係る非対称パターンコードの読み出し
に必要な座標を求める方式を説明するためのフローチャ
ートである。
FIG. 3 is a flowchart for explaining a method for obtaining coordinates necessary for reading an asymmetric pattern code according to the present invention.

【符号の説明】[Explanation of symbols]

1 単位コードパターン 1-1,・・・ 1-4 コードエレメント 2 単位コードパターン 3 単位コードパターン 4 単位コードパターン 1 unit code pattern 1-1, ... 1-4 code element 2 unit code pattern 3 unit code pattern 4 unit code pattern

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数個の枡目状コードエレメントを非対
称形状に接続配置し、各コードエレメントを選択的に塗
り潰してデータを記録できるようにした単位コードパタ
ーンを複数個配列してなる非対称パターンコード。
1. An asymmetric pattern code in which a plurality of grid-shaped code elements are connected and arranged in an asymmetrical shape, and a plurality of unit code patterns are arranged so that data can be recorded by selectively filling each code element. .
【請求項2】 請求項1記載の非対称パターンコードの
読み取り方式において、各単位コードパターンにおける
上下又は左右方向のデータの有無の比率を検出し、予め
単位コードパターンの非対称形状に応じて設定された比
率と対比することにより、コードデータを読み取るため
に必要な座標を設定し、該座標に基づいてコードデータ
を読み取るようにしたことを特徴とする非対称パターン
コードの読み取り方式。
2. The asymmetric pattern code reading method according to claim 1, wherein the ratio of the presence or absence of data in the vertical or horizontal direction in each unit code pattern is detected and set in advance according to the asymmetric shape of the unit code pattern. A method for reading an asymmetric pattern code, characterized in that the coordinates necessary for reading the code data are set by comparing with the ratio, and the code data is read based on the coordinates.
JP4219561A 1992-07-28 1992-07-28 Asymmetric pattern code and its reading system Pending JPH0652373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4219561A JPH0652373A (en) 1992-07-28 1992-07-28 Asymmetric pattern code and its reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4219561A JPH0652373A (en) 1992-07-28 1992-07-28 Asymmetric pattern code and its reading system

Publications (1)

Publication Number Publication Date
JPH0652373A true JPH0652373A (en) 1994-02-25

Family

ID=16737440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4219561A Pending JPH0652373A (en) 1992-07-28 1992-07-28 Asymmetric pattern code and its reading system

Country Status (1)

Country Link
JP (1) JPH0652373A (en)

Similar Documents

Publication Publication Date Title
US5304787A (en) Locating 2-D bar codes
US4388610A (en) Apparatus for reading drawings
JP2846442B2 (en) Non-volatile electro-optic read-only memory with high-density two-dimensional symbology
US5572602A (en) Image extraction system for extracting patterns such as characters, graphics and symbols from image having frame formed by straight line portions
EP0390162A2 (en) An apparatus for reading a bar code
JP3962891B2 (en) Document image processing apparatus, document image processing method, and storage medium
KR100242731B1 (en) Method and apparatus for reading barcode
JP6078399B2 (en) Symbol information reading apparatus, symbol information reading method, and program
US6005976A (en) Image extraction system for extracting patterns such as characters, graphics and symbols from image having frame formed by straight line portions
WO2003025845A1 (en) Machine-readable symbol and related method
JPH0652373A (en) Asymmetric pattern code and its reading system
JP6199641B2 (en) Form reader and program
JP4247190B2 (en) Two-dimensional code recognition device and program
JP3018477U (en) Prepaid card with pattern code
JPH0362284A (en) Character line extracting device
KR100701292B1 (en) Image code and method and apparatus for recognizing thereof
US3752964A (en) Apparatus for performing division and base conversion
JP7458600B2 (en) Information processing device and program
JPH0652372A (en) Data recording system
JP2619915B2 (en) Information processing method and apparatus
JPS6015994B2 (en) Pattern feature extraction method
JP2620222B2 (en) Optical digital data recording method
JPS62134767A (en) Automatic extracting device for symbol name and segment name
JP2878772B2 (en) Optical character reader
JPH0432433B2 (en)