JPH11316794A - Method for reading and deciding segment information - Google Patents

Method for reading and deciding segment information

Info

Publication number
JPH11316794A
JPH11316794A JP10123700A JP12370098A JPH11316794A JP H11316794 A JPH11316794 A JP H11316794A JP 10123700 A JP10123700 A JP 10123700A JP 12370098 A JP12370098 A JP 12370098A JP H11316794 A JPH11316794 A JP H11316794A
Authority
JP
Japan
Prior art keywords
segment
code
luminance difference
read
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10123700A
Other languages
Japanese (ja)
Inventor
Satoru Kajiyama
哲 梶山
Takao Iwata
卓男 岩田
Kozo Yamauchi
鉱三 山内
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.)
Aisin AW Co Ltd
Original Assignee
Aisin AW 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 Aisin AW Co Ltd filed Critical Aisin AW Co Ltd
Priority to JP10123700A priority Critical patent/JPH11316794A/en
Publication of JPH11316794A publication Critical patent/JPH11316794A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a segment information reading and deciding method which makes it possible to read segment information even if a recording plate, etc., where codes are recorded is dipped and stained or if lighting changes. SOLUTION: A code to be picked up as an image, the positions of segments which possibly constitute the picket-up image on the image are calculated, and differences in mean luminance between a small circle SS and a large circle BS are calculated at the positions of the respective segments on the image, the luminance differences at the positions of the calculated respective segment are compared with prescribed decision reference luminance difference; and when the luminance differences at the respective segment positions are larger than a decision reference luminance difference, it is decided that the segments 71 constituting the code at the positions of the segments are actually present and the code 7b of the image to be read which is picked up is decided on the basis of the decision result.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、セグメント化され
た文字、記号などの符号を画像処理により読み取り判定
するセグメント情報読み取り判定方法に係り、特に符号
が記録された記録板等が熱、泥、塵埃その他により汚損
されたり、照明の劣化や自然光の影響を受けた状態で
も、読み取りを可能ならしめるセグメント情報読み取り
判定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of reading segment information by reading codes such as segmented characters and symbols by image processing. The present invention relates to a segment information reading determination method that enables reading even in a state of being stained by dust or the like, being deteriorated by illumination, or affected by natural light.

【0002】[0002]

【従来の技術】従来、例えば生産現場においては、部品
の履歴を管理するために、当該部品を搭載するパレット
などに当該部品に対応した管理番号などを付与してお
き、各工程において、当該管理番号をバーコード等とし
て読み取って、該管理番号に対応してコンピュータなど
に格納されている部品の管理情報を読み出し、該管理情
報に基づいて当該部品の生産管理を行っている。
2. Description of the Related Art Conventionally, for example, at a production site, in order to manage the history of parts, a control number or the like corresponding to the part is assigned to a pallet or the like on which the part is mounted. The number is read as a barcode or the like, the management information of the part stored in the computer or the like is read in correspondence with the management number, and the production management of the part is performed based on the management information.

【0003】[0003]

【発明が解決しようとする課題】しかし、金属部品を浸
炭等の熱処理する場合などには、熱処理炉中をパレット
などを通過させる必要から、管理番号が書かれたプレー
トなどが浸炭及び熱等により黒く変色してしまい、読み
取り困難となる場合が多い。
However, when a metal part is subjected to heat treatment such as carburizing, it is necessary to pass a pallet or the like through a heat treatment furnace. In many cases, the color changes to black and reading becomes difficult.

【0004】こうしたことを避けるために、熱処理の前
後でプレートをパレットから外し、プレートの浸炭等に
よる汚損を防止する方法も取られているが、プレートの
脱着手間が掛かるばかりか、熱処理後に多数のパレット
に誤り無く対応するプレートを装着するためには、パレ
ット内容部品の確認などの多くの手間が掛かり、結果的
に製造工数の増大につながることとなる。
In order to avoid such a problem, a method of removing the plate from the pallet before and after the heat treatment to prevent the plate from being stained by carburizing or the like has been taken. In order to mount the corresponding plate on the pallet without error, a lot of trouble such as confirmation of the contents of the pallet is required, resulting in an increase in the number of manufacturing steps.

【0005】本発明は、上記事情に鑑み、符号が記録さ
れた記録板等が浸炭、熱、油、泥、塵埃その他により汚
損されたり、照明の劣化や自然光の影響を受けた状態で
も、読み取りを可能ならしめるセグメント情報読み取り
判定方法を提供することを目的とするものである。
[0005] In view of the above circumstances, the present invention is intended for reading even when a recording plate or the like on which a code is recorded is stained by carburizing, heat, oil, mud, dust, or the like, or is deteriorated by illumination or affected by natural light. It is an object of the present invention to provide a segment information reading / judging method that makes it possible.

【0006】[0006]

【課題を解決するための手段】請求項1に係る本発明
は、読み取るべき符号(7b)を画像(GZ)として撮
象し、該撮象された前記符号(7b)を複数のセグメン
ト(7c)から構成されたものとして、前記各符号につ
いて該符号を構成しうる各セグメントの前記画像上での
位置(S1、S2、S3、S4、S5、S6、S7)を
演算し、前記演算された各符号を構成しうる各セグメン
トの前記画像上での位置において、その中心部(SS)
と該中心部の周囲所定範囲の周辺部(BS)との輝度差
(DF)を演算し、前記演算された前記各セグメントの
位置の輝度差と所定の判定基準輝度差(DF1)を比較
し、各セグメント位置の輝度差が前記判定基準輝度差よ
りも大きい場合に、前記セグメントの位置に前記符号を
構成するセグメントが実際に存在するものと判定し、前
記判定結果に基いて撮象された読み取るべき画像の符号
を判定するようにしたセグメント情報読み取り判定方法
にある。
According to the first aspect of the present invention, a code to be read (7b) is photographed as an image (GZ), and the photographed code (7b) is divided into a plurality of segments (7c). ), The position (S1, S2, S3, S4, S5, S6, S7) of each segment that can constitute the code on the image is calculated for each of the codes. At the position on the image of each segment that can constitute each code, its center (SS)
And calculating a luminance difference (DF) between the segment and a peripheral portion (BS) of a predetermined range around the central portion, and comparing the calculated luminance difference at the position of each segment with a predetermined judgment reference luminance difference (DF1). In the case where the luminance difference at each segment position is larger than the determination reference luminance difference, it was determined that the segment constituting the code actually exists at the position of the segment, and the image was captured based on the determination result. A segment information reading determination method is provided for determining the sign of an image to be read.

【0007】請求項2に係る本発明は、前記判定基準輝
度差は、前記演算された前記各セグメントの位置の輝度
差に基いてクラスター分析手法により、デンドログラム
(DG)を作成し、該デンドログラムが一つにまとまる
直前の輝度差の2分点をクラスター分析判定値として演
算した値(CV)である請求項1記載のセグメント情報
読み取り判定方法にある(図14参照)。
According to a second aspect of the present invention, the determination reference brightness difference is obtained by creating a dendrogram (DG) by a cluster analysis method based on the calculated brightness difference of the position of each segment. The segment information reading determination method according to claim 1, wherein the value is a value (CV) calculated as a cluster analysis determination value using a bisecting point of the luminance difference immediately before the gram is united (see FIG. 14).

