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

JPH0792813B2 - Stamped stamp detection method and device - Google Patents

Stamped stamp detection method and device

Info

Publication number
JPH0792813B2
JPH0792813B2 JP2000100A JP10090A JPH0792813B2 JP H0792813 B2 JPH0792813 B2 JP H0792813B2 JP 2000100 A JP2000100 A JP 2000100A JP 10090 A JP10090 A JP 10090A JP H0792813 B2 JPH0792813 B2 JP H0792813B2
Authority
JP
Japan
Prior art keywords
image
marking
embossing
imaging
area
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 - Lifetime
Application number
JP2000100A
Other languages
Japanese (ja)
Other versions
JPH03204792A (en
Inventor
英都 中村
哲美 原川
博季 三上
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP2000100A priority Critical patent/JPH0792813B2/en
Publication of JPH03204792A publication Critical patent/JPH03204792A/en
Publication of JPH0792813B2 publication Critical patent/JPH0792813B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は打刻印字像が形成された複数の打刻材の中か
ら1つの打刻材を選出し、その打刻印を検出する検出方
法及び装置に係り、特に、比較的小型の一次圧延鋼材に
打刻されたマーキングをテレビカメラで撮影し、これを
画像処理して内容を認識する打刻印の検出方法及び装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention selects a single embossing material from a plurality of embossing materials on which an embossed print image is formed, and detects the embossing mark. More particularly, the present invention relates to a method and a device for detecting an embossed mark in which a marking engraved on a relatively small-sized primary rolled steel material is photographed by a television camera and the image is processed to recognize the content.

[従来の技術] 例えば、比較的小型の一次圧延鋼材(例えばビレット、
ブルーム)に対し、数字、文字、記号などをマーキング
し、このマーキングを自動的に読み取って認識し、これ
を製造、加工、在庫管理などに利用している。
[Prior Art] For example, a relatively small primary rolled steel material (for example, billet,
Bloom) is marked with numbers, letters, symbols, etc., and this marking is automatically read and recognized, and used for manufacturing, processing, inventory control, etc.

このマーキングの形成は、数字、文字、記号などが左右
反転に形成された印字部材(文字金型)を一次圧延鋼材
の端面に押圧して刻設し、刻印面に数字、文字、記号な
どが溝状に形成されるようにしている。
To form this marking, press a marking member (character die) in which numbers, letters, symbols, etc. are formed on the left and right sides against the end surface of the primary rolled steel material and engrave it. It is formed in a groove shape.

この1つの方法として、一次圧延鋼材(以下、刻印材と
いう)に形成された打刻印字像をテレビカメラなどの撮
像装置により多値の原画像信号として得、これを変換し
て得る2値の最終画像を用いて文字を認識するものがあ
る。そして、文字認識用の最終画像を得るための画像処
理として、例えば、特開昭61−80372号がある。これに
示された技術は、多値の原画像を2値の最終画像に変換
する2値化処理において、画像全体に対して1つのしき
い値を用いるものとし、このしきい値を最終画像の低輝
度領域の数が設定値に合致するまで更新して決定するこ
とを特徴としている。
As one of the methods, an embossed print image formed on a primary rolled steel material (hereinafter referred to as an engraved material) is obtained as a multi-valued original image signal by an image pickup device such as a television camera, and a binary image obtained by conversion is obtained. Some recognize characters using the final image. As image processing for obtaining a final image for character recognition, there is, for example, JP-A-61-80372. The technique shown therein uses one threshold value for the entire image in the binarization process for converting a multivalued original image into a binary final image, and this threshold value is used as the final image. It is characterized in that it is updated and determined until the number of low-luminance areas in (3) matches the set value.

[発明が解決しようとする課題] しかし、上記のような従来の打刻印の検出装置において
は、複数の刻印材が同時に撮影領域に搬送された場合、
その1つを特定化することができないため、刻印検出を
行うことができない。
[Problems to be Solved by the Invention] However, in the conventional marking detection device as described above, when a plurality of marking materials are simultaneously conveyed to the imaging region,
Imprint detection cannot be performed because one of them cannot be specified.

また、1つのみのしきい値を用いて画像全体に対する二
値化処理を行っているため、誤認識をする場合がある。
すなわち、打刻面は平坦でなく、また錆や汚染を生じて
いることが多く、その発生の程度や形成状況も一定では
ない。このため、汚れなどが刻印と共に検出され、誤認
識や認識不能を招くことになる。
In addition, since the binarization process is performed on the entire image using only one threshold value, there is a case where erroneous recognition is performed.
That is, the engraved surface is not flat, and rust and contamination are often generated, and the degree of occurrence and the state of formation are not constant. For this reason, stains and the like are detected together with the marking, resulting in erroneous recognition and unrecognizable result.

この発明は、かかる従来技術の問題点を解決するために
なされたもので、同時に複数の刻印材が画像撮影領域に
到来しても、その1つを特定化して打刻印を検出できる
ようにした打刻印の検出方法及び装置を提供することに
ある。
The present invention has been made to solve the problems of the prior art. Even if a plurality of marking materials arrive in the image capturing area at the same time, one of them can be specified to detect the marking. An object of the present invention is to provide a method and an apparatus for detecting an inscription.

[課題を解決するための手段] 上記の目的を達成するために、この発明は、打刻印字像
が形成された複数の打刻材の打刻面を同時に撮像して撮
像信号を得、前記撮像された領域の中心から放射状に複
数の検査領域を設定し、この検査領域における前記各撮
像信号を二値化し、その変化点が最も強く現われる部位
を検査対象の刻印材の刻印面として特定し、この特定し
た刻印面についてのみ文字認識用の二値化処理を施す方
法と打刻印字像が形成された複数の打刻材の打刻面を斜
め方向から照明して撮像する撮像手段と、この撮像手段
によって得られた前記撮像領域の中心から放射状に複数
の検査領域を設定し、この検査領域における前記撮像手
段によって得られた各撮像信号を二値化する手段と、こ
の手段によって得られた二値化信号の変化点によって特
定の打刻材を限定し、この打刻材における打刻印字像を
二値化処理して文字認識を行なう文字認識手段とを具備
した装置である。
[Means for Solving the Problems] In order to achieve the above-mentioned object, the present invention provides an image pickup signal by simultaneously picking up an embossing surface of a plurality of embossing materials on which an embossed print image is formed. A plurality of inspection areas are set radially from the center of the imaged area, each imaging signal in this inspection area is binarized, and the site where the change point appears most strongly is specified as the marking surface of the marking material to be inspected. A method for performing a binarization process for character recognition only on the specified marking surface, and an imaging means for illuminating the embossing surface of a plurality of embossing materials on which an embossed print image is formed from an oblique direction and capturing the image. A plurality of inspection areas are set radially from the center of the imaging area obtained by the imaging means, and the imaging signals obtained by the imaging means in the inspection area are binarized; Change in binary signal This is an apparatus provided with a character recognition means for limiting a specific embossing material by points and binarizing an embossed print image on the embossing material for character recognition.

[作用] 上記のように構成することによって、撮影画像中の複数
の打刻面のうち、設定した複数の検査領域のいずれにも
大きな変化点が検出されたとき、この各変化点で囲まれ
る部分を1つの刻印面として特定する。この特定した刻
印面のみについて二値化処理及び更に必要に応じて付随
する処理を施すことにより文字認識用の情報を得ること
ができる。したがって、撮影画像中に複数の刻印面を含
む場合でも、その中の1つを特定することができ、刻印
検出の自動化を図ることが可能になる。
[Operation] With the above configuration, when a large change point is detected in any of the set inspection areas among the plurality of engraved surfaces in the captured image, the change point is surrounded by each change point. The part is specified as one marking surface. Information for character recognition can be obtained by subjecting only the specified marking surface to binarization processing and, if necessary, accompanying processing. Therefore, even when a plurality of marking surfaces are included in the captured image, one of them can be specified, and the marking detection can be automated.

[実施例] 第1図はこの発明の一実施例を示すブロック図である。[Embodiment] FIG. 1 is a block diagram showing an embodiment of the present invention.

撮像装置1は複数のうちの1つの刻印材(この実施例で
は、ビレットについて例示)の打刻面を撮影するもので
あり、例えば、テレビカメラが用いられる。撮像装置1
には打刻検出装置2が接続され、この打刻検出装置2に
は文字認識処理部3-1〜3-Nが接続されている。
The image pickup apparatus 1 is for photographing the stamped surface of one of a plurality of marking materials (in this embodiment, a billet is exemplified), and for example, a television camera is used. Imaging device 1
An embossing detection device 2 is connected to the embossing detection device 2, and character recognition processing units 3 -1 to 3 -N are connected to the embossing detection device 2.

撮像装置1は、第2図に示すように、複数の刻印材4の
うちの少なくとも1つの打刻面を撮影領域とするように
配設され、また、打刻面を照明するために複数のランプ
5が配設されている。
As shown in FIG. 2, the image pickup apparatus 1 is arranged such that at least one of the marking materials 4 has a marking surface as an imaging area, and a plurality of marking materials are illuminated to illuminate the marking surface. A lamp 5 is provided.

打刻画像の抽出が確実に行われるためには、背景と文字
との濃度差(コントラスト)が大きいことが望まれる。
この濃度差は、照明光の照射方向、文字形状で決ま
る文字の実効直線長(なお、ここでは各照明方向に平行
な直線を考えたとき、その直線と文字とがかさなる長さ
の一番長いものを実効直線長と定義する)、文字の打
刻深さなどに関係する。そして、抽出を良好にするため
には、文字の打刻が深く、実効直線長を短くするのがよ
く、実効直線を短くするためにはランプ5による照明を
打刻面に対して斜め方向から行うのがよい。
In order to reliably extract the stamped image, it is desired that the density difference (contrast) between the background and the character is large.
This density difference is the effective straight line length of a character that is determined by the direction of illumination light and the shape of the character. (Here, when a straight line parallel to each lighting direction is considered, the straight line and the character are the longest to overlap. The thing is defined as the effective straight line length), and is related to the character's embossing depth. In order to improve the extraction, it is preferable that the characters are deeply stamped and the effective straight line length is shortened. In order to shorten the effective straight line, the illumination by the lamp 5 is oblique to the stamped surface. Good to do.

打刻検出装置2は、撮像装置1からの原画像信号11中に
含まれる複数の刻印材4の1つのみを特定する端面マス
ク画像再生部6、刻印像のみを強調する処理を施す刻印
画像強調処理部7、アンド回路8、刻印材向き検出処理
部9、刻印位置検出部10、刻印画像分離処理部11、及び
二値化処理部12-1〜12-Nから構成されている。
The embossing detection device 2 is an end face mask image reproduction unit 6 that specifies only one of the plurality of engraving materials 4 included in the original image signal 11 from the image pickup device 1, and an engraved image that performs processing for emphasizing only the engraved image. The enhancement processing unit 7, the AND circuit 8, the marking material orientation detection processing unit 9, the marking position detection unit 10, the marking image separation processing unit 11, and the binarization processing units 12 -1 to 12 -N .

次に、第1図に示す構成の概略動作について説明する。Next, the general operation of the configuration shown in FIG. 1 will be described.

まず、撮像装置1によって第2図に示す方向から刻印材
4の打刻面を撮像し、刻印像を多値の原画像信号13とし
て得る。これに対し刻印面の全体が撮像領域内にある刻
印材4のみを端面マスク画像生成部6によって抽出し、
端面マスク画像14を出力する。
First, the engraving surface of the engraving material 4 is imaged from the direction shown in FIG. 2 by the imaging device 1, and the engraved image is obtained as a multivalued original image signal 13. On the other hand, the end face mask image generation unit 6 extracts only the marking material 4 in which the entire marking surface is within the imaging region,
An end face mask image 14 is output.

一方、原画像信号13に対し、刻印画像強調処理部7によ
って刻印像(文字、数字、記号などの像)みを強調する
処理を施し、刻印画像強調信号15を出力する。ついで、
アンド回路8によって、端面マスク画像生成部6で特定
された端面マスク画像14の座標Z(x,y)に含む刻印像
(文字、数字、記号など)の刻印画像強調信号16のみを
ゲート通過させる。
On the other hand, the original image signal 13 is subjected to a process of emphasizing the imprinted image (image of characters, numbers, symbols, etc.) by the imprinted image emphasizing processing unit 7, and the imprinted image emphasizing signal 15 is output. Then,
The AND circuit 8 allows only the stamped image enhancement signal 16 of the stamped image (characters, numbers, symbols, etc.) included in the coordinates Z (x, y) of the end face mask image 14 specified by the end face mask image generation unit 6 to pass through the gate. .

ついで、刻印材向き検出処理部9によって刻印材の向を
検出し、刻印材向き情報17を出力する。
Then, the marking material orientation detection processing unit 9 detects the orientation of the marking material and outputs the marking material orientation information 17.

さらに、刻印画像強調信号16及び刻印材向き情報17に基
づいて刻印位置検出処理部10により刻印位置を検出す
る。この刻印位置検出処理部10によって得られる刻印位
置情報18及び原画像信号13に基づいて、刻印画像分離処
理部11により原画像信号13を各々の刻印毎に分離させた
N個の刻印別画像信号19を得る。この刻印別画像信号19
は、N個の中に1つだけの刻印像を含んでいる。そこ
で、二値化処理部12-1〜12-Nによって各々の刻印毎に独
立に二値化処理を施すことにより、最終画像20-1〜20-N
が得られる。この最終画像20-1〜20-Nに対し、文字認識
処理部3-1〜3-Nによって文字認識処理を実行する。
Further, the marking position detection processing unit 10 detects the marking position based on the marking image enhancement signal 16 and the marking material orientation information 17. Based on the marking position information 18 and the original image signal 13 obtained by the marking position detection processing unit 10, the marking image separation processing unit 11 separates the original image signal 13 for each marking, and N marking-specific image signals. Get 19 Image signal according to this stamp 19
Contains only one of the N imprints. Therefore, the binarization processing units 12 -1 to 12 -N independently perform binarization processing on each marking to obtain the final images 20 -1 to 20 -N.
Is obtained. The character recognition processing units 3 -1 to 3 -N perform character recognition processing on the final images 20 -1 to 20 -N .

次に、第3図〜第6図を参照して端面マスク画像生成部
6の処理について説明する。
Next, the processing of the end face mask image generation unit 6 will be described with reference to FIGS.

ここでは、第3図に示すように、3本の刻印材が撮影領
域内に有り、その中央に1本が位置し、この両側に所定
の間隙をもって2本の刻印材が位置している場合を例に
説明する。そして、撮影領域の中心から十字形に縦、横
に検査領域としての細幅な枠w10,w20,w30,w40を設定す
る。
In this case, as shown in FIG. 3, when three marking materials are in the photographing area, one marking material is located in the center of the photographing area, and two marking materials are located on both sides of the marking material with a predetermined gap. Will be described as an example. Then, narrow frames w10, w20, w30, w40 as inspection regions are set in a cross shape vertically and horizontally from the center of the imaging region.

また、印画像の分解能は、例えば、0.305×0.305mm/1画
素のレベルとし、また、枠wの幅を100画素(pix)と
し、枠の長さを256画素としている。
The resolution of the printed image is, for example, 0.305 × 0.305 mm / 1 pixel level, the width of the frame w is 100 pixels (pix), and the length of the frame is 256 pixels.

3本の刻印材は、相互に密着した状態で束ねられている
が、その両端の周縁部は丸みを有しているため、隣接間
及び周縁部の外側には刻印よりも深い溝が形成されてい
る。したがって、枠内を二値化していくと、刻印とは明
らかに異なる二値化レベルの変化点が生じ、この変化点
位置を刻印面の周縁と見なすことができる。
The three marking materials are bundled in close contact with each other, but since the peripheral edges of both ends are rounded, a groove deeper than the marking is formed between the adjacent markings and outside the peripheral edges. ing. Therefore, when the inside of the frame is binarized, a change point of the binarization level that is clearly different from the marking occurs, and this change point position can be regarded as the peripheral edge of the marking surface.

具体的には、まず、上記の枠w10,w20,w30,w40内の各々
の画像に対し、判別しきい値法によって二値化処理を行
う(S31)。ついで、二値化結果を用いて枠w10,w20,w3
0,w40の各々に対し、中心から外側に向かって、その長
さ方向に順次プロフィールを測定していくと、第4図に
示すように、抽出対象の刻印材4の刻印面の周縁と刻印
材間の間隙(或いは、開放された空間との間)とが接す
る位置でプロフィールは大きく変化し、変化点h1(枠w1
0に存在)、変化点h2(枠w20に存在)、変化点h3(枠w3
0に存在)、変化点h4(枠w40に存在)が得られる(S3
2)。この変化点で囲まれる部分を刻印材4の端面であ
ると確定し(S33)、これを画像処理上では第6図に示
すように白にセットし、これを端面マスク画像14として
出力する。
Specifically, first, binarization processing is performed on each image in the above-mentioned frames w10, w20, w30, w40 by the discrimination threshold method (S31). Then, using the binarization result, the frame w10, w20, w3
For each of 0 and w40, the profile was sequentially measured from the center to the outside in the length direction, and as shown in FIG. 4, the periphery of the marking surface of the marking material 4 to be extracted and the marking The profile changes greatly at the position where the gap between the materials (or between the open spaces) comes into contact, and the change point h1 (frame w1
Existing in 0), change point h2 (existing in frame w20), change point h3 (existing in frame w3
Existing in 0) and the change point h4 (existing in frame w40) are obtained (S3
2). The portion surrounded by the change points is determined to be the end face of the marking material 4 (S33), and this is set to white as shown in FIG. 6 in image processing, and this is output as the end face mask image 14.

次に、刻印画像強調処理部7の詳細について説明する。Next, details of the stamped image enhancement processing unit 7 will be described.

刻印材4に形成されている刻印は、照明によって生じる
影(以下、この影による像を刻印像という)が撮影され
ることにより、画像として捕えられる。したがって、撮
像装置1にとって、刻印像が刻印材向き検出処理や刻印
位置検出処理を施すに充分なほどに鮮明であれば、刻印
画像強調処理は必要ではない。しかし、一般に刻印像を
鮮明に得ることは難しく、刻印画像強調処理を施さなけ
れば、良好な画像検出は得ることはできない。
The marking formed on the marking material 4 is captured as an image by photographing a shadow generated by illumination (hereinafter, an image formed by this shadow is referred to as a marking image). Therefore, if the marking image is sufficiently clear for the marking material orientation detection processing and the marking position detection processing, the image pickup apparatus 1 does not need the marking image enhancement processing. However, it is generally difficult to obtain a marked image clearly, and good image detection cannot be obtained unless the marked image enhancement processing is performed.

この刻印画像強調処理部6での処理を数式で示せば、次
のようになる。
The processing performed by the marking image enhancement processing unit 6 can be represented by a mathematical expression as follows.

すなわち、画像信号13の座標(x,y)の濃度値をf(x,
y)とすると、刻印強調画像の座標(x,y)の濃度値g
(x,y)は、次式で与えられる。
That is, the density value of the coordinates (x, y) of the image signal 13 is f (x,
y), the density value g of the coordinates (x, y) of the marking-enhanced image
(X, y) is given by the following equation.

ここで、xi,yiは、原画像信号を画像移動処理させた時
のx,y方向の移動量であり、aiは加重定数を示してい
る。また、上式の定数(N,xi,yi,ai)は、対象とする画
像信号を特徴から定めることができる。適当な定数を選
ぶことによって、ノイズ分を強調することなく、刻印画
像のみを強調することができる。
Here, xi and yi are movement amounts in the x and y directions when the original image signal is subjected to image movement processing, and ai is a weighting constant. Further, the constant (N, xi, yi, ai) in the above equation can determine the target image signal from the characteristics. By selecting an appropriate constant, it is possible to enhance only the imprinted image without enhancing the noise component.

次に、第7図を参照して刻印材向き検出処理部9の詳細
について説明する。
Next, details of the marking material orientation detection processing unit 9 will be described with reference to FIG.

刻印材4の刻印(本実施例では、3段の数字の組合せか
ら成り、第1段が5桁、第2段が2桁、第3段が1桁か
らなる)が撮像装置1にとって最適な位置で送られて来
るとはがぎらない。そこで、刻印画像強調信号16の画像
から縦、横を判断し、正位置による画像に変換する。具
体的には、刻印画像の縦、横方向の濃度射影を得、刻印
の配置が刻印材4の中心を回転中心として、点対の配置
が刻印材4の中心を回転中心として、点対象でなければ
刻印材4の向きにより縦、横の積算値a,bの最大値位置
c,dもしくは大きさが異なる。
The marking of the marking material 4 (in this embodiment, a combination of numbers in three stages, the first stage is 5 digits, the second stage is 2 digits, and the third stage is 1 digit) is optimal for the image pickup apparatus 1. It does not come off when it is sent at the location. Therefore, the vertical or horizontal direction is determined from the image of the stamped image enhancement signal 16, and the image is converted into the image at the normal position. Specifically, the density projections in the vertical and horizontal directions of the stamped image are obtained, and the markings are point-symmetrically arranged with the center of the stamping material 4 as the center of rotation and the point pair as the center of rotation of the stamping material 4. If not, depending on the orientation of the marking material 4, the maximum value position of the vertical and horizontal integrated values a and b
c, d or different size.

この情報に基づいて解析を行うことにより、刻印材4の
向きを検出することができる。例えば、最大値位置の公
転が、刻印材4の左上、右上、右下、左下のいずれに有
るかにより、回転角を0,90度,180度,270度のいずれかに
あるものと判定する。
By performing an analysis based on this information, the orientation of the marking material 4 can be detected. For example, it is determined that the rotation angle is 0, 90 degrees, 180 degrees, or 270 degrees depending on whether the revolution of the maximum value position is at the upper left, upper right, lower right, or lower left of the marking material 4. .

次に、第8図を参照して刻印位置検出処理部8の処理の
詳細について説明する。
Next, details of the processing of the marking position detection processing unit 8 will be described with reference to FIG.

この処理は、刻印画像強調信号16または刻印材向き情報
17に対し、刻印材4の特定範囲(この実施例では、第8
図中の濃度射影算出範囲l)について濃度射影を求め、
その積算値の凹凸を検出することにより、刻印の位置を
検出している。第8図においては、刻印の上段の5つの
数字の検出を行っているが、同様の処理を繰り返すこと
により、全ての刻印の位置を検出することが可能であ
る。
This process is performed by using the stamped image enhancement signal 16 or stamped material orientation information.
On the other hand, with respect to 17, a specific range of the marking material 4 (in this embodiment,
The density projection is calculated for the density projection calculation range 1) in the figure,
The position of the marking is detected by detecting the unevenness of the integrated value. In FIG. 8, the five numbers in the upper row of the marking are detected, but the positions of all the markings can be detected by repeating the same processing.

次に、二値化処理部10-1〜10-Nの動作の詳細について説
明する。
Next, details of operations of the binarization processing units 10 -1 to 10 -N will be described.

この構成における概略動作は、刻印別画像(多値画像)
の濃度ヒストグラムを算出し、これによって決定された
二値化しきい値に基づいて刻印別画像を二値化するもの
である。このままでは、様々なノイズを含んでいるた
め、二値化画像に対しノイズ除去処理部(不図示)によ
ってノイズ除去処理を実施する。
The general operation in this configuration is an image by marking (multivalued image)
The density histogram is calculated, and the marking-based image is binarized based on the binarization threshold determined by the density histogram. As it is, since various noises are included, noise removal processing is performed on the binarized image by a noise removal processing unit (not shown).

この二値化処理を第7図に示した各ビレットを例にし
て、第9図、第10A図、第10B図及び第11図を参照して説
明する。
This binarization process will be described with reference to FIGS. 9, 10A, 10B and 11 by taking each billet shown in FIG. 7 as an example.

第9図に示すように、入力画像に対し各1文字が枠で囲
まれるように区分し、枠w1〜w8を割り当てる。この枠w1
〜w8の各々に対し、枠内を判別しきい値法で二値化し
(しきい値:th1、分離度b1)、二値化画像wa1を得る(S
41)。ついで、残った領域の面積ar1を測定し(S42)、
第11図のように、枠内のしきい値th1以上の濃度を持つ
点について(画素の数)判別しきい値法で二値化処理
(しきい値:th2、分離度:b2)し、二値化画像wa2を得る
(S43)。
As shown in FIG. 9, the input image is divided so that each character is surrounded by a frame, and the frames w1 to w8 are assigned. This frame w1
For each of w8 to w8, the inside of the frame is binarized by the discriminant threshold method (threshold value: th1, separation b1), and a binarized image wa1 is obtained (S
41). Then, measure the area ar1 of the remaining region (S42),
As shown in FIG. 11, binarization processing (threshold value: th2, separation degree: b2) by the threshold value method (the number of pixels) for the points having the density equal to or greater than the threshold value th1 in the frame, A binarized image wa2 is obtained (S43).

続いて残った領域の面積ar2を測定し(S44)、分離度b1
とb2を比較する(S45)。S45において、b1>b2であれ
は、第10B図のフローへ移動し、b2>b1であれば第10B
図のフローへ移動する。
Subsequently, the area ar2 of the remaining region is measured (S44), and the separation degree b1
And b2 are compared (S45). In S45, if b1> b2, the process moves to the flow of FIG. 10B, and if b2> b1, it moves to 10B.
Move to the flow in the figure.

フローでは面積ar1と面積しきい値arthを比較し、ar1
<arthであれば、以後の処理対象画像をwa1にする(S4
7)。また、ar1>arthであれば、以後の処理対象画像を
wa2にする(S48)。このS48の処理は、S46でフローが
選択された場合にも実行される。
In the flow, the area ar1 is compared with the area threshold arth, and ar1
If it is arth, the image to be processed thereafter is set to wa1 (S4
7). If ar1> arth, the subsequent processing target image
Set to wa2 (S48). The process of S48 is also executed when the flow is selected in S46.

S46またはS48の処理が終了すると、処理対象画像内の特
徴量を測定する(S49)。ついで、面積30画素(pix:ピ
クセル)未満のものを除去し(S50)、さらに面積率が
0.5以上のものを除去する(S51)。S49〜S51までが、ノ
イズ除去処理に該当する。
When the processing of S46 or S48 is completed, the feature amount in the processing target image is measured (S49). Then, those with an area of less than 30 pixels (pix: pixels) are removed (S50), and the area ratio is
Removes 0.5 or more (S51). S49 to S51 correspond to the noise removal processing.

次に、本発明の具体的な実施例について説明する。Next, specific examples of the present invention will be described.

ここでは、各印材4が約1200mm×1200mmの角ビレット
で、端面に製品番号が打刻されたものとし、この製品番
号を打刻検出装置2によって検出し、これを文字認識処
理部3-1〜3-Nによって文字認識している。また、刻印画
像強調処理部7における各定数は次の如くとした。
Here, it is assumed that each stamp 4 is a square billet of about 1200 mm × 1200 mm, and the product number is stamped on the end face. The product number is detected by the stamping detector 2, and this is detected by the character recognition processing unit 3 -1. ~ 3 -N recognizes characters. Further, the respective constants in the marking image enhancement processing unit 7 are set as follows.

N=5 (xi,yi,ai) =(0,0,4),(4,0,−1), (−4,0,−1),(0,4,−1), (0,−4,−1) この結果、従来技術による検出では最終画像に部分的な
錆や汚れが残り、その認識率は76%程度であった。しか
し、本発明による検出では、刻印のみの明瞭な最終画像
を得ることができ、認識率は95%に達することが確認さ
れた。
N = 5 (xi, yi, ai) = (0,0,4), (4,0, -1), (-4,0, -1), (0,4, -1), (0, -4, -1) As a result, in the detection by the conventional technique, partial rust or stain remained on the final image, and the recognition rate was about 76%. However, in the detection according to the present invention, it was confirmed that a clear final image having only the marking can be obtained, and the recognition rate reaches 95%.

[発明の効果] 以上より明らかな如く、本発明によれば、打刻印字像が
形成された複数の打刻材の打刻面を同時に撮像して撮像
信号を得、前記撮像された領域の中心から放射状に複数
の検査領域を設定し、この検査領域における前記各撮像
信号を二値化し、その変化点が最も強く現われる部位を
検査対象の刻印材の刻印面として特定し、この特定した
刻印面についてのみ文字認識用の二値化処理を施すよう
にしたので、撮影画像中に複数の刻印面を含む場合で
も、その中の1つを特定することができ、刻印検出の自
動化を図ることが可能になる。
[Effects of the Invention] As is clear from the above, according to the present invention, the embossing surfaces of a plurality of embossing materials on which an embossed print image is formed are simultaneously imaged to obtain an image pickup signal, and the image pickup area is recorded. A plurality of inspection areas are set radially from the center, each imaging signal in this inspection area is binarized, and the part where the change point appears most strongly is specified as the marking surface of the marking material to be inspected, and the specified marking Since the binarization process for character recognition is applied only to the surface, even if the captured image contains multiple marking surfaces, one of them can be specified, and the marking detection can be automated. Will be possible.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は第1図に示す撮像装置1の取り付け及び照明手段を示
す説明図、第3図は複数の刻印材から対象の1本を特定
する処理を示す説明図、第4図は刻印材を特定するため
のプロフィール処理を示す変化点検出特性図、第5図は
変化点を求める処理を示すフローチャート、第6図は変
化点に基づいて特定した刻印材のマスク画像図、第7図
は刻印材向き検出処理部9の処理を示す説明図、第8図
は刻印位置検出処理部10の処理を示す説明図,第9図は
入力画像の枠決め処理を示す説明図,第10A図及び第10B
図は二値化処理部の処理を示すフローチャート,第11図
はしきい値設定を示す説明図である。 図中. 1:撮像装置、2:打刻検出装置 3-1〜3-N:文字認識処理部 4:刻印材、5:ランプ 6:端面マスク画像生成部 7:刻印画像強調処理部 8:アンド回路 9:刻印材向き検出処理部 10:刻印位置検出処理部 11:刻印画像分離処理部 12-1〜12-N:二値化処理部 13:原画像信号 14:端面マスク画像 15,16:刻印画像強調信号 17:刻印材向き情報 18:刻印位置情報 19:刻印別画像信号 20-1〜20-N:最終画像
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory view showing the mounting and illuminating means of the image pickup apparatus 1 shown in FIG. 1, and FIG. 3 is one target from a plurality of marking materials. 4 is an explanatory view showing a process for specifying a change point, FIG. 4 is a change point detection characteristic diagram showing a profile process for specifying a marking material, FIG. 5 is a flow chart showing a process for obtaining a change point, and FIG. 6 is a change point. FIG. 7 is an explanatory view showing the processing of the marking material orientation detection processing unit 9, FIG. 8 is an explanatory view showing the processing of the marking position detection processing unit 10, and FIG. Explanatory drawing showing framing processing of input image, FIGS. 10A and 10B
FIG. 11 is a flow chart showing the processing of the binarization processing unit, and FIG. 11 is an explanatory diagram showing threshold setting. In the figure. 1: Imaging device, 2: Stamp detection device 3 -1 to 3 -N : Character recognition processing unit 4: Stamping material, 5: Lamp 6: Edge mask image generation unit 7: Stamped image enhancement processing unit 8: AND circuit 9 : Engraved material orientation detection processing unit 10: Engraved position detection processing unit 11: Engraved image separation processing unit 12 -1 to 12 -N : Binarization processing unit 13: Original image signal 14: End face mask image 15, 16: Engraved image Emphasis signal 17: Marking material orientation information 18: Marking position information 19: Image signal for each marking 20 -1 to 20 -N : Final image

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】打刻印字像が形成された複数の打刻材の打
刻面を同時に撮像して撮像信号を得、前記撮像された領
域の中心から放射状に複数の検査領域を設定し、この検
査領域における前記各撮像信号を二値化し、その変化点
が最も強く現われる部位を検査対象の刻印材の刻印面と
して特定し、この特定した刻印面についてのみ文字認識
用の二値化処理を施すことを特徴とする打刻印の検出方
法。
1. An imaging signal is obtained by simultaneously imaging the embossing surfaces of a plurality of embossing materials on which an embossed print image is formed, and a plurality of inspection areas are set radially from the center of the imaged area, Each image pickup signal in this inspection area is binarized, the site where the change point appears most strongly is specified as the marking surface of the marking material to be inspected, and the binarization processing for character recognition is performed only on the specified marking surface. A method for detecting an embossing mark, which is characterized in that
【請求項2】打刻印字像が形成された複数の打刻材の打
刻面を斜め方向から照明して撮像する撮像手段と、この
撮像手段によって得られた前記撮像領域の中心から放射
状に複数の検査領域を設定し、この検査領域における前
記撮像手段によって得られた各撮像信号を二値化する手
段と、この手段によって得られた二値化信号の変化点に
よって特定の打刻材を限定し、この打刻材における打刻
印字像を二値化処理して文字認識を行なう文字認識手段
とを具備したことを特徴とする打刻印の検査装置。
2. An imaging means for illuminating an embossing surface of a plurality of embossing materials on which an embossed print image is formed, in an oblique direction, and a radial shape from a center of the imaging area obtained by the imaging means. Means for setting a plurality of inspection areas and binarizing each image pickup signal obtained by the image pickup means in this inspection area, and a specific engraving material by a change point of the binarized signal obtained by this means An embossing mark inspection device, which is provided with a character recognizing means for binarizing an embossed printed image on the embossed material for character recognition.
JP2000100A 1990-01-05 1990-01-05 Stamped stamp detection method and device Expired - Lifetime JPH0792813B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000100A JPH0792813B2 (en) 1990-01-05 1990-01-05 Stamped stamp detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000100A JPH0792813B2 (en) 1990-01-05 1990-01-05 Stamped stamp detection method and device

Publications (2)

Publication Number Publication Date
JPH03204792A JPH03204792A (en) 1991-09-06
JPH0792813B2 true JPH0792813B2 (en) 1995-10-09

Family

ID=11464682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000100A Expired - Lifetime JPH0792813B2 (en) 1990-01-05 1990-01-05 Stamped stamp detection method and device

Country Status (1)

Country Link
JP (1) JPH0792813B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7188930B2 (en) * 2018-07-27 2022-12-13 株式会社Screenホールディングス Engraving inspection device, engraving inspection method, and article inspection device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6180372A (en) * 1984-09-26 1986-04-23 Nippon Steel Corp Detecting method of dotted print
JPS6222185A (en) * 1985-07-23 1987-01-30 Toshiba Corp Extracting device for photographing image

Also Published As

Publication number Publication date
JPH03204792A (en) 1991-09-06

Similar Documents

Publication Publication Date Title
US4823194A (en) Method for processing gray scale images and an apparatus thereof
KR101403876B1 (en) Method and Apparatus for Vehicle License Plate Recognition
JP3545506B2 (en) Specific color area extraction method and specific color area removal method
CN115170525B (en) An image difference detection method and apparatus
JPH041866A (en) Method and device for image processing
JP3416058B2 (en) Character extraction method of gray image and recording medium recording the program
JPH0792813B2 (en) Stamped stamp detection method and device
JPH08161508A (en) Pattern detection method
JPH0812682B2 (en) Stamped stamp detection method and device
Zhang et al. A license plate recognition system based on Tamura texture in complex conditions
CN111428534B (en) Decryption identification method based on dot matrix hidden writing information coding
JP3358997B2 (en) Engraved mark identification device
JPH06337922A (en) Method for evaluating pattern
JP4805495B2 (en) Transmission pattern detector
JPS63153682A (en) How to process grayscale images
JP2002183713A (en) Method and device for processing image
JP2000052068A (en) Two-dimensional information printing method and plate-shaped metal product on which two-dimensional information is printed
JP2023046995A (en) Collation device and program
JPS62156547A (en) Detecting method for surface defect
JPH0514951B2 (en)
JP3230368B2 (en) Binarization processing method
JPH041867A (en) Picture quality evaluating method
Wang et al. Design of Automatic Print Defect Detection System Based on Machine Vision Detection Algorithm
JP2004125629A (en) Defect detection device
JPS60116076A (en) image extraction circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071009

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081009

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091009

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101009

Year of fee payment: 15