JPS6343037B2 - - Google Patents

Info

Publication number
JPS6343037B2
JPS6343037B2 JP57021169A JP2116982A JPS6343037B2 JP S6343037 B2 JPS6343037 B2 JP S6343037B2 JP 57021169 A JP57021169 A JP 57021169A JP 2116982 A JP2116982 A JP 2116982A JP S6343037 B2 JPS6343037 B2 JP S6343037B2
Authority
JP
Japan
Prior art keywords
level
binarization
target pattern
predetermined
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP57021169A
Other languages
Japanese (ja)
Other versions
JPS58139566A (en
Inventor
Yasuo Hongo
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP57021169A priority Critical patent/JPS58139566A/en
Publication of JPS58139566A publication Critical patent/JPS58139566A/en
Publication of JPS6343037B2 publication Critical patent/JPS6343037B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Character Input (AREA)
  • Image Input (AREA)

Description

【発明の詳細な説明】 この発明は文字,図形等のパターン画像を所定
のレベルで2値化することにより、その読取りま
たは認識を行なうようにした画像読取装置、特に
最適な2値化レベルを決定するようにした画像読
取装置に関する。一般に、対象パターンをテレビ
ジヨン(TV)カメラ等の撮像装置により撮像し
て得られるビデオ信号を所定のレベルで2値化す
ることにより、対象パターンを読取るようにした
画像読取装置においては、検査対象の表面上の変
動、または周囲温度による撮像装置の特性変動等
を考慮して適切な2値化レベルを設定しうること
が望ましい。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image reading device that reads or recognizes pattern images such as characters and figures by binarizing them at a predetermined level, and in particular, an image reading device that reads or recognizes pattern images such as characters and figures at a predetermined level. The present invention relates to an image reading device configured to make a decision. Generally, in an image reading device that reads the target pattern by binarizing the video signal obtained by capturing the target pattern with an imaging device such as a television camera, It is desirable to be able to set an appropriate binarization level in consideration of variations on the surface of the image, or variations in characteristics of the imaging device due to ambient temperature.

しかるに、従来は該2値化レベルを所定の固定
値とし、撮像装置を介して得られるビデオ信号を
該所定の2値化レベルと比較することにより2値
化しているため、周囲の明るさや温度の変化によ
りビデオ信号レベルの変動に対処し得ないことは
明らかである。このため、被測定対象物を照明す
る照明装置における変動、例えばその電源の変動
を小さく抑えたり、被測定対象物表面の色彩,明
度等を一定に保ち、かつ周囲温度を一定にする等
の工夫をしてビデオ信号レベルの変動を出来るだ
け少なくする努力が払われている。つまり、対象
パターン画像を固定のレベルで2値化する固定2
値化方式では、上述の如き特別な工夫をしなけれ
ばならず、また、このような工夫をしてもなおビ
デオレベルが変動する場合は全く対処できないと
いう欠点があつた。
However, conventionally, the binarization level is set to a predetermined fixed value, and the video signal obtained through the imaging device is binarized by comparing it with the predetermined binarization level. It is clear that variations in the video signal level cannot be accommodated due to changes in the video signal level. For this reason, measures must be taken to keep fluctuations in the lighting equipment that illuminates the object to be measured, such as fluctuations in its power source, to keep the color and brightness of the surface of the object to be measured constant, and to keep the ambient temperature constant. Efforts are being made to minimize fluctuations in the video signal level. In other words, a fixed 2 value that binarizes the target pattern image at a fixed level.
The value converting method requires the above-mentioned special measures, and even with such measures, there is a drawback that it cannot deal with fluctuations in the video level at all.

この発明は上記に鑑みなされたもので、上述の
如き種々の変動が生じても適切な2値化レベルを
決定することができる画像読取装置を提供するこ
とを目的とする。
The present invention has been made in view of the above, and it is an object of the present invention to provide an image reading device that can determine an appropriate binarization level even when various fluctuations as described above occur.

この発明の特徴は、テレビカメラ等により測定
対象パターンを撮像して得られるビデオ信号に対
しその都度異なる2値化レベルを設定して対象パ
ターンを2値化する操作を所定回数行ない、その
中で対象パターンが所定の標準パターンと最も良
く合致する場合を見つけ出し、その場合の2値化
レベルを最適のものとして対象パターンを読取る
ことにより、ビデオ信号のレベル変動に対処しう
るようにした点にある。
The feature of this invention is that the operation of binarizing the target pattern by setting a different binarization level each time for the video signal obtained by imaging the pattern to be measured with a television camera or the like is performed a predetermined number of times. The point is that it is possible to cope with level fluctuations in the video signal by finding the case where the target pattern best matches a predetermined standard pattern and reading the target pattern using the optimal binarization level in that case. .

以下、この発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の実施例を示す全体構成図、
第2図は第1図における2値化装置を示すブロツ
ク図、第2A〜2C図は第2図の動作を説明する
ための各部波形図、第3図は第1図の動作を説明
するためのフローチヤートである。
FIG. 1 is an overall configuration diagram showing an embodiment of the present invention;
Figure 2 is a block diagram showing the binarization device in Figure 1, Figures 2A to 2C are waveform diagrams of various parts to explain the operation in Figure 2, and Figure 3 is to explain the operation in Figure 1. This is a flowchart.

第1図において、1はテレビジヨンカメラ、2
は2値化装置、3は画像取込装置、4は画像メモ
リ、5は演算制御装置、6は判定結果出力装置
で、これらによりエンジンブロツクに刻印された
その型式に関する文字等を検査するエンジン型式
チエツカが構成される。したがつて、この実施例
における検査対象はエンジンブロツクの型式刻印
であり、該刻印に対して正反射照明を行ない、こ
れをテレビジヨンカメラ1により撮影する。ここ
で、正反射照明とは、平面上のくぼみを検査する
場合に使用される方法で、テレビジヨンカメラ等
の撮像装置により検査面を斜め方向から観察し、
該検査面を中心として撮像装置と鏡像関係にある
位置に拡散均一照明器(面光源)を置くものであ
る。この場合、検査面が鏡面に近ければ、撮像装
置は刻印の向い側に照明器を見ることになるが、
くぼみをの箇所は鏡面を形成し得ないので、その
部分だけが光を反射せずに黒くみえるという原理
を利用するものである。
In Figure 1, 1 is a television camera, 2
3 is a binarization device, 3 is an image capture device, 4 is an image memory, 5 is an arithmetic control device, and 6 is a judgment result output device, and these are used to check the engine model stamped on the engine block for characters related to the model. Chietsuka is composed. Therefore, the object of inspection in this embodiment is the model stamp of the engine block, and the stamp is illuminated with specular reflection and photographed by the television camera 1. Here, regular reflection illumination is a method used when inspecting depressions on a flat surface, in which the inspection surface is observed from an oblique direction using an imaging device such as a television camera.
A diffused uniform illuminator (surface light source) is placed at a position that is a mirror image of the imaging device with the inspection surface as the center. In this case, if the inspection surface is close to a mirror surface, the imaging device will see the illuminator on the side opposite the marking.
This method utilizes the principle that since a mirror surface cannot be formed in areas with depressions, only those areas do not reflect light and appear black.

このようにしてTVカメラ1により撮影された
ビデオ信号は、2値化装置2に与えられる。該2
値化装置2は、演算制御装置5からの固定2値化
レベル選択信号により2値化レベルを選択して2
値化画像信号を画像取込装置3へ送る。画像取込
装置3は、演算制御装置5の指令にもとづいて画
像メモリ4に一画面毎に画像データ(セグメント
長、右点座標、接続情報等)を書込む。演算制御
部5は、この画像データにもとづき所定の演算を
して文字判定を行ない、その結果を出力装置6へ
送る。
The video signal photographed by the TV camera 1 in this manner is given to the binarization device 2. Part 2
The digitization device 2 selects a binarization level based on the fixed binarization level selection signal from the arithmetic and control device 5, and converts the binarization level into two.
The digitized image signal is sent to the image capture device 3. The image capturing device 3 writes image data (segment length, right point coordinates, connection information, etc.) into the image memory 4 for each screen based on instructions from the arithmetic and control device 5. The arithmetic control section 5 performs predetermined arithmetic operations based on this image data to determine characters, and sends the results to the output device 6.

ここで、第1図に示される2値化装置について
第2,2A〜2C図を参照して説明する。
Here, the binarization apparatus shown in FIG. 1 will be explained with reference to FIGS. 2 and 2A to 2C.

第2図において、7は増巾器、8a,8bは遅
延素子、9は固定電圧源、10は分圧器、11a
〜11cは比較器、12a〜12cは単安定マル
チバイブレータ(以下、モノステと略称する。)、
13a〜13dはオア素子、14a,14bは調
整分圧器である。
In FIG. 2, 7 is an amplifier, 8a, 8b are delay elements, 9 is a fixed voltage source, 10 is a voltage divider, 11a
11c is a comparator, 12a to 12c are monostable multivibrators (hereinafter abbreviated as monostable),
13a to 13d are OR elements, and 14a and 14b are adjusting voltage dividers.

TVカメラ1からのビデオ信号は増巾器7で増
巾され、該増巾されたビデオ信号Aはそれぞれ遅
延素子8a,8bにより例えば1μsecずつ遅延さ
れてビデオ信号B,Cとなる。一方、固定電圧源
9の電圧は、分圧器10においてN通りに分圧さ
れる。したがつて、分圧器10は演算制御部から
与えられる2値化レベル選択指令により、所定の
値に分圧された所定の電圧を出力し、これによつ
て2値化レベルTV1〜TV9(第2A図イ参照)
を設定する。ビデオ信号Bと、分圧器10から出
力される2値化レベルとは比較器11aにて比較
され、これにより2値化が行なわれる。さらに、
その信号の一方は直接、また他方はモノステ12
aを介してオア素子13aに与えられるので、オ
ア素子13aの出力からは所定パルス巾の2値化
信号が得られることになる。例えば、ビデオ信号
Bの波形が第2A図イの如くであるとし、該ビデ
オ信号Bに対して2値化レベルをTV5とすれ
ば、同図ロの如き出力Dがオア素子13aを介し
て得られる。なお、同図ロの点線で示される2値
化出力は、ここではモノステ12aによつて一定
の時間巾taとなるように、ここでは時間teだけ引
き伸ばされる。このようにするのは、2値化出力
パルス巾を所定の大きさにすることによつてメモ
リへの書込みを確実にするためである。一方、増
巾器7を介して得られたビデオ信号Aは調整分圧
器14aで分圧され、比較器11bにおいて遅延
ビデオ信号Bと比較される、そして、該比較器1
1bの出力と、該出力をモノステ12bで所定巾
にされた出力とをオア素子13bにて論理和演算
することにより2値化信号Eが得られる。つま
り、第2B図からも明らかなように、遅延された
ビデオ信号Bと適当な値に分圧されたビデオ信号
Aとの差をとることにより、TVカメラ上の右側
のビデオレベルの立ち上がりを強調する。これ
は、刻印文字の右境界を強調するためである。こ
の方法は、温度や光量による一率なビデオレベル
の高低に対して余り影響を受けないので、分圧比
を適宜に調整しておくことにより安定した出力を
得ることができる。ただし、ここで問題になるの
は、刻印面の様な切削面の場合であつて、この場
合は面のアラサが変動して切削痕が出ることがあ
る。したがつて、この様に切削面がアライ場合の
刻印を読取るには、切削痕が2値化信号として現
われない様に分圧値を調整することが望ましい。
右境界の強調に対して左境界を強調する場合も同
様である。すなわち、第2C図に示されるよう
に、遅延ビデオ信号Cを分圧器14bで分圧調整
して得られる調整出力と、ビデオ信号B(同図イ
参照)とを比較器11cにより比較して2値化信
号を得、該信号をさらにモノステ12cにより所
定巾のパルス信号にして2値化信号Fを得るもの
である(同図ロ参照)。こうして得られる2値化
信号D,E,Fは、さらにオア素子13dにより
論理和がとられ、画像取込装置3に供給される。
A video signal from the TV camera 1 is amplified by an amplifier 7, and the amplified video signal A is delayed by, for example, 1 μsec by delay elements 8a and 8b, respectively, to become video signals B and C. On the other hand, the voltage of the fixed voltage source 9 is divided into N ways by a voltage divider 10. Therefore, the voltage divider 10 outputs a predetermined voltage divided into a predetermined value in response to a binarization level selection command given from the arithmetic control section, thereby setting the binarization levels TV1 to TV9 (the (See Figure 2A)
Set. The video signal B and the binarization level output from the voltage divider 10 are compared by a comparator 11a, thereby performing binarization. moreover,
One of the signals is direct and the other is the monoste 12
Since the signal is applied to the OR element 13a via the OR element 13a, a binary signal with a predetermined pulse width is obtained from the output of the OR element 13a. For example, if the waveform of the video signal B is as shown in FIG. 2A, and the binarization level is set to TV5 for the video signal B, an output D as shown in FIG. It will be done. Note that the binarized output shown by the dotted line in FIG. The reason for doing this is to ensure writing to the memory by setting the binarized output pulse width to a predetermined size. On the other hand, the video signal A obtained through the amplifier 7 is divided by the adjusting voltage divider 14a and compared with the delayed video signal B in the comparator 11b.
A binary signal E is obtained by performing an OR operation on the output of 1b and the output obtained by making the output into a predetermined width by the monoste 12b using an OR element 13b. In other words, as is clear from Figure 2B, by taking the difference between the delayed video signal B and the video signal A divided to an appropriate value, the rising edge of the video level on the right side of the TV camera is emphasized. do. This is to emphasize the right border of the stamped characters. This method is not affected much by the constant rise and fall of the video level due to temperature and light intensity, so stable output can be obtained by appropriately adjusting the partial pressure ratio. However, the problem here is in the case of cut surfaces such as stamped surfaces, in which case the roughness of the surface may vary and cut marks may appear. Therefore, in order to read the markings when the cut surfaces are aligned in this way, it is desirable to adjust the partial pressure value so that the cutting marks do not appear as a binary signal.
The same holds true when emphasizing the left border versus emphasizing the right border. That is, as shown in FIG. 2C, a comparator 11c compares the adjusted output obtained by adjusting the voltage of the delayed video signal C with the voltage divider 14b and the video signal B (see A in the same figure). A digitized signal is obtained, and the signal is further converted into a pulse signal of a predetermined width by a monostage 12c to obtain a binarized signal F (see b of the same figure). The binary signals D, E, and F thus obtained are further logically summed by an OR element 13d and supplied to the image capture device 3.

次に、第1図の動作について第3図を参照して
説明する。
Next, the operation shown in FIG. 1 will be explained with reference to FIG. 3.

まず、演算制御装置5は、電源投入によつて初
期状態となり、処理スタートとなる(○イ)。通常
は「判定開始」信号を監視し(○ロ)、所定のルー
チンワークを実行する(○ニ)。ルーチンワークと
は、表示または装置異常の監視等である。次いで
「判定開始」信号が来ると、前回の判定動作にお
ける最終の2値化レベルを設定する(○ハ)ととも
に、画像取込指令を取込装置3に与える(○ホ)。
画像メモリ4に画像データが書込まれると、文字
読取りを実行する(○ヘ)。こうして読取られた対
象パターンにもとづき演算制御装置5では対象パ
ターンと標準パターンとが比較され、該対象パタ
ーンの標準パターンに対するパターン間距離が所
定範囲内にあるか否か等を判定することにより、
対象サンプルパターンの標準パターンに対する相
関度または類似度が判定される(○ト)。その判定
結果が設定範囲内であれば該判定結果を出力する
(○リ)とともに、設定範囲外であれば2値化装置
2への2値化レベル選択指令を所定の適正2値化
系列にしたがつて設定し直す(○チ)。ここで、適
正2値化系列とは、文字読取を正確に行なうこと
ができる2値化レベルを試行錯誤法等により探索
する場合に用いられる、一連の2値化レベル選択
方法を示すレベル系列である。
First, when the power is turned on, the arithmetic and control unit 5 enters an initial state and starts processing (◯A). Normally, the "judgment start" signal is monitored (○B) and a predetermined routine work is executed (○D). Routine work includes monitoring displays or equipment abnormalities. Next, when a "judgment start" signal is received, the final binarization level in the previous determination operation is set (◯C), and an image capture command is given to the capture device 3 (◯H).
When the image data is written into the image memory 4, character reading is executed (◯). Based on the target pattern read in this way, the arithmetic and control unit 5 compares the target pattern with the standard pattern, and determines whether the distance between the target pattern and the standard pattern is within a predetermined range.
The degree of correlation or similarity of the target sample pattern to the standard pattern is determined (○). If the judgment result is within the set range, the judgment result is output (○), and if it is outside the set range, a binarization level selection command is sent to the binarization device 2 to a predetermined appropriate binarization sequence. Therefore, set it again (○chi). Here, the appropriate binarization series is a level series indicating a series of binarization level selection methods used when searching for a binarization level that allows accurate character reading by trial and error method. be.

第4A図はこのような2値化レベル系例を説明
するための説明図である。すなわち、第4A図は
第1回目の2値化レベルがTV5に設定され、2
回目はTV6、3回目はTV5という具合にその
2値化レベルを順次変えて行くことにより文字読
取を適正に行ないうる2値化レベルを探すもので
ある。そして、適正に読取りが行なわれたことが
判定されると、その時の2値化レベルを最終2値
化レベルとして記憶しておき、次回の2値化レベ
ルとして採用する。
FIG. 4A is an explanatory diagram for explaining an example of such a binarization level system. That is, in FIG. 4A, the first binarization level is set to TV5, and the second
The binarization level is sequentially changed, such as TV6 for the first time and TV5 for the third time, to find a binarization level that allows proper character reading. When it is determined that the reading has been performed properly, the binarization level at that time is stored as the final binarization level, and is used as the next binarization level.

第4B,4C図は2値化レベル系列の他の例を
説明するための説明図ある。
FIGS. 4B and 4C are explanatory diagrams for explaining other examples of the binarization level series.

第4B図の場合は、ビデオ信号が変動する場合
に使用して好適なもので、前回の判定時における
最終(最適)2値化レベルがTV1で、これを出
発点としてTV1から1つずつ順次増やしてレベ
ルがTV9になつたら今度は1つずつ減らして行
く操作を繰り返し、文字読取が最適となる場合を
試行錯誤的に探すものである。
In the case of Figure 4B, it is suitable for use when the video signal fluctuates; the final (optimal) binarization level at the time of the previous judgment was TV1, and starting from this, the binarization level is sequentially set one by one starting from TV1. When the level reaches TV9, the user repeats the process of decreasing the level one by one, searching through trial and error for the optimum character reading.

また、第4C図はサンプルパターンと設定され
た標準文字の特徴量との間の最小距離が2値化レ
ベルTV1〜TV9の間で極小をとること利用し
たもので、文字読取方式はパターンマツチング法
によつてもよい。この場合、サンプルパターンと
標準文字との距離は、これらの互いに異なる画素
または線素の総和で表わされる。したがつて、文
字の標準パターンとサンプルパターンとの間で異
なる画素の和を求めることにより距離を演算し、
その中で最小のものを最小文字距離として定義す
る。すなわち、エンジンの型式として使用される
文字は限定されているので、予めその文字の標準
パターンを覚えておいて該標準パターンとサンプ
ルパターンとの間でマンチングを行ない、異なる
画素の総和を設定文字毎に求め、その設定文字ご
との距離のうちで最小のものを最小文字距離と
し、該最小文字距離が得られる設定レベルを最適
レベルと判断する。例えば第4C図イに示される
如く、第1回目の固定2値化レベルとしてはTV
3が選ばれている。このレベルTV3は、例えば
前回の最適な2値化レベルでも良く、または過去
何十回かの2値化操作における最適な2値化レベ
ルのうち最も頻繁に出現する所定の値でも良い。
レベルTV3から最初は+2したレベルTV5、
次いで−2したレベルTV1を設定してそのとき
の最小文字距離を求め、その区間で極小値がなけ
れば、斜め方向に+2したレベルTV7を選択す
る。その区間にも極小がなければ、更に+2した
レベルTV9を判定してその極小の範囲TV6,
TV8の判定をして極小となるTV7を最後に判
定し、極小であることを確認して判定を終了す
る。この場合の2値化レベルと最小文字距離との
関係を示すのが同図ロであり、同図における曲線
上の数字はレベルの設定回数を示し、例えば第1
回目はレベルTV3に、第2回目はレベルTV5
にそれぞれ設定し、同様にして8回目はレベル
TV7に設定して最小文字距離の極小値が得られ
た例である。第4A,4B図に示されるものが試
行錯誤法であるのに対し、これは漸近法とも称す
べきものである。
In addition, Fig. 4C takes advantage of the fact that the minimum distance between the sample pattern and the set standard character feature amount is minimal between the binarization levels TV1 to TV9, and the character reading method is pattern matching. It may depend on the law. In this case, the distance between the sample pattern and the standard character is expressed by the sum of these mutually different pixels or line elements. Therefore, the distance is calculated by calculating the sum of the different pixels between the standard pattern of characters and the sample pattern,
The smallest one among them is defined as the minimum character distance. In other words, since the characters used as the engine model are limited, memorize the standard pattern of that character in advance, perform munching between the standard pattern and the sample pattern, and set the sum of different pixels for each character. The minimum character distance among the distances for each set character is determined as the minimum character distance, and the setting level at which the minimum character distance is obtained is determined to be the optimal level. For example, as shown in Figure 4C A, the first fixed binarization level is TV
3 is selected. This level TV3 may be, for example, the previous optimum binarization level, or may be a predetermined value that appears most frequently among the optimum binarization levels in the past several dozen binarization operations.
Level TV5, initially +2 from level TV3,
Next, the minimum character distance at that time is determined by setting the level TV1 which is decreased by -2, and if there is no minimum value in that section, the level TV7 which is increased by +2 in the diagonal direction is selected. If there is no local minimum in that section, the level TV9 which is further increased by +2 is determined and the local minimum range TV6,
TV8 is determined, and TV7, which is minimum, is determined last, and the determination is completed after confirming that it is minimum. Figure B shows the relationship between the binarization level and the minimum character distance in this case, and the numbers on the curve in the figure indicate the number of times the level is set.
The first time was at level TV3, the second time was at level TV5.
, and in the same way, set the level for the 8th time.
This is an example in which the minimum value of the minimum character distance was obtained by setting TV7. While the method shown in FIGS. 4A and 4B is a trial-and-error method, this method can also be called an asymptotic method.

以上のように、この発明によれば、種々の外乱
(光源光量、温度、検査対象面の明度等の変動)
によるビデオレベルの変動に関わりなく適切な2
値化レベルを選択することができるので、結果と
して鮮明な2値化画像を得ることができる。
As described above, according to the present invention, various disturbances (variations in the amount of light source, temperature, brightness of the surface to be inspected, etc.)
Appropriate 2 regardless of video level fluctuations caused by
Since the digitization level can be selected, a clear binarized image can be obtained as a result.

なお、この発明は、エンジンブロツクの型式
(刻印)読取りばかりでなく、印刷文字読取装置
や定まつた形状のパターンを認識する認識装置一
般に適用することができるものである。
The present invention can be applied not only to engine block type (inscription) reading, but also to printed character reading devices and recognition devices in general that recognize patterns of fixed shapes.

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

第1図はこの発明の実施例を示す全体構成図、
第2図は第1図における2値化装置の具体例を示
すブロツク図、第2A〜第2C図は第2図の動作
を説明するための説明図、第3図は第1図の動
作、特に演算制御装置の動作を説明するためのフ
ローチヤート、第4A〜4C図は2値化レベルの
設定例を説明するための説明図である。 符号説明、1…テレビジヨンカメラ、2…2値
化装置、3…画像取込装置、4…画像メモリ、5
…演算制御装置、6…判定出力装置、7…増巾
器、8a,8b…遅延素子、9…固定電圧源、1
0,14a,14b…分圧器、11a〜11c…
比較回路、12a〜12c…単安定マルチバイブ
レータ(モノステ)、13a〜13d…オア素子、
TV1〜TV9…2値化レベル。
FIG. 1 is an overall configuration diagram showing an embodiment of the present invention;
FIG. 2 is a block diagram showing a specific example of the binarization device in FIG. 1, FIGS. 2A to 2C are explanatory diagrams for explaining the operation of FIG. 2, and FIG. Particularly, the flow chart for explaining the operation of the arithmetic and control device, and FIGS. 4A to 4C are explanatory diagrams for explaining an example of setting the binarization level. Description of symbols, 1... Television camera, 2... Binarization device, 3... Image capture device, 4... Image memory, 5
... Arithmetic control device, 6... Judgment output device, 7... Amplifier, 8a, 8b... Delay element, 9... Fixed voltage source, 1
0, 14a, 14b...Voltage divider, 11a-11c...
Comparison circuit, 12a to 12c...monostable multivibrator (monoste), 13a to 13d...OR element,
TV1 to TV9...Binarization level.

Claims (1)

【特許請求の範囲】[Claims] 1 撮像手段により測定対象パターンを撮像して
得られる撮像信号を所定のレベルで2値化するこ
とにより対象パターン画像を読取るようにした画
像読取装置において、複数の互いに異なる2値化
レベルを設定するレベル設定手段と、該設定レベ
ルにもとづいて対象パターンを2値化する2値化
手段と、該2値化手段にて2値化された対象パタ
ーンを所定の標準パターンと比較することにより
対象パターンの標準パターンに対する相関度を判
定する判定手段とを設け、前記設定手段によりそ
の都度2値化レベルを設定して対象パターンを2
値化する操作を所定回数行なうことにより、前記
相関度が所定値となる2値化レベルを決定するよ
うにしたことを特徴とする画像読取装置。
1. In an image reading device that reads a target pattern image by binarizing an imaging signal obtained by imaging a measurement target pattern using an imaging means at a predetermined level, a plurality of mutually different binarization levels are set. a level setting means, a binarization means for binarizing the target pattern based on the set level, and a target pattern by comparing the binarized target pattern by the binarization means with a predetermined standard pattern. determination means for determining the degree of correlation with respect to the standard pattern, and the setting means sets the binarization level each time to convert the target pattern into two.
An image reading device characterized in that a binarization level at which the degree of correlation becomes a predetermined value is determined by performing a digitization operation a predetermined number of times.
JP57021169A 1982-02-15 1982-02-15 Picture reader Granted JPS58139566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57021169A JPS58139566A (en) 1982-02-15 1982-02-15 Picture reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57021169A JPS58139566A (en) 1982-02-15 1982-02-15 Picture reader

Publications (2)

Publication Number Publication Date
JPS58139566A JPS58139566A (en) 1983-08-18
JPS6343037B2 true JPS6343037B2 (en) 1988-08-26

Family

ID=12047413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57021169A Granted JPS58139566A (en) 1982-02-15 1982-02-15 Picture reader

Country Status (1)

Country Link
JP (1) JPS58139566A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60205683A (en) * 1984-03-29 1985-10-17 Toshiba Corp Method and device for discrminating external appearance
JPS62282387A (en) * 1986-05-30 1987-12-08 Matsushita Electric Ind Co Ltd Threshold control method
JPS63108469A (en) * 1986-10-24 1988-05-13 Mazda Motor Corp Image processing device and its method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52104874A (en) * 1976-02-28 1977-09-02 Toshiba Corp Integrated circuit test equipment
JPS5368913A (en) * 1976-12-01 1978-06-19 Omron Tateisi Electronics Co Image pickup device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52104874A (en) * 1976-02-28 1977-09-02 Toshiba Corp Integrated circuit test equipment
JPS5368913A (en) * 1976-12-01 1978-06-19 Omron Tateisi Electronics Co Image pickup device

Also Published As

Publication number Publication date
JPS58139566A (en) 1983-08-18

Similar Documents

Publication Publication Date Title
KR910010180A (en) Solder appearance inspection device
US7044285B2 (en) Coin discriminating apparatus and coin discriminating method
KR930002347B1 (en) Pattern position recognition apparatus
JPH03241969A (en) Picture reader
EP0265769B1 (en) Method and apparatus for measuring with an optical cutting beam
JPS6343037B2 (en)
KR940004916B1 (en) Position recognizing instrument
JPS6042884B2 (en) IC lead bending inspection device
JP2775448B2 (en) Pattern recognition device and pattern recognition method
JPH06258224A (en) Sintering condition monitoring method for ceramic substrate and its device
JPS60200375A (en) Template matching system
JPS58129888A (en) Position detector
JPH0658729A (en) Inspecting apparatus for soldered state
JPH0750913B2 (en) Image signal processing method
JPS5926075B2 (en) optical character reader
JPH0814847B2 (en) Pattern inspection method
JPH0715365B2 (en) Pattern position detection method
JPS627266A (en) Picture processor
JPS61161088A (en) Picture processing device
JPS63186379A (en) Fetching system for binary picture
JPH08247729A (en) Dimension measuring instrument
JPH1196338A (en) Image reader
JP2000161917A (en) Method and device for automatic pattern detection
JPH02253384A (en) Character reader
JPH05316439A (en) Vsub automatic adjustment device