【0008】請求項3に係る本発明は、前記各セグメン
トの位置の輝度差と前記判定基準輝度差を比較する際
に、画像上の各符号により前記判定基準輝度差(DF
1)を変動させて判定を行うことを特徴とする請求項1
又は2記載のセグメント情報読み取り判定方法にある
(図12参照)。
According to a third aspect of the present invention, when comparing the luminance difference at the position of each segment with the judgment reference luminance difference, the judgment reference luminance difference (DF
2. The method according to claim 1, wherein the determination is performed by varying (1).
Or the segment information reading determination method described in 2 (see FIG. 12).

【0009】請求項4に係る本発明は、デンドログラム
を作成する際に、セグメント位置にセグメントが無い状
態を示す輝度差座標位置にダミーデータ(DD)を初期
値としてあらかじめ設定しておくようにした請求項2記
載のセグメント情報読み取り判定方法にある。
According to a fourth aspect of the present invention, when a dendrogram is created, dummy data (DD) is preset as an initial value at a luminance difference coordinate position indicating that there is no segment at a segment position. According to a second aspect of the present invention, there is provided a segment information reading determination method.

【0010】請求項5に係る本発明は、前記ダミーデー
タの輝度差値は、セグメントが無い状態のセグメント位
置における輝度差の平均値に対して、その標準偏差の2
倍だけセグメントが有るほうにシフトした値を用いた請
求項2又は4記載のセグメント情報読み取り判定方法に
ある。
According to a fifth aspect of the present invention, the luminance difference value of the dummy data is two standard deviations of the average value of the luminance difference at the segment position where there is no segment.
5. The segment information reading / judging method according to claim 2, wherein a value shifted to the side where the segment exists by twice is used.

【0011】請求項6に係る本発明は、小枠(SS)と
該小枠を取り囲む形で設けられた大枠(BS)からなる
輝度検出窓(26)を前記画像上に設定し、前記画像上
に設定された輝度検出窓の、前記小枠内の輝度と前記小
枠と大枠間の環状部分の平均輝度の差に基いて前記輝度
差を演算することを特徴とする請求項1から5のいずれ
か1項記載のセグメント情報読み取り判定方法にある
(図10参照)。
According to a sixth aspect of the present invention, a brightness detection window (26) comprising a small frame (SS) and a large frame (BS) provided so as to surround the small frame is set on the image. 6. The luminance difference is calculated based on a difference between the luminance in the small frame and the average luminance of an annular portion between the small frame and the large frame in the luminance detection window set above. (See FIG. 10).

【0012】請求項7に係る本発明は、前記輝度検出窓
は、同心円状に形成された小円(SS)と大円(LS)
である請求項6記載のセグメント情報読み取り判定方法
にある。
According to a seventh aspect of the present invention, the brightness detection window includes a concentric small circle (SS) and a large circle (LS).
7. The segment information reading determination method according to claim 6, wherein

【0013】請求項8に係る本発明は、複数の符号を読
み取り判定する場合に、読み取り判定するそれら複数の
符号に当該複数の符号の組み合わせに基くチェック符号
を付加しておき、それら符号の読み取り判定に際して、
読み取り判定された各符号に関して、判定された以外の
符号としての読み取りの可能性を判定して、当該可能性
の有る符号について予備符号としてメモリに格納してお
き、読み取り判定された画像の符号の正確性を、該符号
の組み合わせに付された前記チェック符号に基いてチェ
ックし、その結果、正しく読み取られていないものと判
定された符号の組み合わせに関して予備符号を対応する
符号に代入して同様のチェックを行い、その結果、正し
く読み取られたものと判定された場合には、当該予備符
号を正しい符号と判定するようにした請求項1から7の
いずれか1項記載のセグメント情報読み取り判定方法に
ある。
According to an eighth aspect of the present invention, when a plurality of codes are read and determined, a check code based on a combination of the plurality of codes is added to the plurality of codes to be read and the codes are read. At the time of judgment,
For each code determined to be read, the possibility of reading as a code other than the determined code is determined, and the code having the possibility is stored in a memory as a spare code, and the code of the image determined to be read is determined. The accuracy is checked based on the check code given to the combination of the codes, and as a result, a spare code is substituted for the corresponding code with respect to the combination of the codes determined to be incorrectly read, and the same 8. The segment information reading determination method according to claim 1, wherein a check is performed, and as a result, when it is determined that the spare code is correctly read, the spare code is determined to be a correct code. is there.

【0014】請求項9に係る本発明は、読み取るべき符
号は、板状部材(7)に穿設された複数のセグメント穴
(7e)により構成される符号である請求項1から8の
いずれか1項記載のセグメント情報読み取り判定方法に
ある(図3参照)。
According to a ninth aspect of the present invention, the code to be read is a code constituted by a plurality of segment holes (7e) formed in the plate-like member (7). This is in the segment information reading determination method described in item 1 (see FIG. 3).

【0015】請求項10に係る本発明は、前記符号は数
字である請求項9記載のセグメント情報読み取り判定方
法にある(図4参照)。
According to a tenth aspect of the present invention, there is provided the segment information reading determination method according to the ninth aspect, wherein the code is a numeral (see FIG. 4).

【0016】請求項11に係る本発明は、読み取るべき
符号は、熱処理されるパレットに装着された板状部材に
穿設された複数のセグメント穴(7e)により構成され
る数字である請求項10項記載のセグメント情報読み取
り判定方法にある。
According to an eleventh aspect of the present invention, the code to be read is a numeral constituted by a plurality of segment holes (7e) formed in a plate-like member mounted on a pallet to be heat-treated. In the segment information reading determination method described in the section.

【0017】なお、上記カッコ内の番号等は、図面にお
ける対応する要素を示す便宜的なものであり、従って、
本記述は図面上の記載に限定拘束されるものではない。
以下の[作用]に関しても同様である。
The numbers in parentheses are for convenience indicating corresponding elements in the drawings.
This description is not limited to the description on the drawings.
The same applies to the following [action].

【0018】[作用]上記した構成により、本発明は、
符号を構成する各セグメントの有無を輝度差により判定
する。
[Operation] With the above configuration, the present invention provides:
The presence or absence of each segment constituting the code is determined based on the luminance difference.

【0019】この際、クラスター分析の手法を用いるこ
とにより、画一的な判定基準輝度差の適用を排除し得
る。
At this time, the use of a uniform judgment reference luminance difference can be eliminated by using the cluster analysis technique.

【0020】また、判定基準輝度差を変動させることに
より、符号の画像状態に合わせて適切に各セグメントの
有無を判定する。
Further, the presence or absence of each segment is appropriately determined according to the image state of the code by changing the determination reference luminance difference.

【0021】ダミーデータにより、全てのセグメント位
置にセグメントが実在する場合にも、容易に対応するこ
とができる。
With the dummy data, it is possible to easily cope with the case where the segments exist at all the segment positions.

【0022】予備符号を格納しておくことにより、チェ
ック符号によるチェックの結果、読み取り不良と判定さ
れた符号に対しても、正しい符号の推定が可能となる。
By storing the spare code, it is possible to estimate a correct code even for a code determined as a reading error as a result of the check by the check code.

【0023】[0023]

【発明の効果】請求項1に係る本発明によると、セグメ
ントの位置にセグメントが実際に有るか否かを判定する
際に、輝度差を使用することにより、読み取るべき符号
の周囲の汚れや、又は照明の劣化や自然光の影響を受け
て画像の明暗に判定が左右されがちな絶対値輝度による
場合よりも、正確にセグメントの有無を判定することが
でき、符号が記録された記録板等が浸炭、熱、泥、塵埃
その他により汚損されたり照明の状況が変化した状態で
も、読み取りを可能ならしめることが出来る。
According to the first aspect of the present invention, when judging whether or not a segment is actually present at the position of the segment, the use of the luminance difference makes it possible to remove dirt around the code to be read, Or, the presence or absence of a segment can be determined more accurately than in the case of the absolute value luminance, which is likely to be influenced by the brightness of the image due to the deterioration of lighting or natural light, and the recording board etc. with the code recorded It is possible to read even in a state of being stained by carburization, heat, mud, dust, or the like, or in a state where lighting conditions have changed.

【0024】請求項2に係る本発明によると、クラスタ
ー分析なる統計的手法を用いてクラスター分析判定値
(CV)を設定することができるので、判定基準輝度差
がフローティングして、将来予測不能な照度の変化や記
録板の汚損等に自動的にかつ柔軟に対応して、判定の信
頼性の向上に寄与することが出来る。
According to the second aspect of the present invention, since the cluster analysis judgment value (CV) can be set by using a statistical technique called cluster analysis, the judgment reference luminance difference floats and cannot be predicted in the future. It is possible to automatically and flexibly respond to a change in illuminance, contamination of the recording plate, and the like, thereby contributing to an improvement in the reliability of the determination.

【0025】請求項3に係る本発明によると、判定基準
輝度差を変動させることにより、各符号の画像状態にキ
メ細かく対応してセグメントの有無を判定することがで
きるので、符号が記録された記録板等が汚損された状態
でも、そうした汚損状態に適合させて判定基準輝度差を
変動させて判定することが可能となり、信頼性の高い判
定が可能となる。
According to the third aspect of the present invention, the presence or absence of a segment can be determined in a finely corresponding manner to the image state of each code by changing the determination reference luminance difference. Even when the plate or the like is contaminated, it is possible to make a judgment by changing the judgment reference luminance difference in conformity with such a contaminated state, and it is possible to make a highly reliable judgment.

【0026】請求項4に係る本発明によると、ダミーデ
ータ(DD)により全てのセグメント位置にセグメント
が有る場合でも、クラスター分析の手法を適切に活用す
ることが可能となる。
According to the fourth aspect of the present invention, it is possible to appropriately utilize the cluster analysis method even when there are segments at all segment positions by the dummy data (DD).

【0027】請求項5に係る本発明によると、このよう
にダミーデータを設定することによりクラスター分析判
定値(CV)を適切な値に設定することが可能となり、
極めて効率的にセグメントの有無を判定することが可能
となることが実験的に確かめられた。
According to the fifth aspect of the present invention, by setting the dummy data in this manner, it becomes possible to set the cluster analysis determination value (CV) to an appropriate value,
It has been experimentally confirmed that the existence of a segment can be determined very efficiently.

【0028】請求項6及び7に係る本発明によると、輝
度検出窓(26)により、小枠(小円)がセグメントを
捕捉し、その周囲の環状部分が、セグメント周囲の部分
を捕捉することができ、そのセグメント内外平均の輝度
の差を有効に補足することが可能となる。
According to the sixth and seventh aspects of the present invention, the small frame (small circle) captures the segment and the annular portion surrounding the segment captures the portion around the segment by the luminance detection window (26). It is possible to effectively supplement the difference in the average luminance between the inside and outside of the segment.

【0029】請求項8に係る本発明によると、チェック
符号により読み取り不良となっても、予備符号を代入す
ることにより、正しい符号を推定することが出来、読み
取りの信頼性を高めることができる。
According to the present invention, even if a reading error occurs due to the check code, the correct code can be estimated by substituting the spare code, and the reading reliability can be improved.

【0030】請求項9および10に係る本発明による
と、板状部材に穿設された数字などの符号を適切に読み
取ることができ、かつ該セグメントからなる数字等の符
号は、人間にも解読可能であり、管理が容易となる。
According to the ninth and tenth aspects of the present invention, it is possible to appropriately read a code such as a number drilled in a plate-like member, and a code such as a number formed of the segment can be read by a human. It is possible and management becomes easy.

【0031】請求項11に係る本発明によると、熱処理
などの符号が汚損される恐れが強い生産現場において
も、適切に数字を読み取ることが出来、熱処理の前後に
いちいち板状部材を脱着したりする必要が無く、それに
伴うパレット内容部品の確認作業なども不要となり、製
造工数の低下に効果的である。
According to the eleventh aspect of the present invention, even in a production site where the sign of heat treatment or the like is liable to be stained, the numbers can be read properly, and the plate member can be detached before and after the heat treatment. This eliminates the need to perform the work of confirming the pallet contents and the like, which is effective in reducing the number of manufacturing steps.

【0032】[0032]

【発明の実施の形態】以下、図面に沿って、本発明に係
る実施の形態について説明する。図1は、セグメント情
報読み取り判定装置1の一例が適用されたコンベア搬送
ライン2であり、コンベア搬送ライン2は、所定の搬送
ラインに沿って設置されたベルトコンベア5を有してい
る。ベルトコンベア5には、パレット3が該ベルトコン
ベア5により所定の搬送方向に向けて搬送自在な形で搭
載されており、パレット3上には部品6が搭載されてい
る。パレット3の側面には、ブラケット3a及び取り付
けボルトナット3bを介して管理ナンバープレート7が
着脱自在に装着されており、管理ナンバープレート7に
は、図3に示すように、パレット3に搭載された部品6
に対応した5桁の管理ナンバー7aが、該管理ナンバー
プレート7に穿設された形で形成されている。管理ナン
バー7aを構成する各数字7bは、図4に示すように、
7個のセグメント7cの公知の組み合わせから構成され
ており、また、管理ナンバープレート7には、上記した
管理ナンバー7aのほかに、2個の読み取り基準穴7d
が所定の間隔で貫通穿設されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a conveyor transport line 2 to which an example of the segment information reading determination device 1 is applied. The conveyor transport line 2 has a belt conveyor 5 installed along a predetermined transport line. The pallet 3 is mounted on the belt conveyor 5 in such a manner that the pallet 3 can be transported by the belt conveyor 5 in a predetermined transport direction, and the components 6 are mounted on the pallet 3. A management license plate 7 is removably mounted on the side surface of the pallet 3 via a bracket 3a and mounting bolts and nuts 3b. The management license plate 7 is mounted on the pallet 3 as shown in FIG. Part 6
Is formed in the form of being drilled in the management number plate 7. Each number 7b constituting the management number 7a is, as shown in FIG.
It is composed of a known combination of seven segments 7c. The management number plate 7 has two reading reference holes 7d in addition to the management number 7a.
Are provided at predetermined intervals.

【0033】コンベア搬送ライン2の途中の適宜な位置
には、図1に示すように、セグメント情報読み取り判定
装置1が設けられており、セグメント情報読み取り判定
装置1は、当該コンベア搬送ライン2のベルトコンベア
5上を搬送されてくるパレット3に付された管理ナンバ
ープレート7に穿設された管理ナンバー7aを読み取
り、適宜な生産管理装置に出力することが出来る。
As shown in FIG. 1, a segment information reading / judging device 1 is provided at an appropriate position in the middle of the conveyor conveying line 2. The management number 7a formed on the management number plate 7 attached to the pallet 3 conveyed on the conveyor 5 can be read and output to an appropriate production management device.

【0034】セグメント情報読み取り判定装置1は、ブ
ラケット5aを介してベルトコンベア5のフレーム5b
に支持されたCCDカメラ9を有しており、CCDカメ
ラ9は、読み取り判定装置1の本体1aに接続されてい
る。本体1aは、図2に示すように、主制御部10を有
しており、主制御部10には、バス線14を介してCC
Dカメラ9が接続された画像処理部11、輝度値演算部
12、セグメント輝度差分析判定部13、輝度差分析補
正部15、クラスター分析判定部16、デジッド情報判
定部17、本体1aとは別に分離された入力部19、出
力部20及びCRTなどの表示部21が接続している。
出力部20には、コントローラ22が接続している。な
お、図1の番号23は、CCDカメラ9の撮影用に、ベ
ルトコンベア5のフレーム5bに設けられた照明装置で
ある。
The segment information reading / judging device 1 is connected to the frame 5b of the belt conveyor 5 via the bracket 5a.
The CCD camera 9 is connected to the main body 1a of the reading determination device 1. The main body 1a has a main control unit 10 as shown in FIG.
Apart from the image processing unit 11, the luminance value calculation unit 12, the segment luminance difference analysis determination unit 13, the luminance difference analysis correction unit 15, the cluster analysis determination unit 16, the digit information determination unit 17, and the main unit 1a to which the D camera 9 is connected. The input unit 19, the output unit 20, and the display unit 21 such as a CRT are connected to each other.
The controller 22 is connected to the output unit 20. Reference numeral 23 in FIG. 1 denotes an illumination device provided on the frame 5b of the belt conveyor 5 for photographing by the CCD camera 9.

【0035】セグメント情報読み取り判定装置1などは
以上のような構成を有するので、ベルトコンベア5上を
搬送されてくるパレット3に付された管理ナンバープレ
ート7を読み取って、パレット3に搭載された部品6の
管理を行う場合には、セグメント情報読み取り判定装置
1は、図示しない適宜なメモリに格納された、図5に示
す処理プログラムを読み出し、該プログラムに基づいて
セグメント情報の読み取り判定動作を行ってゆく。
Since the segment information reading / judging device 1 and the like have the above-described configuration, the management information plate 7 attached to the pallet 3 conveyed on the belt conveyor 5 is read, and the components mounted on the pallet 3 are read. 6 is performed, the segment information reading determination device 1 reads the processing program shown in FIG. 5 stored in an appropriate memory (not shown), and performs a reading determination operation of the segment information based on the program. go.

【0036】主制御部10は、まず、CCDカメラ9に
対して、ベルトコンベア5により搬送されてくる各パレ
ット3に装着された管理ナンバープレート7を読み込む
ように指令する。これを受けて、CCDカメラ9は、ベ
ルコンベア5上を搬送されてくるパレット3に付された
管理ナンバープレート7の画像を捕捉し、撮影した画像
を画像情報VIFとして図2の画像処理部11に出力す
る。
First, the main control unit 10 instructs the CCD camera 9 to read the management license plate 7 mounted on each pallet 3 conveyed by the belt conveyor 5. In response to this, the CCD camera 9 captures the image of the management license plate 7 attached to the pallet 3 conveyed on the belt conveyor 5, and uses the captured image as image information VIF in the image processing unit 11 of FIG. Output to

【0037】画像処理部11に画像情報VIFが入力さ
れたところで、主制御部10は処理プログラムのステッ
プS1に入り、画像処理部11に対して、画像情報VI
Fに基づいて、管理ナンバープレート7上の管理ナンバ
ー7aを解析する際に必要な、図7に示す、両側の読み
取り基準穴7d、7dを読み込むように指令する。画像
処理部7はこれを受けて、図10に示すような、同心円
状に設定された小円SS及び大円BSからなる検出窓2
6を、図7の読み取り基準穴7d近傍に設定された四角
枠25c内で画素上を移動させ、小円SS内の画素の輝
度値の平均値と小円SSと大円BSとの間のドーナツ状
部分内の画素の輝度値の平均値を比較して、その差がも
っとも大となる位置を検出し、当該部分を読み取り基準
穴7dと判定する。
When the image information VIF is input to the image processing unit 11, the main control unit 10 enters step S1 of the processing program, and sends the image information VIF to the image processing unit 11.
Based on F, a command is issued to read the reading reference holes 7d on both sides, which are necessary for analyzing the management number 7a on the management number plate 7, as shown in FIG. The image processing unit 7 receives this, and as shown in FIG. 10, the detection window 2 composed of concentric small circles SS and great circles BS.
6 is moved over the pixel within the square frame 25c set in the vicinity of the reading reference hole 7d in FIG. 7, and the average value of the luminance values of the pixels within the small circle SS and the distance between the small circle SS and the great circle BS are set. The average value of the luminance values of the pixels in the donut-shaped portion is compared, the position where the difference is the largest is detected, and the portion is determined as the reading reference hole 7d.

【0038】即ち、CCDカメラ9により捕捉された画
像を構成する各画素は、例えば、図8に示すように、管
理ナンバープレート7の表面の明度に応じて、256段
階の輝度値で分類された輝度値情報を有している。従っ
て、管理ナンバープレート7に穿設された状態の基準穴
7dに対応する画素は、通常、その他の汚れなどと比較
して最も明度の低い、即ち輝度値の低い値を示すことと
なる。そこで、検出窓26を四角枠25c内でスキャン
させ、小円SS内の画素の輝度値の平均値と小円SSと
大円BSとの間のドーナツ状部分内の画素の輝度値の平
均値を比較して、その差がもっとも大となる位置を検出
し、その時点での小円SSの中心画素の座標位置を読み
取り基準穴7dの位置と判定する。
That is, each pixel constituting the image captured by the CCD camera 9 is classified into 256 levels of luminance values according to the brightness of the surface of the management license plate 7, as shown in FIG. It has luminance value information. Therefore, the pixel corresponding to the reference hole 7d formed in the management license plate 7 usually has the lowest lightness, that is, the lowest luminance value as compared with other stains and the like. Then, the detection window 26 is scanned within the rectangular frame 25c, and the average value of the luminance values of the pixels in the small circle SS and the average value of the luminance values of the pixels in the donut-shaped portion between the small circle SS and the great circle BS are set. Are compared, the position where the difference is the largest is detected, and the coordinate position of the central pixel of the small circle SS at that time is read and determined as the position of the reference hole 7d.

【0039】こうして、両側の読み取り基準穴7d、7
dの画像GZ上での位置が判定演算されたところで、ス
テップS2に入り、主制御部10は、図7に示すよう
に、プレート7の画像GZ上での傾きθ及び両側の2個
の読み取り基準穴7d、7d間の画像上での長さBLA
を演算するように指令する。
Thus, the reading reference holes 7d, 7
When the position of d on the image GZ is determined and calculated, the process proceeds to step S2, and the main control unit 10 reads the inclination θ of the plate 7 and the two readings on both sides as shown in FIG. Length BLA on image between reference holes 7d, 7d
Is calculated.

【0040】即ち、管理ナンバープレート7上の管理ナ
ンバー7aを構成する5つの数字7bは、図6に示すよ
うに、図中左方の読み取り基準穴7dを基準位置P0と
した場合、基準位置P0から、両側の読み取り基準穴7
d、7dを結ぶ線分LS方向に、所定の基準距離XP
1、XP2、XP3、XP4、XP5だけ離れた位置に
設定された基準位置P1、P2、P3、P4、P5を基
準に形成され、かつ各数字7bを構成する7つのセグメ
ント7cの位置S1、S2、S3、S4、S5、S6、
S7は、対応する基準位置P1からP5を基準として、
図6に示すように、所定の位置に予め設定されている。
That is, as shown in FIG. 6, the five numerals 7b constituting the management number 7a on the management number plate 7 indicate that the reading reference hole 7d on the left side in the figure is the reference position P0. From the reading reference holes 7 on both sides
a predetermined reference distance XP in the direction of the line segment LS connecting
Positions S1, S2 of seven segments 7c formed on the basis of reference positions P1, P2, P3, P4, P5 set at positions separated by 1, XP2, XP3, XP4, XP5 and constituting each numeral 7b , S3, S4, S5, S6,
S7 is based on the corresponding reference positions P1 to P5.
As shown in FIG. 6, it is set in advance at a predetermined position.

【0041】従って、CCDカメラ9で捕捉された管理
ナンバープレート7の画像から、各管理ナンバー7の数
字7b及び各数字bを構成する各セグメント7cの位置
を特定するには、まず、図7に示すように、捕捉された
画像GZの両側の読み取り基準穴7d、7d間の画像上
での長さBLA(実際には、画素数)を演算すると共
に、両側の読み取り基準穴7d、7dを結ぶ線分LSの
画像上での傾き角度θを演算し、画像を角度θだけ回転
させて水平状態に補正する。次に、両側の基準点7d、
7d間の画像上での長さBLAと、既知の値である両側
の基準点7d、7d間の実際の長さBLと、各基準位置
P1、P2、P3、P4、P5の基準位置P0からの実
際の基準距離XP1、XP2、XP3、XP4、XP5
から、画像上の基準位置P0から各基準位置P1、P
2、P3、P4、P5までの画像上での基準距離XP1
A、XP2A、XP3A、XP4A、XP5Aを演算す
る。これは、画像上の長さBLAと実際の長さBLの割
合から、簡単に演算することが出来る。
Accordingly, in order to identify the position of the numeral 7b of each management number 7 and the position of each segment 7c constituting each numeral b from the image of the management number plate 7 captured by the CCD camera 9, FIG. As shown, the length BLA (actually, the number of pixels) on the image between the reading reference holes 7d on both sides of the captured image GZ is calculated, and the reading reference holes 7d on both sides are connected. The inclination angle θ of the line segment LS on the image is calculated, and the image is rotated by the angle θ to correct the horizontal state. Next, the reference points 7d on both sides,
The length BLA on the image between 7d, the actual length BL between the reference points 7d, 7d on both sides, which are known values, and the reference position P0 of each of the reference positions P1, P2, P3, P4, P5 Actual reference distances XP1, XP2, XP3, XP4, XP5
From the reference position P0 on the image to the respective reference positions P1, P
Reference distance XP1 on the image up to 2, P3, P4, P5
A, XP2A, XP3A, XP4A, XP5A are calculated. This can be easily calculated from the ratio of the length BLA on the image to the actual length BL.

【0042】次に、ステップS4に入り、各数字7bの
7つのセグメント7cの画像上での位置S1、S2、S
3、S4、S5、S6、S7、即ち各セグメント7cの
読み取り座標位置を、各基準位置を演算した場合と同様
な手法で演算する。こうして、画像上で各数字7bの全
てのセグメント7の読み取り座標位置が判明したところ
で、主制御部10は図5のステップS5に入り、輝度値
演算部12に対して、各数字7bを構成する7つのセグ
メント7cの輝度測定を行う。
Next, at step S4, the positions S1, S2, S of the seven segments 7c of each numeral 7b on the image are set.
3, S4, S5, S6, S7, that is, the read coordinate position of each segment 7c is calculated by the same method as when each reference position is calculated. When the read coordinate positions of all the segments 7 of each numeral 7b are determined on the image in this way, the main control unit 10 enters step S5 in FIG. The luminance measurement of the seven segments 7c is performed.

【0043】各セグメント7cの輝度測定は、図10に
示すように、ステップS4で演算された各数字7bの各
セグメント7cの各読み取り座標位置S1、S2、S
3、S4、S5、S6、S7に、同心円状に形成された
小円SS及び大円BSからなる輝度検出窓26を設定
し、輝度検出窓26の小円SSの内の、各画素の輝度の
平均値LV1と、小円SSと大円BSとの間に挟まれた
ドーナツ状の円環部分26aの輝度の平均値LV2を測
定演算する。この場合、各セグメント7cの各読み取り
座標位置S1、S2、S3、S4、S5、S6、S7
に、セグメント穴7eが穿設されていない場合、即ち、
図10の座標位置S1、S7の場合には、小円SSの各
画素の平均値LV1とドーナツ状の円環部分26aの輝
度の平均値LV2との輝度差DFは、大円BS内になん
ら穴などが穿設されていないことから、それほど大きく
はならない。但し、プレート7に付着した煤や、油など
の汚れなどに起因して多少の輝度差DFは生じることと
なる。一方、各セグメント7cの各読み取り座標位置S
1、S2、S3、S4、S5、S6、S7に、セグメン
ト穴7eが穿設されている場合、即ち、図10の座標位
置S2からS6の場合には、小円SSの各画素の輝度の
平均値LV1は、セグメント穴7eが画像上で黒い影と
なって表示されることから、セグメント穴7eが穿設さ
れていない場合に比して大幅に低下する。また、ドーナ
ツ状の円環部分26aはその一部が暗いセグメント穴7
eにかかるものの、大部分がそれより明るいプレート表
面部分にかかり、その輝度の平均値LV2はセグメント
穴7eが穿設されていない場合に比してそれほど低下す
ることはない。従って、そのときの輝度差DFは、セグ
メント穴7eが穿設されていない場合に比して大きくな
る。
As shown in FIG. 10, the luminance of each segment 7c is measured by reading coordinate positions S1, S2, S of each segment 7c of each numeral 7b calculated in step S4.
3, a brightness detection window 26 including a small circle SS and a great circle BS formed concentrically is set in S4, S5, S6, and S7, and the brightness of each pixel in the small circle SS of the brightness detection window 26 is set. And the average value LV2 of the brightness of the donut-shaped annular portion 26a sandwiched between the small circle SS and the great circle BS. In this case, each read coordinate position S1, S2, S3, S4, S5, S6, S7 of each segment 7c.
When the segment hole 7e is not drilled,
In the case of the coordinate positions S1 and S7 in FIG. 10, the luminance difference DF between the average value LV1 of each pixel of the small circle SS and the average value LV2 of the luminance of the donut-shaped ring portion 26a is within the great circle BS. Since no holes or the like are drilled, it does not become so large. However, a slight difference in brightness DF occurs due to soot attached to the plate 7 or dirt such as oil. On the other hand, each read coordinate position S of each segment 7c
In the case where segment holes 7e are formed in 1, S2, S3, S4, S5, S6, and S7, that is, in the case of the coordinate positions S2 to S6 in FIG. Since the segment hole 7e is displayed as a black shadow on the image, the average value LV1 is significantly reduced as compared with a case where the segment hole 7e is not drilled. The donut-shaped annular portion 26a has a segment hole 7 partially dark.
However, most of the brightness is applied to the brighter plate surface portion, and the average value LV2 of the brightness does not decrease so much as compared with the case where the segment hole 7e is not formed. Therefore, the luminance difference DF at that time is larger than when the segment hole 7e is not formed.

【0044】今、仮に、各座標位置S1、S2、S3、
S4、S5、S6、S7において、輝度検出窓26の輝
度の絶対値に基いて、各座標位置のセグメント穴7eの
有無を判定する場合、図9に示すように、黒丸の穴有り
と白丸の穴なしの場合とで約3.6パーセントのラップ
領域が発生する。これでは、本実施例の場合のような、
判定すべき数字が5桁数字の場合には、各座標位置の輝
度値に大きなバラツキが生じ、正確な読み取りは不可能
となる。そこで、主制御部10は、ステップS5で輝度
値演算部12に各基準位置の各座標位置の輝度を測定演
算させたところで、ステップS6に入り、セグメント輝
度差分析判定部13に、各座標位置で輝度検出窓26で
当該位置における輝度を測定した際の、小円SSと大円
BSとの間のドーナツ状の円環部分26aの輝度の平均
値LV2から小円SS部分の輝度の平均値LV1を引い
た差を、輝度差DFとして求め、当該輝度差DFに基い
てセグメント穴7eの有無を判定するように指令する。
Now, suppose that each coordinate position S1, S2, S3,
In S4, S5, S6, and S7, when the presence or absence of the segment hole 7e at each coordinate position is determined based on the absolute value of the brightness of the brightness detection window 26, as shown in FIG. Approximately 3.6% of the wrap area occurs without holes. In this case, as in the case of the present embodiment,
When the number to be determined is a five-digit number, a large variation occurs in the brightness value of each coordinate position, and accurate reading becomes impossible. Therefore, the main control unit 10 causes the luminance value calculation unit 12 to measure and calculate the luminance of each coordinate position of each reference position in step S5. When the luminance at the position is measured by the luminance detection window 26, the average value of the luminance of the donut-shaped annular portion 26a between the small circle SS and the great circle BS from the average value LV2 to the average value of the luminance of the small circle SS portion The difference obtained by subtracting LV1 is obtained as a luminance difference DF, and a command is issued to determine the presence or absence of the segment hole 7e based on the luminance difference DF.

【0045】即ち、セグメント輝度差分析判定部13
は、各座標位置S1、S2、S3、S4、S5、S6、
S7に関して、輝度差DFを演算し、当該輝度差DFが
所定の値(例えば15)以上の場合を、当該座標位置部
分にセグメント穴7e有りと判定し、当該輝度差DFが
所定の値以下の場合を、当該座標位置部分にセグメント
穴7eなしと判定する。このように、円環部分26aと
小円SSの部分の輝度差DFに基いてセグメント穴7e
の有無を判定すると、図11に示すように、黒丸の穴有
りと白丸の穴なしの場合とが、極めて明瞭に判別するこ
とが出来、そのラップ領域は、わずか0.33パーセン
トとなる。この場合、本実施例の場合のような、5桁数
字の場合には、読み取り率は、計算上89パーセント
(1−5[桁]×7[セグメント]×(0.33/10
0)×100[%])に向上する。こうして、セグメン
ト輝度差分析判定部13では、各数字7bの各基準位置
P1、P2、P3、P4、P5の各座標位置S1、S
2、S3、S4、S5、S6、S7について、セグメン
ト穴7eの有無を判定することにより、各基準位置に穿
設された数字7bを、高い確率で適確に判定することが
出来る。
That is, the segment luminance difference analysis determination section 13
Are coordinate positions S1, S2, S3, S4, S5, S6,
Regarding S7, the luminance difference DF is calculated, and when the luminance difference DF is equal to or more than a predetermined value (for example, 15), it is determined that the segment position 7e is present at the coordinate position, and the luminance difference DF is equal to or less than the predetermined value. In this case, it is determined that there is no segment hole 7e at the coordinate position. As described above, the segment hole 7e is determined based on the luminance difference DF between the annular portion 26a and the small circle SS.
As shown in FIG. 11, it can be determined very clearly whether there is a black circle and no white circle, and the wrap area is only 0.33%, as shown in FIG. In this case, in the case of a five-digit number as in the present embodiment, the reading rate is calculated as 89% (1-5 [digits] × 7 [segments] × (0.33 / 10
0) × 100 [%]). Thus, in the segment luminance difference analysis determination unit 13, the coordinate positions S1, S5 of the reference positions P1, P2, P3, P4, P5 of each numeral 7b.
By determining the presence or absence of the segment hole 7e for 2, S3, S4, S5, S6, and S7, the number 7b drilled at each reference position can be accurately determined with high probability.

【0046】しかし、輝度差DFに基いて判定した場
合、図12に示すように、例えばセグメント穴7e有り
とする判定基準値としての判定基準輝度差DF1を15
として、各数字7bの各座標位置S1、S2、S3、S
4、S5、S6、S7についてその輝度差を判定した際
に、図12(c)に示すように、数字として判定できな
い事態が生じることがある。この場合には、主制御部1
0は、輝度差分析補正部15に、輝度差の判定基準値を
スライドさせて、判定を行う。
However, when the judgment is made based on the luminance difference DF, as shown in FIG. 12, for example, the judgment reference luminance difference DF1 as the judgment reference value indicating that there is the segment hole 7e is set to 15
, The respective coordinate positions S1, S2, S3, S of the respective numerals 7b
When the luminance difference is determined for S4, S5, S6, and S7, a situation may occur in which it cannot be determined as a number, as shown in FIG. In this case, the main control unit 1
A value of 0 causes the luminance difference analysis and correction unit 15 to slide the luminance difference determination reference value to make the determination.

【0047】即ち、図12の場合、例えば(a)のサン
プル例に示すように、各座標位置S1、S2、S3、S
4、S5、S6、S7について、同図(b)に示すよう
にその輝度差DFが演算された場合、セグメント穴有り
と判定する基準となる輝度差DF1を15と設定する
と、座標位置S3、S4、S5のみがセグメント穴有り
と判定される。しかし、座標位置S3、S4、S5のセ
グメント穴7eのみでは、意味のある数字情報を構成し
ないことから、輝度差分析補正部15は、それまでの基
準となる判定基準輝度差DF1をそれまでの15から次
に小さい輝度差等の10へ変更する。すると、同図
(c)の中央に示すように、輝度差DFが10だった位
置S2についてもセグメント穴有りと判定されるが、そ
れでも、意味のある数字情報を構成しない。そこで、輝
度差分析補正部15は、更にそれまでの判定の基準とな
る判定基準輝度差DF1をそれまでの10からその次に
小さい輝度差の−2へと変更する。すると、同図(c)
の右方に示すように、輝度差DFが−2だった位置S6
についてもセグメント穴有りと判定され、その結果、座
標位置S2、S3、S4、S5、S6についてセグメン
ト穴7eがあるものと判定され、その情報より数字の2
と判定される。なお、管理ナンバー7aの数字7bとし
ては、図4に示すように、0から9までの数字しか使用
されていないので、このように、数字の0から9に対応
するセグメント穴7eの有無を判定することの出来る時
点まで判定基準輝度差DF1を徐々に下げることによ
り、通常の判定基準輝度差DF1ではセグメント穴有り
と判定されることのなかった座標位置に関しても適確に
セグメント穴7eの穴の有無を判定し、迅速かつ正確に
管理ナンバー7aの各数字7bを判定することが出来
る。
That is, in the case of FIG. 12, for example, as shown in the sample example of (a), each coordinate position S1, S2, S3, S3
When the brightness difference DF is calculated for each of S4, S5, S6, and S7 as shown in FIG. 7B, the brightness difference DF1, which is a reference for determining that there is a segment hole, is set to 15, the coordinate position S3, Only S4 and S5 are determined to have segment holes. However, since only the segment holes 7e at the coordinate positions S3, S4, and S5 do not constitute meaningful numerical information, the luminance difference analysis and correction unit 15 determines the determination reference luminance difference DF1 as a reference up to that point. The value is changed from 15 to 10 having the next smallest luminance difference. Then, as shown in the center of FIG. 11C, it is determined that there is a segment hole also at the position S2 where the luminance difference DF was 10, but still does not constitute meaningful numerical information. Therefore, the luminance difference analysis and correction unit 15 further changes the determination reference luminance difference DF1, which is the reference for the previous determination, from 10 up to that point to −2, the next smaller luminance difference. Then, FIG.
At the position S6 where the luminance difference DF was -2,
Is determined to have a segment hole, and as a result, it is determined that there is a segment hole 7e at the coordinate positions S2, S3, S4, S5, and S6.
Is determined. As shown in FIG. 4, only the numbers from 0 to 9 are used as the numbers 7b of the management numbers 7a. Thus, the presence or absence of the segment holes 7e corresponding to the numbers 0 to 9 is determined. By gradually lowering the criterion luminance difference DF1 until a point at which the segment hole 7e can be determined, it is possible to accurately determine the position of the segment hole 7e even at a coordinate position that is not determined to have a segment hole in the normal criterion luminance difference DF1. By determining the presence or absence, it is possible to quickly and accurately determine each numeral 7b of the management number 7a.

【0048】しかし、こうした補正によってもセグメン
ト穴7eの有無の判定が出来ず、管理ナンバー7aの各
数字7bを判定できない場合には、図5のステップS7
に入り、主制御部10はクラスター分析判定部16に対
して、クラスター分析によるセグメント穴の有無判定を
行うように指令する。
However, even if such correction does not make it possible to determine the presence or absence of the segment hole 7e and cannot determine each of the numbers 7b of the management number 7a, step S7 in FIG.
The main control unit 10 instructs the cluster analysis determination unit 16 to determine the presence or absence of a segment hole by cluster analysis.

【0049】即ち、第13図に示すように、管理ナンバ
ープレート7の図中左側から2番目の「4」なる数字7
bについて、汚れ7f等により、各座標位置S1、S
2、S3、S4、S5、S6、S7について、輝度差D
Fが、S1=81、S2=−13、S3=−11、S4
=84、S5=21、S6=91、S7=64と演算さ
れた場合、判定基準輝度差DF1を15と設定すると座
標位置S1、S4、S5、S6、S7がセグメント穴有
りと判定され、数字の「4」とは認識することが出来な
くなる。この場合、判定基準輝度差DFを下げて−11
として座標位置S3をセグメント穴有りと判定すると、
数字の「9」と認定されるが、その場合、各座標位置に
おいて意味ある数字情報として判断されるセグメント穴
有りと判定されるまで判定基準輝度差DF1を下げるこ
ととなり、判定動作としての意味がなくなり、信頼性に
問題が生じる。
That is, as shown in FIG. 13, the second numeral “4” from the left side of the figure on the management license plate 7
b, each coordinate position S1, S
2, S3, S4, S5, S6, S7, the luminance difference D
F is S1 = 81, S2 = -13, S3 = -11, S4
= 84, S5 = 21, S6 = 91, S7 = 64, and if the determination reference luminance difference DF1 is set to 15, the coordinate positions S1, S4, S5, S6, and S7 are determined to have a segment hole, and "4" cannot be recognized. In this case, the criterion luminance difference DF is lowered to -11.
When it is determined that the coordinate position S3 has a segment hole,
The number "9" is recognized, but in this case, the determination reference luminance difference DF1 is reduced until it is determined that there is a segment hole that is determined as meaningful numerical information at each coordinate position. And reliability issues.

【0050】そこで、クラスター分析判定部16は、図
14に示すように、最短距離法によるクラスター分析手
法を用いて、セグメント穴7eの有無を判定するための
クラスター分析判定値CVを求める。いま、仮に、図1
4に示すように、数字7bの座標位置S4に対応する部
分に汚れ7fが付着して、各座標位置S1、S2、S
3、S4、S5、S6、S7の輝度差DFが、図14に
示す図表に示すように演算された場合、クラスター分析
手法により、デンドログラム(樹系図)DGを作成演算
する。この場合、数字7bが「8」のように、全ての座
標位置にセグメント穴7eが存在する場合を想定して、
適宜な輝度差DF位置にダミーデータDDを初期値とし
てあらかじめ設定しておく。このダミーデータDDの輝
度差位置は、セグメント穴のない場合の多数の座標位置
の輝度差DFの集合における平均値に対して、その標準
偏差の2倍だけセグメント穴あり側にシフトした値を採
用すると、適切なクラスター分析判定値CVを設定する
ことが出来、後の判定を極めて効果的に行うことが出来
ることが発明者による実験で判明している。
Therefore, as shown in FIG. 14, the cluster analysis judging section 16 obtains a cluster analysis judgment value CV for judging the presence or absence of the segment hole 7e by using a cluster analysis method based on the shortest distance method. Now, suppose that Figure 1
As shown in FIG. 4, dirt 7f adheres to a portion corresponding to the coordinate position S4 of the numeral 7b, and the coordinate positions S1, S2, S
When the luminance difference DF of 3, S4, S5, S6, and S7 is calculated as shown in the table of FIG. 14, a dendrogram (tree diagram) DG is created and calculated by the cluster analysis method. In this case, assuming that the segment holes 7e are present at all the coordinate positions, such as when the number 7b is “8”,
The dummy data DD is set in advance at an appropriate luminance difference DF position as an initial value. As the luminance difference position of the dummy data DD, a value obtained by shifting the average value in a set of luminance differences DF of a large number of coordinate positions when there is no segment hole toward the side with the segment hole by twice the standard deviation thereof is adopted. Then, an experiment by the inventor has found that an appropriate cluster analysis determination value CV can be set, and the subsequent determination can be performed extremely effectively.

【0051】クラスター分析判定部16は、各座標位置
の輝度差DFから、最短距離法によりデンドログラムD
Gを作成し、そのデンドログラムDGが1つにまとまる
直前の距離(輝度差)の2分点をクラスター分析判定値
CVとし、該分析判定値CVにより、各数字7bの7つ
の座標位置の輝度差DFを判定し、セグメント穴7eの
有無を判定する。即ち、上記図14のS4部分は、セ
グメント穴なしと判定され、数字7bは「0」と判定さ
れる。
The cluster analysis judging unit 16 calculates the dendrogram D from the luminance difference DF at each coordinate position by the shortest distance method.
G is created, and the bisection point of the distance (luminance difference) immediately before the dendrogram DG is united into one is defined as the cluster analysis determination value CV, and the luminance at the seven coordinate positions of each numeral 7b is calculated based on the analysis determination value CV. The difference DF is determined, and the presence or absence of the segment hole 7e is determined. That is, the portion S4 in FIG. 14 is determined to have no segment hole, and the numeral 7b is determined to be “0”.

【0052】今、仮に、サンプル1から21の21個の
数字7bに関して、図13に示すような、輝度差のデー
タが得られた場合、判定基準輝度差DF1を15に設定
すると、サンプル1から13、15、18、21の白丸
で示すセグメント穴無しの座標位置がセグメント穴有り
と判定され、管理ナンバー7aを正確に判定することが
出来なくなる(サンプル5については、プロット例とし
て既に説明済みである)。そこで、そうした各サンプル
に関してクラスタ分析により、クラスター分析判定値C
Vを求め、該分析判定値CVに基いて、セグメント穴7
eの有無を判定すると、図15に示すように、黒丸で示
したセグメント穴7e有りと白丸で示したセグメント穴
7e無しとが、サンプル11、17、18、19以外に
ついては適切に判定することが出来た。従って、図13
に示したサンプル5の場合も、図15に示すように、適
切にセグメント穴7eの有無が判断され、座標位置S5
をセグメント穴有りと判定することはなく、正確に
「4」と判定される。
Now, assuming that the luminance difference data as shown in FIG. 13 is obtained for the 21 numerals 7b of samples 1 to 21, if the determination reference luminance difference DF1 is set to 15, The coordinate positions without segment holes indicated by white circles of 13, 15, 18, and 21 are determined to have segment holes, and the management number 7a cannot be accurately determined (sample 5 has already been described as a plot example. is there). Therefore, a cluster analysis determination value C is obtained for each such sample by cluster analysis.
V is determined, and the segment hole 7 is determined based on the analysis determination value CV.
When the presence / absence of e is determined, as shown in FIG. 15, the presence / absence of the segment hole 7e indicated by a black circle and the absence of the segment hole 7e indicated by a white circle are appropriately determined for samples other than the samples 11, 17, 18, and 19. Was completed. Therefore, FIG.
In the case of the sample 5 shown in FIG. 15, the presence or absence of the segment hole 7e is appropriately determined as shown in FIG.
Is not determined to have a segment hole, and is accurately determined to be “4”.

【0053】こうして、管理プレート7上の各基準位置
に関して各管理ナンバー7aを構成するセグメント穴7
eの有無が判定されたところで、主制御部10は、図5
のステップS8へ入り、ステップS6から7の判定作業
を総合して、管理プレート7上の5桁の数値を判定す
る。
Thus, the segment holes 7 constituting the respective management numbers 7a with respect to the respective reference positions on the management plate 7
When the presence or absence of e is determined, the main control unit 10 returns to FIG.
Step S8 is performed, and the five-digit numerical value on the management plate 7 is determined by integrating the determination operations of Steps S6 to S7.

【0054】なお、上記説明は、セグメント穴の有無の
判定を、輝度差FD1が例えば15のように固定基準値
として説明しているが、該セグメント穴の有無判定基準
値を、該固定基準値を廃して初めから上述したクラスタ
ー分析判定によるフローティングした値に設定するのが
好ましい。即ち、上述したように、固定基準値判定で
は、母集団のどこの群れに属するかを判別しているた
め、穴の有無に関して0.33[%]程度のラップが発
生し、数字列として誤判別の確率が高くなるが、1つの
数字を構成する7セグメント群を穴の有無の2つに判別
する上記クラスター分析を利用して、その時の画像状態
に適応して判定基準値をフローティングする方が誤判別
の確率が大幅に低下する。
In the above description, the determination of the presence / absence of a segment hole is described as a fixed reference value such as a luminance difference FD1 of 15, for example. And it is preferable to set a floating value based on the above-described cluster analysis judgment from the beginning. That is, as described above, in the fixed reference value determination, which group of the population belongs to which group, a lap of about 0.33 [%] occurs with respect to the presence or absence of a hole, and a misjudgment as a numeric string occurs. Another possibility is high, but using the above-described cluster analysis that discriminates the seven segment group that constitutes one number into two with or without holes, and floating the judgment reference value according to the image state at that time , The probability of erroneous determination is greatly reduced.

【0055】そして、該クラスター分析による穴の有無
の判定基準値に基づきセグメント穴の有無を判定し、そ
れを補う手段として上述した数字情報としての意味のあ
るようにする判定値の自動スライド(輝度差分析補正
部)、並びに後述するデジット情報による逆推定(デジ
ット情報判定部)を行うことにより、より誤判別の確率
を低下する。該クラスター分析に基づき判定基準値をフ
ローティングすることにより、将来予測不能な照度の変
化、プレートの油しみ、熱処理による黒色化にも自動的
にかつ柔軟に対応し得る。特にクラスター分析による
と、セグメント穴の無い部分を有りと判定する可能性が
非常に低くなり、その結果、上記図13で説明したよう
な誤判別をなくすことができ、輝度差分析補正部による
判定値の自動スライド並びにデジット情報判定部による
逆推定(後述)が有効に機能する。
Then, the presence or absence of a segment hole is determined based on the reference value for determining the presence or absence of a hole by the cluster analysis, and as a means for supplementing the segment hole, the above-described automatic slide of the determination value to make it meaningful as numerical information (luminance) The difference analysis correction unit) and the inverse estimation (digit information determination unit) based on digit information described below further reduce the probability of erroneous determination. By floating the judgment reference value based on the cluster analysis, it is possible to automatically and flexibly cope with unpredictable changes in illuminance, oil spots on the plate, and blackening due to heat treatment. In particular, according to the cluster analysis, it is extremely unlikely that a portion without a segment hole is determined to be present. As a result, the erroneous determination as described in FIG. 13 can be eliminated, and the determination by the luminance difference analysis correction unit can be performed. The automatic sliding of the value and the reverse estimation (described later) by the digit information determination unit function effectively.

【0056】次に主制御部10は、ステップS9に入
り、各管理ナンバー7aが他の数値としても読むことが
出来る可能性を判定する。即ち、数字の「1」は、セグ
メント穴7eの判定の有無によっては「7」、「8」、
「0」などにも読むことが出来る。従って、前述のステ
ップS6から7において、判定基準輝度差DF1を更に
低くした場合における読み取り可能な数値が有る場合に
はその数値、また、ステップS6で適正に読み込まれた
が、ステップS7でクラスター分析すると、更に別の読
み方の可能性が有る場合などは、その数値を各数字7b
に対応させた形で適宜なメモリに格納しておく。
Next, the main controller 10 enters step S9, and determines whether each management number 7a can be read as another numerical value. That is, the number “1” is “7”, “8”, or “4” depending on whether or not the segment hole 7e is determined.
It can be read as "0". Therefore, in steps S6 to S7 described above, if there is a readable numerical value when the judgment reference luminance difference DF1 is further reduced, the numerical value is read. If the numerical value is properly read in step S6, the cluster analysis is performed in step S7. Then, if there is a possibility of another reading method, etc., the numerical value is replaced with each numeral 7b.
Is stored in an appropriate memory in a form corresponding to.

【0057】次に主制御部10は、図5のステップS1
0に入り、デジット情報判定部17にステップS8で管
理ナンバープレート7上の5桁の管理ナンバー7aとし
て判定された5桁の数字7bが正しく判定されたもので
あるか否かを公知のチェックデジット計算により判定さ
せる。これは、管理ナンバープレート7上の5桁の管理
ナンバー7aのうち、先頭の4桁がパレット3の管理に
必要なトレー番号であり、最後の1桁は、先頭の4桁の
トレー番号が正しく読み取られたか否かなを判定するチ
ェックデジットである。
Next, the main control unit 10 executes step S1 in FIG.
Entering 0, the digit information determination unit 17 checks whether the five-digit number 7b determined as the five-digit management number 7a on the management license plate 7 in step S8 is a known check digit or not. It is determined by calculation. In the five-digit management number 7a on the management number plate 7, the first four digits are the tray number necessary for managing the pallet 3, and the last one digit is the first four-digit tray number. This is a check digit for determining whether or not it has been read.

【0058】このチェックデジット計算は公知の手法で
あるので、ここではその詳細な説明は省略するが、本実
施例では、バーコードのJAN、ITF、NW7などで
使用されているモジュラス10/3ウエイトと呼ばれる
手法を採用した。この手法によると、例えば4桁のトレ
ー番号が「2407」とすると、そのチェックデジット
は「5」となり、5桁の管理ナンバー7aは「2407
5」となる。そこで、デジット情報判定部17は、読み
込み判定された5桁の管理ナンバー7aから、それらの
管理ナンバー7aが間違いなく読み取られたか否かをチ
ェックデジット計算によりチェックする。
Since this check digit calculation is a known method, a detailed description thereof will be omitted here. In this embodiment, however, the modulus 10/3 weight used in bar codes JAN, ITF, NW7, etc. We adopted a technique called. According to this method, for example, if the 4-digit tray number is “2407”, the check digit is “5”, and the 5-digit management number 7a is “2407”.
5 ". Therefore, the digit information determination unit 17 checks from the five-digit management number 7a determined to be read whether or not the management number 7a has been read without error by check digit calculation.

【0059】即ち、読み取られた5桁の管理ナンバー7
aが、ステップS8で「24075」と判定された場合
には、先頭5桁の「2407」のチェックデジット計算
によりチェックデジットが「5」と求められ、管理ナン
バー7aの5桁目の数字「5」と一致するために、管理
ナンバー7aが正しく読み取られたものと判断される。
この場合、ステップS11から12、13を経由して、
実際の管理ナンバーとして読み取られた数値が管理ナン
バー7aとして存在するか否か、また存在しても現在ベ
ルトコンベア5上を流れているか否かなどの誤読チェッ
クやプレート番号チェックが行われ、ステップS14で
ディスプレイなどの表示部21上に当該5桁の管理ナン
バー7aを表示すると共に、ステップS15で出力部2
0を介して、適宜なシーケンサ等のコントローラに当該
情報を出力し、パレット3上に搭載された部品6に対応
する処理などを行うようにする。
That is, the read five-digit management number 7
If “a” is determined to be “24075” in step S8, the check digit is calculated as “5” by the check digit calculation of the first five digits “2407”, and the fifth digit “5” of the management number 7a is determined. , It is determined that the management number 7a has been correctly read.
In this case, via steps S11 to S12 and S13,
An erroneous reading check and a plate number check are performed to determine whether or not the numerical value read as the actual management number exists as the management number 7a, and whether or not the numerical value is currently flowing on the belt conveyor 5 even if it exists, at step S14. Displays the 5-digit management number 7a on the display unit 21 such as a display, and outputs the output unit 2 at step S15.
The information is output to an appropriate controller such as a sequencer through the control unit 0, and processing corresponding to the component 6 mounted on the pallet 3 is performed.

【0060】一方、ステップS8で、5桁の管理ナンバ
ー7aが「24115」と判定された場合には、ステッ
プS10でデジット情報判定部17により、先頭5桁の
「2411」のチェックデジットが計算され、チェック
デジットが「8」と求められる。すると、管理ナンバー
7aの5桁目の数字「5」と一致しないために、デジッ
ト情報管理部17は、管理ナンバー7aが正しく読み取
られていないものと判断し、ステップS11よりステッ
プS16に入り、ステップS9で他の数値としても読み
込める可能性が有るものと判定された数値を、各管理ナ
ンバー7aの数字7bについて代入してみて、同様のチ
ェックデジット計算を行い、チェックデジットが成立す
るか否かを判定し、正しい管理ナンバー7aを推定する
動作を行う。
On the other hand, if the five-digit management number 7a is determined to be "24115" in step S8, the digit information determination unit 17 calculates the first five-digit "2411" check digit in step S10. , The check digit is required to be “8”. Then, since it does not match the fifth digit “5” of the management number 7a, the digit information management unit 17 determines that the management number 7a has not been correctly read, and proceeds from step S11 to step S16. At S9, the numerical value determined to be possibly read as another numerical value is substituted for the numerical value 7b of each management number 7a, and the same check digit calculation is performed to determine whether the check digit is established. Then, an operation of estimating the correct management number 7a is performed.

【0061】即ち、デジット情報判定部17は、ステッ
プS9で他の数値としても読み込める可能性が有るもの
と判定され、所定のメモリに格納されていた数値、例え
ば3桁目の数字7bについては、「7」、「0」、4桁
目の数字7bについては、「7」を、読み出し、それら
を各桁の数字7bに代入してみて、チェックデジット計
算を行い、チェックデジットが成立するか否かを判定す
る。この場合、先頭の4桁のトレー番号が「2417」
の場合、チェックデジットが「6」となり、「247
7」の場合、チェックデジットが「2」となり、「24
71」の場合、チェックデジットが「4」となり、「2
407」の場合、チェックデジットが「5」となり、
「2401」の場合、チェックデジットが「7」とな
り、5桁目のチェックデジットが一致するのは、「24
07」のみとなる。そこで、ステップS17に入り、上
記した推定動作によりチェックデジットが一致する5桁
の管理ナンバー7aが一つしかなかった場合には、当該
数字を読み込まれた管理ナンバー7aとして採用し、ス
テップS12、13を経て、ステップS14、15でデ
ィスプレイなどの表示部21上に当該5桁の管理ナンバ
ー7aを表示すると共に、出力部20を介して、適宜な
シーケンサ等のコントローラに当該情報を出力し、パレ
ット3上に搭載された部品6に対応する処理などを行う
ようにする。
That is, the digit information determination section 17 determines in step S9 that there is a possibility that it can be read as another numerical value, and for the numerical value stored in a predetermined memory, for example, the third digit 7b, As for “7”, “0”, and the fourth digit 7b, read “7”, substitute them for the digit 7b of each digit, perform check digit calculation, and determine whether the check digit is established. Is determined. In this case, the first 4-digit tray number is “2417”
In the case of, the check digit becomes “6” and “247”
In the case of “7”, the check digit becomes “2” and “24”
71, the check digit becomes “4” and “2”
407 ", the check digit is" 5 ",
In the case of “2401”, the check digit becomes “7” and the check digit in the fifth digit matches “24”.
07 ”. Therefore, the process proceeds to step S17, and if there is only one 5-digit management number 7a having the same check digit as the above estimation operation, the number is adopted as the read management number 7a, and steps S12 and S13 are performed. , The 5-digit management number 7a is displayed on the display unit 21 such as a display in steps S14 and S15, and the information is output to an appropriate controller such as a sequencer via the output unit 20, and the pallet 3 Processing corresponding to the component 6 mounted thereon is performed.

【0062】また、ステップS16の数値推定の結果、
チェックデジットが成立する5桁の管理ナンバー7aが
2つ以上推定された場合には、読み取りエラーとして、
ステップS17からステップS18を介してステップS
1に戻り、再度管理ナンバープレート7に対する読み取
り動作を行うが、この際、ステップS19で、読み取り
基準穴7d、7dを読み込む際に設定される四角窓25
cの位置、寸法などを変更し、適確に読み取り基準穴7
d、7dを読み取れるようにする。なお、こうした管理
ナンバープレート7に対する再読み取り動作は、本実施
例の場合、4回まで行なう。
As a result of the numerical estimation in step S16,
If two or more 5-digit management numbers 7a for which a check digit is established are estimated, a reading error is generated.
From step S17 to step S18 through step S18
1, the reading operation for the management license plate 7 is performed again. At this time, the square window 25 set when reading the reading reference holes 7d, 7d in step S19.
Change the position, size, etc. of c and read the reference hole 7 accurately.
d and 7d can be read. In this embodiment, the rereading operation for the management license plate 7 is performed up to four times.

【0063】以上、説明した実施の形態では、セグメン
ト情報読み取り判定装置1により読み取るべき符号は、
管理ナンバープレート7にセグメント穴7eが穿設され
た形で構成された数字7bからなる管理ナンバー7aの
場合についてのべたが、読み取るべき符号は、セグメン
ト化された符号である限り、セグメント穴として穿設さ
れていなくとも、塗料などで板に書かれていてもよい。
また、符号としても、数字に限らず、アルファベット等
の文字、カタカナ、平仮名などの文字、漢字、その他の
記号などでもよい。更に、読み取るべき符号がセグメン
ト化された形で表示されていなくとも、CCDカメラな
どの撮象手段により符号を撮象した後、適宜電子的に当
該画像を分割してセグメント化するようにしてもよい。
In the embodiment described above, the codes to be read by the segment information reading determination device 1 are as follows:
In the case of the management number 7a consisting of the number 7b formed by forming a segment hole 7e in the management number plate 7, the code to be read is formed as a segment hole as long as it is a segmented code. Even if it is not provided, it may be written on a board with paint or the like.
Further, the code is not limited to a numeral, but may be a character such as an alphabet, a character such as katakana or hiragana, a kanji, or another symbol. Furthermore, even if the code to be read is not displayed in a segmented form, the image may be electronically divided and appropriately segmented after the code is captured by a capturing means such as a CCD camera. Good.

【0064】また、説明した実施の形態のように、ベル
トコンベア上を搬送されてくるパレット3に装着された
管理ナンバープレート7の管理ナンバー7aを読み取る
場合に限らず、自動車のナンバープレートの数字などを
読み取る場合や、符号が記録された記録板等が熱、泥、
塵埃その他により汚損された状態でも読み取る必要のあ
る場合などにも好適に適用することができるものであ
る。
Further, the present invention is not limited to the case of reading the management number 7a of the management number plate 7 mounted on the pallet 3 conveyed on the belt conveyor as in the above-described embodiment. When reading, or a recording plate or the like on which a code is recorded
The present invention can be suitably applied to a case where it is necessary to read even in a state where the sheet is contaminated by dust or the like.

【0065】また、各セグメントの位置S1、S2、S
3、S4、S5、S6、S7の輝度差DFを測定する輝
度検出窓26の構成は、図10に示すような同心円状の
小円SSと大円BSから構成されている必要はなく、セ
グメント穴7eの形状に対応させた形で、その中心部と
該中心部の周囲所定範囲の周辺部の任意の形状及び大き
さで構成することができる。
The positions S1, S2, S
The configuration of the luminance detection window 26 for measuring the luminance difference DF of 3, S4, S5, S6, and S7 does not need to be constituted by concentric small circles SS and large circles BS as shown in FIG. In a form corresponding to the shape of the hole 7e, the hole 7e can be constituted by an arbitrary shape and size of a central portion and a peripheral portion of a predetermined range around the central portion.

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

【図1】セグメント情報読み取り装置の一例が設けられ
たコンベア搬送ラインを示す図。
FIG. 1 is a diagram showing a conveyor transport line provided with an example of a segment information reading device.

【図2】セグメント情報読み取り装置の一例を示す制御
ブロック図。
FIG. 2 is a control block diagram illustrating an example of a segment information reading device.

【図3】管理ナンバープレートの一例を示す図。FIG. 3 is a diagram showing an example of a management license plate.

【図4】セグメント化された各数字を示す図。FIG. 4 is a diagram showing segmented numbers.

【図5】セグメント情報読み取り装置により実行される
処理プログラムの一例を示す図。
FIG. 5 is a diagram showing an example of a processing program executed by the segment information reading device.

【図6】管理ナンバープレート上の各基準位置と対応す
る7セグメントの位置を示す図。
FIG. 6 is a diagram showing positions of seven segments corresponding to respective reference positions on a management license plate.

【図7】管理ナンバープレートの画像の一例を示す図。FIG. 7 is a view showing an example of an image of a management license plate.

【図8】CCDカメラで撮象した画像の、輝度値の状態
の一例を示す図。
FIG. 8 is a diagram illustrating an example of a state of a luminance value of an image captured by a CCD camera.

【図9】セグメント穴部の絶対値輝度分布を示す図。FIG. 9 is a view showing an absolute value luminance distribution of a segment hole.

【図10】各セグメント位置の輝度差を測定する手法の
一例を示す図。
FIG. 10 is a diagram showing an example of a technique for measuring a luminance difference at each segment position.

【図11】セグメント穴の有無による輝度差レベルを示
す図。
FIG. 11 is a diagram showing a luminance difference level depending on the presence or absence of a segment hole.

【図12】判定基準輝度差によるセグメント穴の有無を
判定する状態を示す図。
FIG. 12 is a diagram illustrating a state in which the presence or absence of a segment hole is determined based on a determination reference luminance difference.

【図13】判定基準輝度差による判定では判定不良とな
る例を示す図。
FIG. 13 is a diagram showing an example in which a determination is defective in a determination based on a determination reference luminance difference.

【図14】クラスター分析の一例を示す図。FIG. 14 is a diagram showing an example of a cluster analysis.

【図15】クラスター分析により得られたクラスター分
析判定値によるセグメント穴の有無の判定例を示す図。
FIG. 15 is a diagram illustrating an example of determining the presence or absence of a segment hole based on a cluster analysis determination value obtained by cluster analysis.

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

7 板状部材(管理ナンバープレート) 7b 符号(数字) 7c セグメント 7e セグメント穴 26 輝度検出窓 画像上での位置 S1、S2、S3、S4、S5、S
6、S7 CV クラスター分析判定値(判定基準輝度差) DD ダミーデータ DF 輝度差 DF1 判定基準輝度差 DG デンドログラム GZ 画像 SS 小枠(小円) BS 大枠(大円)
7 Plate-shaped member (management license plate) 7b Code (number) 7c Segment 7e Segment hole 26 Luminance detection window Position on image S1, S2, S3, S4, S5, S
6, S7 CV cluster analysis judgment value (judgment reference luminance difference) DD dummy data DF luminance difference DF1 judgment reference luminance difference DG dendrogram GZ image SS small frame (small circle) BS large frame (large circle)

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 読み取るべき符号を画像として撮象し、 該撮象された前記符号を複数のセグメントから構成され
たものとして、前記各符号について該符号を構成しうる
各セグメントの前記画像上での位置を演算し、 前記演算された各符号を構成しうる各セグメントの前記
画像上での位置において、その中心部と該中心部の周囲
所定範囲の周辺部との輝度差を演算し、 前記演算された前記各セグメントの位置の輝度差と所定
の判定基準輝度差を比較し、各セグメント位置の輝度差
が前記判定基準輝度差よりも大きい場合に、前記セグメ
ントの位置に前記符号を構成するセグメントが実際に存
在するものと判定し、 前記判定結果に基いて撮象された読み取るべき画像の符
号を判定するようにしたセグメント情報読み取り判定方
法。
An image of a code to be read is taken as an image, and the taken code is composed of a plurality of segments, and for each of the codes, on the image of each segment capable of constituting the code. At the position on the image of each segment that can constitute each of the calculated codes, calculates the luminance difference between the center and the periphery of a predetermined range around the center; The calculated luminance difference at each segment position is compared with a predetermined determination reference luminance difference. If the luminance difference at each segment position is larger than the determination reference luminance difference, the code is formed at the position of the segment. A segment information reading determination method which determines that a segment actually exists, and determines the sign of an image to be read based on the determination result.
【請求項2】 前記判定基準輝度差は、前記演算された
前記各セグメントの位置の輝度差に基いてクラスター分
析手法により、デンドログラムを作成し、該デンドログ
ラムが一つにまとまる直前の輝度差の2分点をクラスタ
ー分析判定値として演算した値である請求項1記載のセ
グメント情報読み取り判定方法。
2. A method according to claim 1, wherein the determination reference luminance difference is obtained by creating a dendrogram by a cluster analysis method based on the calculated luminance difference of each of the segments, and determining the luminance difference immediately before the dendrogram is united. 2. The segment information reading determination method according to claim 1, wherein the two-divided point is a value calculated as a cluster analysis determination value.
【請求項3】 前記各セグメントの位置の輝度差と前記
判定基準輝度差を比較する際に、画像上の各符号により
前記判定基準輝度差を変動させて判定を行うことを特徴
とする請求項1又は2記載のセグメント情報読み取り判
定方法。
3. The method according to claim 2, wherein, when comparing the luminance difference at the position of each segment with the judgment reference luminance difference, the judgment is made by varying the judgment reference luminance difference according to each code on an image. 3. The segment information reading determination method according to 1 or 2.
【請求項4】 デンドログラムを作成する際に、セグメ
ント位置にセグメントが無い状態を示す輝度差座標位置
にダミーデータを初期値としてあらかじめ設定しておく
ようにした請求項2記載のセグメント情報読み取り判定
方法。
4. The segment information reading determination according to claim 2, wherein when the dendrogram is created, dummy data is set in advance as an initial value at a luminance difference coordinate position indicating that there is no segment at the segment position. Method.
【請求項5】 前記ダミーデータの輝度差値は、セグメ
ントが無い状態のセグメント位置における輝度差の平均
値に対して、その標準偏差の2倍だけセグメントが有る
ほうにシフトした値を用いた請求項2又は4記載のセグ
メント情報読み取り判定方法。
5. The luminance difference value of the dummy data is a value obtained by shifting the average value of the luminance difference at a segment position where there is no segment by twice the standard deviation to the direction where the segment exists. Item 5. The segment information reading determination method according to item 2 or 4.
【請求項6】 小枠と該小枠を取り囲む形で設けられた
大枠からなる輝度検出窓を前記画像上に設定し、 前記画像上に設定された輝度検出窓の、前記小枠内の輝
度と前記小枠と大枠間の環状部分の平均輝度の差に基い
て前記輝度差を演算することを特徴とする請求項1から
5のうちいずれか1項記載のセグメント情報読み取り判
定方法。
6. A brightness detection window including a small frame and a large frame provided so as to surround the small frame is set on the image, and the brightness of the brightness detection window set on the image in the small frame is set. 6. The segment information reading determination method according to claim 1, wherein the luminance difference is calculated based on a difference between an average luminance of an annular portion between the small frame and the large frame.
【請求項7】 前記輝度検出窓は、同心円状に形成され
た小円と大円である請求項6記載のセグメント情報読み
取り判定方法。
7. The segment information reading determination method according to claim 6, wherein the luminance detection window is a small circle and a large circle formed concentrically.
【請求項8】 複数の符号を読み取り判定する場合に、
読み取り判定するそれら複数の符号に当該複数の符号の
組み合わせに基くチェック符号を付加しておき、 それら符号の読み取り判定に際して、読み取り判定され
た各符号に関して、判定された以外の符号としての読み
取りの可能性を判定して、当該可能性の有る符号につい
て予備符号としてメモリに格納しておき、 読み取り判定された画像の符号の正確性を、該符号の組
み合わせに付された前記チェック符号に基いてチェック
し、 その結果、正しく読み取られていないものと判定された
符号の組み合わせに関して予備符号を対応する符号に代
入して同様のチェックを行い、 その結果、正しく読み取られたものと判定された場合に
は、当該予備符号を正しい符号と判定するようにした請
求項1から7のいずれか1項記載のセグメント情報読み
取り判定方法。
8. When reading and determining a plurality of codes,
A check code based on a combination of the plurality of codes is added to the plurality of codes to be read, and when the codes are determined to be read, each of the codes determined to be read can be read as a code other than the determined code. And the likelihood of the code is stored in the memory as a spare code, and the accuracy of the code of the image determined to be read is checked based on the check code given to the combination of the codes. Then, as a result, the same check is performed by substituting the spare code into the corresponding code for the combination of codes determined to be incorrectly read, and as a result, when it is determined that the code is correctly read, 8. The segment information reading device according to claim 1, wherein the spare code is determined to be a correct code. Taking judgment method.
【請求項9】 読み取るべき符号は、板状部材に穿設さ
れた複数のセグメント穴により構成される符号である請
求項1から8のいずれか1項記載のセグメント情報読み
取り判定方法。
9. The segment information reading determination method according to claim 1, wherein the code to be read is a code formed by a plurality of segment holes formed in the plate member.
【請求項10】 前記符号は数字である請求項9記載の
セグメント情報読み取り判定方法。
10. The segment information reading determination method according to claim 9, wherein said code is a numeral.
【請求項11】 読み取るべき符号は、熱処理されるパ
レットに装着された板状部材に穿設された複数のセグメ
ント穴により構成される数字である請求項10項記載の
セグメント情報読み取り判定方法。
11. The segment information reading determination method according to claim 10, wherein the code to be read is a number constituted by a plurality of segment holes formed in a plate-like member mounted on a pallet to be heat-treated.
JP10123700A 1998-05-06 1998-05-06 Method for reading and deciding segment information Pending JPH11316794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10123700A JPH11316794A (en) 1998-05-06 1998-05-06 Method for reading and deciding segment information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10123700A JPH11316794A (en) 1998-05-06 1998-05-06 Method for reading and deciding segment information

Publications (1)

Publication Number Publication Date
JPH11316794A true JPH11316794A (en) 1999-11-16

Family

ID=14867185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10123700A Pending JPH11316794A (en) 1998-05-06 1998-05-06 Method for reading and deciding segment information

Country Status (1)

Country Link
JP (1) JPH11316794A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006033478A1 (en) * 2004-09-23 2006-03-30 Optoelectronics Co., Ltd. A method of decoding barcode symbols and the like using multiple scanning lines
US7243848B2 (en) 2005-07-18 2007-07-17 Optoelectronics Co. Ltd. Optical module with accelerated reset capability
US7311262B2 (en) 2004-08-09 2007-12-25 Optoelectronics Co., Ltd. Method of decoding a symbol with a low contrast
US7354000B2 (en) 2005-05-05 2008-04-08 Optoelectronics Co., Ltd. Method and system for sensing a barcode
US7360704B2 (en) 2005-11-14 2008-04-22 Optoelectronics Co., Ltd. Scan engine with guiding light beams
JP2013061816A (en) * 2011-09-13 2013-04-04 Fujitsu Ltd Program, information processor, and abnormality determination method
JP2019016027A (en) * 2017-07-04 2019-01-31 中国計器工業株式会社 Optical numeric character reading method and device
WO2019159415A1 (en) * 2018-02-16 2019-08-22 株式会社 東芝 Reading system
WO2019159414A1 (en) * 2018-02-16 2019-08-22 株式会社 東芝 Reading system, reading method, and storage medium
JP2019145181A (en) * 2019-06-11 2019-08-29 株式会社東芝 Reading system, reading method, program, and storage medium
JP2019145182A (en) * 2019-06-11 2019-08-29 株式会社東芝 Reading system, reading method, program, and storage medium
CN112001392A (en) * 2019-05-27 2020-11-27 株式会社东芝 Reading system, reading method, storage medium, and moving object
JP2021114215A (en) * 2020-01-21 2021-08-05 株式会社姫路エンジニア Meter reading system, meter reading method, meter reading program and inspection support system having meter reading system

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7311262B2 (en) 2004-08-09 2007-12-25 Optoelectronics Co., Ltd. Method of decoding a symbol with a low contrast
WO2006033478A1 (en) * 2004-09-23 2006-03-30 Optoelectronics Co., Ltd. A method of decoding barcode symbols and the like using multiple scanning lines
JP2008513849A (en) * 2004-09-23 2008-05-01 株式会社オプトエレクトロニクス Method for decoding bar code symbols using a plurality of scanning lines
JP4641315B2 (en) * 2004-09-23 2011-03-02 株式会社オプトエレクトロニクス Method for decoding bar code symbols using a plurality of scanning lines
US7354000B2 (en) 2005-05-05 2008-04-08 Optoelectronics Co., Ltd. Method and system for sensing a barcode
US7243848B2 (en) 2005-07-18 2007-07-17 Optoelectronics Co. Ltd. Optical module with accelerated reset capability
US7360704B2 (en) 2005-11-14 2008-04-22 Optoelectronics Co., Ltd. Scan engine with guiding light beams
JP2013061816A (en) * 2011-09-13 2013-04-04 Fujitsu Ltd Program, information processor, and abnormality determination method
JP2019016027A (en) * 2017-07-04 2019-01-31 中国計器工業株式会社 Optical numeric character reading method and device
WO2019159414A1 (en) * 2018-02-16 2019-08-22 株式会社 東芝 Reading system, reading method, and storage medium
US11301709B2 (en) 2018-02-16 2022-04-12 Kabushiki Kaisha Toshiba Reading system, reading device, and storage medium
US11915498B2 (en) 2018-02-16 2024-02-27 Kabushiki Kaisha Toshiba Reading system, reading device, and storage medium
JP2019144703A (en) * 2018-02-16 2019-08-29 株式会社東芝 Reading system, reading method, program, and storage medium
US11900664B2 (en) 2018-02-16 2024-02-13 Kabushiki Kaisha Toshiba Reading system, reading device, reading method, and storage medium
JP2019144704A (en) * 2018-02-16 2019-08-29 株式会社東芝 Reading system, reading method, program, and storage medium
US11455787B2 (en) 2018-02-16 2022-09-27 Kabushiki Kaisha Toshiba Reading system, reading device, reading method, and storage medium
WO2019159415A1 (en) * 2018-02-16 2019-08-22 株式会社 東芝 Reading system
JP2020194281A (en) * 2019-05-27 2020-12-03 株式会社東芝 Reading system, reading method, program, storage medium, and mobile body
CN112001392A (en) * 2019-05-27 2020-11-27 株式会社东芝 Reading system, reading method, storage medium, and moving object
US11694451B2 (en) 2019-05-27 2023-07-04 Kabushiki Kaisha Toshiba Reading system, reading method, storage medium, and moving body
JP2019145182A (en) * 2019-06-11 2019-08-29 株式会社東芝 Reading system, reading method, program, and storage medium
JP2019145181A (en) * 2019-06-11 2019-08-29 株式会社東芝 Reading system, reading method, program, and storage medium
JP2021114215A (en) * 2020-01-21 2021-08-05 株式会社姫路エンジニア Meter reading system, meter reading method, meter reading program and inspection support system having meter reading system

Similar Documents

Publication Publication Date Title
US6918539B2 (en) Method of and device for reading optical data code
JPH11316794A (en) Method for reading and deciding segment information
EP1808018B1 (en) Image sensor annotation method and apparatus
JP4528850B2 (en) Defect detection apparatus, defect detection method, defect detection program, and computer-readable recording medium recording the program
US20040076323A1 (en) Inspection data producing method and board inspection apparatus using the method
KR20090101356A (en) Defect detecting device, and defect detecting method
CN105761256B (en) The sub-pixel edge straight line acquisition methods and device of image
CN115861153A (en) Image detection method, computer device and storage medium
CN1898555B (en) Substrate inspection device
CN113409271A (en) Method, device and equipment for detecting oil stain on lens
CN114627435B (en) Intelligent light adjusting method, device, equipment and medium based on image recognition
JP3961344B2 (en) Image processing system, image processing method, and image processing program
JP2006049347A (en) Method and program for detecting component edge and inspection apparatus
JPH0667726A (en) Absolute position obtaining method for unmanned running car
JP2870695B2 (en) Polarity inspection method for mounting polar parts and mounting board appearance inspection method
US6373983B1 (en) Method for detecting the occurrence of missing lines on images generated by an optical scanner
CN117237336B (en) Metallized ceramic ring defect detection method, system and readable storage medium
US6173071B1 (en) Apparatus and method for processing video data in automatic optical inspection
CN111445458B (en) Method for detecting printing quality of mobile phone battery label
JPH05101224A (en) Character reading method
JPH05101222A (en) Method and device for reading character
JPH0230065B2 (en)
JPH05240627A (en) Pattern inspecting device
JP2024020013A (en) Inspection device, inspection system and program
JP2001209793A (en) Method for classifying and detecting pattern defect