JP2005078105A - Method and apparatus for counting bar material - Google Patents

Method and apparatus for counting bar material Download PDF

Info

Publication number
JP2005078105A
JP2005078105A JP2003209501A JP2003209501A JP2005078105A JP 2005078105 A JP2005078105 A JP 2005078105A JP 2003209501 A JP2003209501 A JP 2003209501A JP 2003209501 A JP2003209501 A JP 2003209501A JP 2005078105 A JP2005078105 A JP 2005078105A
Authority
JP
Japan
Prior art keywords
counting
image
bar
procedure
processing
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.)
Withdrawn
Application number
JP2003209501A
Other languages
Japanese (ja)
Inventor
Taizo Yano
泰三 矢野
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.)
Daido Steel Co Ltd
Original Assignee
Daido Steel 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 Daido Steel Co Ltd filed Critical Daido Steel Co Ltd
Priority to JP2003209501A priority Critical patent/JP2005078105A/en
Publication of JP2005078105A publication Critical patent/JP2005078105A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and apparatus for counting bar materials for counting bar materials without generating any erroneous counting even when the counting side end faces of conveyed bar materials deviate from an imaging reference line. <P>SOLUTION: The counting apparatus for counting intermittently conveyed bar materials W during the conveyance is provided with an end face imaging means 12 and a control counting part 20, and the end face imaging means 12 is configured to image a range beyond a conveyance distance for two times, and arranged at a position where the end faces of bar materials W in the range can be imaged, and the control counting part 20 is provided with an image processing counting part 22. The image processing counting part 22 performs: first counting processing to count the bar materials W based on a first counting reference image G1 where end faces WT of the bar materials W are extracted from a front image in continuously imaged two images; second counting processing to count the bar materials based on a second counting reference image obtained by erasing a wrap image in a counting preliminary image G2 where the end faces WT of the bar materials W are extracted from the rear image; and processing to total the counted number of the first counting procedure and the counted number of the second counting procedure. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、棒材の計数方法および計数装置に関する。さらに詳しくは、撮像装置を利用して棒材を正確に計数する棒材の計数方法および計数装置に関する。
【0002】
【従来の技術】
従来、丸棒鋼の圧延製造設備において、圧延成形後、所定の長さに切断された丸棒鋼は、所定本数(例えば、1ロット)ごとに結束されて出荷されている。このような場合、前記丸棒鋼の圧延製造設備においては、出荷本数などを管理するため、結束前後のいずれかの工程において丸棒鋼の本数が計数されるのが通常である。
【0003】
そして、かかる計数を自動的かつ正確に行うための種々の計数方法や計数装置が提案されているが、丸棒鋼がピラミッド状となって積載もしくは搬送されている場合は、誤計数を生ずるという問題があった。
【0004】
かかる問題を解決すべく、本出願人は、棒鋼材の端面を所定位置から所定角度に照明し、その照明されている端面を所定の画角にて撮像して得られた端面の画像(以下、端面画像という)に基づいて、棒鋼材の本数を計数する計数方法を既に提案している(特開2003−99755号公報)。
【0005】
前記計数方法によれば、図4(a)および(b)に示すように、丸棒鋼W’1,W’2,W’3の各端面が基準ライン上にあって、丸棒鋼W’1,W’2,W’3が順次撮像領域を図中の左方向に通過する場合は、丸棒鋼W’1,W’2,W’3の搬送に同期させて撮像した画像は、図5(a)および(b)に示すようになって、たとえ丸棒鋼W’2,W’3がピラミッド状となっていても正確な計数がなし得る。つまり、3本と正確に計数がなし得る。
【0006】
しかしながら、搬送装置に移載される際や搬送中における衝撃や振動により、丸棒鋼W’1,W’2,W’3の各端面が基準ラインからずれることがある。
【0007】
例えば、図6に示すように、丸棒鋼W’1および丸棒鋼W’3の各端面はほぼ基準ラインa’上に位置し、丸棒鋼W’2の端面は基準ラインa’から後退しつまりCCDカメラ101の遠くに位置し、その状態で丸棒鋼W’1,W’2,W’3が図中左方向に搬送されるような場合、搬送に同期させて図6(a)および(b)の各位置でCCDカメラ101によりカメラ画角θで撮像した各画像は、図7(a)および(b)に示すようになる。図7(a)および(b)に示す画像に基づいて計数された本数は4本となって、実際の本数3本より1本多く計数されていることになる。これは、丸棒鋼W’2の端面がCCDカメラ101の遠くに位置しているため、撮像画像中における移動速度が相対的に遅くなり、丸棒鋼W’2が2重にカウントされたことによって誤計数を生じたものである。
【0008】
その逆に、図8に示すように、丸棒鋼W’1および丸棒鋼W’3の各端面はほぼ基準ラインa’上に位置し、丸棒鋼W’2の端面は基準ラインa’から著しく突出しつまり端面が極端にCCDカメラ101の近くに位置し、その状態で丸棒鋼W’1,W’2,W’3が図中左方向に搬送されるような場合、搬送に同期させて図8(a)および(b)の各位置でCCDカメラ101によりカメラ画角θで撮像した各画像は、図9(a)および(b)に示すようになる。図9(a)および(b)に示す画像に基づいて計数した本数は2本となって、実際の本数3本より1本少なく計数されていることになる。これは、丸棒鋼W’2の端面が極端にCCDカメラ101の近くに位置しているため、撮像画像中における移動速度が相対的に速くなり、丸棒鋼W’2がカウントされなかったことによって誤計数を生じたものである。
【0009】
なお、図6に示すような場合、丸棒鋼W’2は露光不足により撮像画像に現れないこともある。かかる事態に対処すべく、本出願人は、被計数材の照明装置を既に提案している(特開2003ー191013号公報)が、同装置では丸棒鋼W’2の2重カウントの問題は依然として解消されない。
【0010】
【発明が解決しようとする課題】
本発明はかかる従来技術の課題を鑑みなされたものであって、搬送されている棒材の計数側端面が撮像基準ラインより外れている場合であっても、誤計数なく棒材の計数がなし得る棒材の計数方法および計数装置を提供することを目的としている。
【0011】
【課題を解決するための手段】
本発明の棒材の計数方法は、間歇的に搬送がなされる棒材の搬送中において、その計数を固定された撮像手段を用いてなす棒材の計数方法であって、棒材の搬送毎に2回分の搬送距離を超える範囲において棒材の端面を撮像する手順と、連続して撮像された2つの画像中の前画像を画像処理して得られた、棒材の端面が抽出された第1計数基準画像に基づいて棒材の計数をなす第1計数手順と、連続して撮像された2つの画像中の後画像を画像処理して得られた、棒材の端面が抽出された計数予備画像から前画像とのラップ画像を削除して得られた第2計数基準画像に基づいて棒材の計数をなす第2計数手順と、前記第1計数手順により計数された本数と前記第2計数手順により計数された本数とを合計する手順とを含んでいることを特徴とする。
【0012】
本発明の棒材の計数方法においては、ラップ画像の削除が、例えば、前画像のサーチモデル領域と後画像のサーチ領域とのパターンマッチングによりラップ画像の後画像における移動距離を算出する手順と、前画像のサーチモデル領域の画像を前記移動距離だけ移動させた計数補助画像を生成する手順と、計数予備画像から前記計数補助画像を減算する画像間減算処理手順とによりなされる。
【0013】
また、本発明の棒材の計数方法においては、画像間減算処理手順後に形状認識などによりマスク処理を行い消え残り画像を消去する手順が付加されるのが好ましい。
【0014】
一方、本発明の棒材の計数装置は、間歇的に搬送がなされる棒材の搬送中において、その計数をなす棒材の計数装置であって、端面撮像手段と制御計数部とを備え、前記端面撮像手段は、2回分の搬送距離を超える範囲を撮像できるものとされて、その範囲における棒材の端面を撮像できる位置に配設され、前記制御計数部は、画像処理計数部を有し、前記画像処理計数部は、連続して撮像された2つの画像中の前画像を画像処理して得られた、棒材の端面が抽出された第1計数基準画像に基づいて棒材の計数をなす第1計数処理と、連続して撮像された2つの画像中の後画像を画像処理して得られた、棒材の端面が抽出された計数予備画像から前画像とのラップ画像を削除して得られた第2計数基準画像に基づいて棒材の計数をなす第2計数処理と、前記第1計数処理により計数された本数と前記第2計数処理により計数された本数とを合計するよう構成されてなることを特徴とする。
【0015】
本発明の棒材の計数装置においては、棒材の端面を照明する端面照明装置を備えてなるのが好ましい。
【0016】
【作用】
本発明は前記の如く構成されているので、搬送される棒材の端面の位置が不揃いで、撮像画像中における端面の相対的な移動速度に相当なバラツキがある場合であっても、正確に棒材の計数がなし得る。
【0017】
【発明の実施の形態】
以下、添付図面を参照しながら本発明を実施形態に基づいて説明するが、本発明は、かかる実施形態のみに限定されるものではない。
【0018】
本発明の一実施形態に係る棒材の計数方法が適用される棒材の計数装置(以下、単に計数装置という)Sを図1にブロック図で示す。
【0019】
計数装置Sは、ウォーキングビーム式搬送装置1により搬送されている丸棒鋼W、W、…の本数を計数できるようにされてなるものである。
【0020】
ここで、後の理解を容易にするため、本実施形態に用いられているウォーキングビーム式搬送装置1について若干説明する。
【0021】
ウォーキングビーム式搬送装置1は、切断装置(図示省略)により所定長さに切断され、搬出装置(例えばローラテーブル)2により切断装置から搬出された丸棒鋼W、W、…を受け取って次工程へ搬送するものとされる。
【0022】
ウォーキングビーム式搬送装置1は、具体的には、上部にV字型の載置溝1a、1a、…が連続的に形成された固定ビーム1A、1A、1Aと、固定ビーム1A、1A間に配設される、上部に固定ビーム1Aと同様のV字溝1b、1b、…が連続的に形成された可動ビーム1B、1Bとを備えてなるものとされる。
【0023】
そして、本実施形態においては、搬出装置2により長手方向に搬送されてきた丸棒鋼W、W、…は、搬出装置2終端に設置されたストッパ2aに当接し端面揃えがなされ、ついでこれらの端面揃えがなされた丸棒鋼W、W、…は、搬出装置2終端に並設された、ウォーキングビーム式搬送装置1側に向けて下り勾配とされた移載部2bに、例えばプッシャー(図示省略)により移載される。この移載部2bに最初に移載された丸棒鋼Wは、転動しながら移載部2bの下端に設けられたストッパー2cに当接して待機状態とされる。次に移載部2bに移載された丸棒鋼Wは、同様に転動しながら待機状態とされた丸棒鋼Wに当接して待機状態とされる。以下、この動作が繰り返されて搬出装置2終端に到達した全ての丸棒鋼W、W、…が移載部2bに移載されて待機状態とされる。
【0024】
このようにして移載部2bで待機状態とされた丸棒鋼W、W、…は、可動ビーム1Bにより1本ずつすくい取られて固定ビーム1Aの移載部2bに隣接する載置溝1a1に載置された後、隣接する載置溝1a2、1a3、…へと順次移載され次工程へ搬送される。計数装置Sは、この順次移載され次工程へ搬送される過程において丸棒鋼W、W、…の計数をなすものである。
【0025】
計数装置Sは、具体的には図1に示すように、丸棒鋼W、W、…の計数側端面を撮像する端面撮像部10と、端面撮像部10を制御するとともに丸棒鋼W、W、…の本数を計数する制御計数部20と、計数結果を出力する出力手段30とを主要構成要素としてなるものである。なお、出力手段30も制御計数部20により制御される。
【0026】
端面撮像部10は、固定ビーム1Aの所定の載置溝1aに載置された丸棒鋼W、W、…の計数側端面を照明する端面照明装置11と、端面照明装置11により照明された端面を撮像する端面撮像手段、例えばCCDカメラ12とを含むものとされる。
【0027】
端面照明装置11は、例えば特開2003ー191013号公報に提案されている照明装置とされる。
【0028】
CCDカメラ12は広角レンズを備えてなるものとされ、載置溝1aに載置された丸棒鋼W、W、…の計数側端面を撮像するよう端面照明装置11の中央部に配設される(特開2003ー191013号公報参照)。
【0029】
また、CCDカメラ12は、撮像基準ライン(ストッパ2aの当接面の延長線)a上において、丸棒鋼Wが可動ビ−ム1Bの一度の動作で搬送される距離(以下、送り量という)の2倍以上の範囲が撮像できるよう調整されている。例えば、送り量が160mmであれば、撮像範囲はその幅が330mmとなるよう調整されている。
【0030】
制御計数部20は、端面撮像部10の端面照明装置11、CCDカメラ12および出力部30などを制御する制御部21と、CCDカメラ12からの端面画像に画像処理を施して丸棒鋼Wの本数を計数する画像処理計数部22とを備えてなるものとされる。
【0031】
制御部21は、載置溝1aに載置された丸棒鋼W、W、…の計数側端面を端面照明装置11に照明させ、CCDカメラ12に撮像させるよう制御する。この制御においては、ウォ−キングビ−ム式搬送装置1の可動ビ−ム1Bが動作する毎にCCDカメラ12による撮像がなされるものとされる。
【0032】
画像処理計数部22は、CCDカメラ12からの端面画像に対して、2値化、粒子分離、正規化およびラベリングなどの公知の各処理を施して丸棒鋼Wの端面WTが抽出された計数基準画像などを生成し、ついで計数基準画像などに対して画像間減算処理などをなして丸棒鋼W、W、…の計数をなすものとされる。画像処理計数部22は、例えばコンピュータに後述する計数処理に対応させたプログラムを格納することにより実現される。
【0033】
出力手段30は、例えばプリンタ、CRTディスプレイなどとされる。
【0034】
次に、丸棒鋼W1,W2,W3,W4,W5が順次搬送される場合を例に取り、かかる構成とされている計数装置Sによる丸棒鋼W、W、…の計数について、図2および図3を参照しながら説明する。
【0035】
(1)端面照明装置11により載置溝1aに載置された丸棒鋼W、W、…の計数側端面を照明する。
【0036】
(2)ウォ−キングビ−ム式搬送装置1による丸棒鋼W1,W2,W3の搬送に同期させてCCDカメラ12により丸棒鋼W1,W2,W3の計数側端面を撮像し(図2(a)参照)、得られた画像を制御計数部20に出力する。
【0037】
(3)制御計数部20の画像処理計数部22は入力された端面画像に対して粒子分離などの画像処理を施して、丸棒鋼W1,W2,W3の各端面WT1,WT2,WT3が抽出された第1計数基準画像G1を生成する(図3(a)参照)。
【0038】
(4)画像処理計数部22は抽出された端面WTの数をカウントし、生成された第1計数基準画像G1中の丸棒鋼Wを計数する。つまり、第1計数処理をなす。この場合、抽出された端面WTはWT1,WT2,WT3の3個であるので、3本と計数される。
【0039】
(5)第1計数基準画像G1の次画像とラップする側にサーチモデル領域R1を設定する。この領域R1の幅は全幅の1/4〜1/2程度とされ、その高さは抽出されるすべての端面WTをカバーできるものとされる。
【0040】
(6)ウォ−キングビ−ム式搬送装置1による丸棒鋼W1,W2,W3,W4,W5の搬送に同期させてCCDカメラ12により丸棒鋼W1,W2,W3,W4,W5の計数側端面を撮像し(図2(b)参照)、得られた画像を制御計数部20に出力する。
【0041】
(7)制御計数部20の画像処理計数部22は入力された端面画像に対して(3)と同様の処理を施して、丸棒鋼W1,W2,W3,W4,W5の各端面WT1,WT2,WT3,WT4,WT5が抽出された計数予備画像G2を生成する(図3(b)参照)。
【0042】
(8)計数予備画像G2の前画像とラップする側にサーチ領域R2を設定する。この領域R2の幅も領域R1と同様とされる。
【0043】
(9)領域R1の画像パターンにより領域R2のパターンマッチングを行い、つまり画像間の相関が最大となる位置を探索し、端面WT1,WT2,WT3の画像上での移動距離を算出する。
【0044】
(10)領域R1を算出された移動距離だけ移動させた計数補助画像G1aを生成する(図3(c)参照)。
【0045】
(11)計数予備画像G2と計数補助画像G1aとの画像間減算処理を行う(図3(d)参照)。
【0046】
(12)画像間減算処理後の画像に対してマスク処理を行う。すなわち、計数補助画像G1aと計数予備画像G2とにおける各端面WT1,WT2,WT3の画像が完全に一致することはまれであるため、画像間減算処理後の画像には図3(d)に示すような消え残り画像WT1a,WT2a,WT3aが発生することがあるので、かかる消え残り画像を形状認識などによりマスク処理を行い削除する。なお、消え残り画像WT1a,WT2a,WT3aが存在しないか、存在してもそれが無視できる程度であれば、このマスク処理は省略されてもよい。
【0047】
(13)マスク処理後の画像、つまり第2計数基準画像に基づいて丸棒鋼Wを計数する。つまり、第2計数処理をなす。この場合、第2計数基準画像に存在する端面WTはWT4,WT5の2個であるので、丸棒鋼Wは2本と計数される。
【0048】
(14)(4)と(13)による計数結果を加算する。この場合、(4)における3本と(13)における2本とが合計され5本と計数される。
【0049】
以下、丸棒鋼Wの搬送が終了するまで、前記手順を繰り返して丸棒鋼Wの計数がなされる。
【0050】
このように、本実施形態によれば、図2に示すように、搬送される丸棒鋼Wの端面の位置が不揃いで、例えば端面の位置が300mm程度のバラツキがあり、撮像画像中における端面WTの相対的な移動速度に相当のバラツキがある場合であっても、正確に丸棒鋼Wの計数がなし得る。
【0051】
以上、本発明を実施形態に基づいて説明してきたが、本発明はかかる実施形態のみに限定されるものではなく、種々改変が可能である。例えば、本実施形態では画像間減算処理後にマスク処理をなすようにされているが、画像間減算処理ではなくラップ画像を削除する処理としてもよい。
【0052】
また、それらを省略して、計数した本数を減算するなど、抽出した端面情報を削除するマスク処理をなすようにしてもよい。
【0053】
また、端面を抽出した基準画像に対して画像上での移動距離を算出しているが、入力された端面画像に対して移動距離を算出するようにしてもよい。
【0054】
また、例えば、本実施形態では、棒材は丸棒鋼とされているが、本発明の適用は丸棒鋼に限定されるものではなく、種々の形状の棒材に適用でき、例えば角棒鋼にも適用できる。
【0055】
さらに、実施形態では端面照明装置11が用いられているが、棒材の端面性状や搬送状態によっては端面照明装置を省略してもよい。
【0056】
【発明の効果】
以上詳述したように、本発明によれば、搬送される棒材の端面の位置が不揃いで、撮像画像中における端面の相対的な移動速度に相当のバラツキがある場合であっても、正確に丸棒鋼などの棒材の計数がなし得るという優れた効果が得られる。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかる棒材の計数方法が適用される棒材の計数装置のブロック図である。
【図2】同装置の端面撮像部による丸棒材の撮像状況を示す説明図であって、同(a)は、ウォ−キングビ−ム式搬送装置による丸棒鋼の1次搬送を示し、同(b)は同2次搬送を示す。
【図3】同装置の端面画像処理計数部による計数処理の説明図であって、同(a)は1次搬送時の端面画像を示し、同(b)は2次搬送時の端面画像を示し、同(c)は同(a)の画像を丸棒鋼の移動量分だけ横幅方向に移動させた状態を示し、同(d)は画像間減算処理後の状態を示す。
【図4】従来の棒材の計数装置による丸棒材の計数の説明図であって、ウォ−キングビ−ム式搬送装置により丸棒材が順次搬送されている状態を示す。
【図5】図4の状態における端面画像である。
【図6】同装置による丸棒材の計数において2重カウントが発生する場合の説明図である。
【図7】図6の状態における端面画像である。
【図8】同装置による丸棒材の計数において数え落しが発生する場合の説明図である。
【図9】図8の状態における端面画像である。
【符号の説明】
1 ウォーキングビーム式搬送装置
10 端面撮像部
11 端面照明装置
12 CCDカメラ(端面撮像手段)
20 制御計数部
21 制御部
22 画像処理計数部
30 出力手段
S 丸棒鋼の計数装置
W 丸棒鋼(棒鋼材)
WT 端面
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a rod counting method and a counting apparatus. More specifically, the present invention relates to a rod counting method and a counting device that accurately counts a rod using an imaging device.
[0002]
[Prior art]
Conventionally, in a round bar steel rolling production facility, round bar steel cut into a predetermined length after rolling and forming is bundled and shipped every predetermined number (for example, one lot). In such a case, in the rolling production facility for the round bar steel, the number of round bar steels is usually counted in any step before and after binding in order to manage the number of shipments.
[0003]
Various counting methods and apparatuses for automatically and accurately performing such counting have been proposed. However, when round steel bars are loaded or transported in a pyramid shape, there is a problem that erroneous counting occurs. was there.
[0004]
In order to solve such a problem, the present applicant illuminates the end surface of the steel bar at a predetermined angle from a predetermined position, and images of the end surface obtained by imaging the illuminated end surface at a predetermined angle of view (hereinafter referred to as the following). (Referred to as an end face image), a counting method for counting the number of steel bars has already been proposed (Japanese Patent Laid-Open No. 2003-99755).
[0005]
According to the counting method, as shown in FIGS. 4A and 4B, the end faces of the round steel bars W′1, W′2, and W′3 are on the reference line, and the round steel bar W′1. , W′2, W′3 sequentially pass through the imaging region in the left direction in the figure, images captured in synchronization with the conveyance of the round steel bars W′1, W′2, W′3 are shown in FIG. As shown in (a) and (b), accurate counting can be performed even if the round steel bars W′2 and W′3 are pyramidal. In other words, it can be accurately counted as three.
[0006]
However, each end face of the round steel bars W′1, W′2, and W′3 may be displaced from the reference line due to impact or vibration during transfer to the transport device or during transport.
[0007]
For example, as shown in FIG. 6, the end faces of the round bar steel W′1 and the round bar steel W′3 are positioned substantially on the reference line a ′, and the end face of the round bar steel W′2 recedes from the reference line a ′. When the round steel bars W′1, W′2, and W′3 are transported in the left direction in the figure in the state far from the CCD camera 101, FIG. 6A and FIG. Images taken at the camera angle of view θ by the CCD camera 101 at each position in b) are as shown in FIGS. The number counted based on the images shown in FIGS. 7A and 7B is four, which is one more than the actual number of three. This is because the end face of the round steel bar W′2 is located far from the CCD camera 101, so that the moving speed in the captured image is relatively slow, and the round steel bar W′2 is counted twice. An erroneous count has occurred.
[0008]
On the other hand, as shown in FIG. 8, the end faces of the round bar steel W′1 and the round bar steel W′3 are substantially located on the reference line a ′, and the end face of the round bar steel W′2 is significantly different from the reference line a ′. When the protruding or end face is extremely close to the CCD camera 101 and the round bars W′1, W′2 and W′3 are conveyed in the left direction in the figure, the figure is synchronized with the conveyance. Images taken at the camera angle of view θ by the CCD camera 101 at the positions 8 (a) and 8 (b) are as shown in FIGS. 9 (a) and 9 (b). The number counted based on the images shown in FIGS. 9A and 9B is two, which is one less than the actual number of three. This is because the end surface of the round steel bar W′2 is extremely close to the CCD camera 101, so that the moving speed in the captured image is relatively fast and the round bar steel W′2 is not counted. An erroneous count has occurred.
[0009]
In the case shown in FIG. 6, the round steel bar W′2 may not appear in the captured image due to insufficient exposure. In order to cope with such a situation, the present applicant has already proposed a lighting device for a material to be counted (Japanese Patent Laid-Open No. 2003-191013). However, in this device, the problem of double counting of the round steel bar W′2 is Still not resolved.
[0010]
[Problems to be solved by the invention]
The present invention has been made in view of the problems of the prior art, and even when the counting side end face of the bar being transported deviates from the imaging reference line, the bar is not counted without erroneous counting. It is an object of the present invention to provide a bar counting method and a counting apparatus.
[0011]
[Means for Solving the Problems]
The rod counting method of the present invention is a rod counting method using an imaging means that is fixed during conveyance of rods that are intermittently conveyed, and each time the rods are conveyed. In addition, the end face of the bar material obtained by image processing of the procedure for imaging the end face of the bar material in a range exceeding the transport distance of two times and the previous image in the two images taken in succession was extracted. The first counting procedure for counting the bars based on the first counting reference image and the end face of the bars obtained by image processing of the subsequent images in the two images that were successively captured were extracted. A second counting procedure for counting bars based on a second counting reference image obtained by deleting the lap image from the previous image from the counting preliminary image, the number counted by the first counting procedure, and the first count And a procedure for summing the number counted by the two-counting procedure. That.
[0012]
In the rod counting method of the present invention, the deletion of the wrap image is, for example, a procedure for calculating the moving distance in the subsequent image of the wrap image by pattern matching between the search model region of the previous image and the search region of the subsequent image; This is performed by a procedure for generating a counting auxiliary image obtained by moving the image of the search model area of the previous image by the moving distance, and an inter-image subtraction processing procedure for subtracting the counting auxiliary image from the preliminary counting image.
[0013]
In the rod counting method of the present invention, it is preferable that a procedure for performing mask processing by shape recognition or the like and erasing the remaining image is added after the inter-image subtraction processing procedure.
[0014]
On the other hand, the bar counting device of the present invention is a bar counting device that performs counting during the transport of the bar that is intermittently transported, and includes an end face imaging means and a control counting unit, The end surface imaging means is supposed to be able to image a range exceeding the transport distance of two times, and is arranged at a position where the end surface of the bar in the range can be imaged. The control counting unit has an image processing counting unit. Then, the image processing counting unit is configured based on the first count reference image obtained by performing image processing on the previous image in the two images captured successively and extracting the end face of the bar. A first counting process for counting, and a lap image of the previous image from the preliminary counting image obtained by extracting the end face of the bar, obtained by performing image processing on the subsequent image in the two images captured successively. A second meter that counts bars based on the second counting reference image obtained by deletion And processing, characterized by comprising configured to sum a number which is counted as the number counted by the first counting process by the second counting process.
[0015]
In the bar counting device of the present invention, it is preferable to include an end surface illumination device that illuminates the end surface of the bar.
[0016]
[Action]
Since the present invention is configured as described above, even if the positions of the end surfaces of the rods to be conveyed are uneven and there is considerable variation in the relative moving speed of the end surfaces in the captured image, the present invention is accurate. The bar can be counted.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, although the present invention is explained based on an embodiment, referring to an accompanying drawing, the present invention is not limited only to this embodiment.
[0018]
FIG. 1 is a block diagram showing a bar counting device (hereinafter simply referred to as a counting device) S to which a bar counting method according to an embodiment of the present invention is applied.
[0019]
The counting device S is configured to be able to count the number of round bars W, W,... Transported by the walking beam type transport device 1.
[0020]
Here, in order to facilitate understanding later, the walking beam type conveying apparatus 1 used in the present embodiment will be described slightly.
[0021]
The walking beam type conveying device 1 is cut into a predetermined length by a cutting device (not shown) and receives the round steel bars W, W,... Carried out from the cutting device by a carry-out device (for example, a roller table) 2 and proceeds to the next process. It shall be transported.
[0022]
Specifically, the walking beam type conveying apparatus 1 includes a fixed beam 1A, 1A, 1A in which V-shaped mounting grooves 1a, 1a,... It is assumed that a movable beam 1B, 1B in which V-shaped grooves 1b, 1b,... Similar to the fixed beam 1A are continuously formed is provided.
[0023]
In the present embodiment, the round steel bars W, W,... That have been transported in the longitudinal direction by the carry-out device 2 are brought into contact with the stoppers 2a installed at the end of the carry-out device 2 and are aligned with the end surfaces. The aligned round steel bars W, W,... Are placed on the transfer section 2b, which is arranged in parallel at the end of the unloading device 2 and is inclined downward toward the walking beam type conveying device 1, for example, a pusher (not shown). Is transferred. The round steel bar W first transferred to the transfer portion 2b is brought into a standby state by abutting against a stopper 2c provided at the lower end of the transfer portion 2b while rolling. Next, the round bar steel W transferred to the transfer part 2b is brought into a standby state by abutting against the round bar steel W in a standby state while rolling. Hereinafter, all of the round bar steels W, W,... That have reached the end of the carry-out device 2 by repeating this operation are transferred to the transfer unit 2b and set in a standby state.
[0024]
Thus, the round steel bars W, W,... Brought into the standby state by the transfer unit 2b are scooped one by one by the movable beam 1B and placed in the mounting groove 1a1 adjacent to the transfer unit 2b of the fixed beam 1A. After being placed, it is sequentially transferred to the adjacent placement grooves 1a2, 1a3,. The counting device S counts the round steel bars W, W,... In the process of being sequentially transferred and conveyed to the next process.
[0025]
Specifically, as shown in FIG. 1, the counting device S controls the end surface imaging unit 10 that images the counting side end surfaces of the round steel bars W, W,. The control counting unit 20 that counts the number and the output means 30 that outputs the counting result are main components. The output means 30 is also controlled by the control counting unit 20.
[0026]
The end surface imaging unit 10 includes an end surface illuminator 11 that illuminates the counting side end surfaces of the round steel bars W, W,... Mounted on the predetermined mounting groove 1a of the fixed beam 1A, and an end surface illuminated by the end surface illuminator 11. And an end face image pickup means for picking up the image, for example, a CCD camera 12.
[0027]
The end surface lighting device 11 is, for example, a lighting device proposed in Japanese Patent Application Laid-Open No. 2003-191013.
[0028]
The CCD camera 12 is provided with a wide-angle lens, and is disposed at the center of the end surface illumination device 11 so as to image the counting side end surfaces of the round steel bars W, W,... Mounted on the mounting groove 1a. (Refer to Unexamined-Japanese-Patent No. 2003-191013).
[0029]
Further, the CCD camera 12 has a distance (hereinafter referred to as a feed amount) by which the round steel bar W is conveyed by one operation of the movable beam 1B on the imaging reference line (extension line of the contact surface of the stopper 2a) a. It is adjusted so that a range of 2 times or more can be imaged. For example, if the feed amount is 160 mm, the imaging range is adjusted to have a width of 330 mm.
[0030]
The control counting unit 20 controls the end surface illumination device 11 of the end surface imaging unit 10, the CCD camera 12, the output unit 30, and the like. The control counting unit 20 performs image processing on the end surface image from the CCD camera 12 and the number of round bars W. It is assumed that the image processing counting unit 22 is provided.
[0031]
The control unit 21 controls the end illumination device 11 to illuminate the counting side end surfaces of the round steel bars W, W,... Placed in the placement groove 1a and cause the CCD camera 12 to take an image. In this control, imaging is performed by the CCD camera 12 every time the movable beam 1B of the walking beam type conveying device 1 operates.
[0032]
The image processing counting unit 22 performs known processes such as binarization, particle separation, normalization, and labeling on the end face image from the CCD camera 12 to extract the end face WT of the round steel bar W. An image or the like is generated, and then a round bar steel W, W,... The image processing counting unit 22 is realized, for example, by storing a program corresponding to counting processing described later in a computer.
[0033]
The output means 30 is, for example, a printer, a CRT display, or the like.
[0034]
Next, taking the case where round steel bars W1, W2, W3, W4, W5 are sequentially conveyed as an example, the counting of round steel bars W, W,... This will be described with reference to FIG.
[0035]
(1) The end face illumination device 11 illuminates the counting side end faces of the round steel bars W, W,... Placed on the placement groove 1a.
[0036]
(2) The counting side end surfaces of the round bar steels W1, W2, W3 are imaged by the CCD camera 12 in synchronization with the transport of the round bar steels W1, W2, W3 by the walking beam type transport device 1 (FIG. 2A). Reference), and outputs the obtained image to the control counting unit 20.
[0037]
(3) The image processing counting unit 22 of the control counting unit 20 performs image processing such as particle separation on the input end face image to extract the end faces WT1, WT2, WT3 of the round steel bars W1, W2, W3. The first counting reference image G1 is generated (see FIG. 3A).
[0038]
(4) The image processing counting unit 22 counts the number of extracted end faces WT, and counts the round bar steel W in the generated first counting reference image G1. That is, the first counting process is performed. In this case, since there are three extracted end faces WT, WT1, WT2 and WT3, the number is counted as three.
[0039]
(5) The search model region R1 is set on the side overlapping the next image of the first count reference image G1. The width of the region R1 is about ¼ to ½ of the entire width, and the height can cover all the extracted end faces WT.
[0040]
(6) The counting side end surfaces of the round bar steels W1, W2, W3, W4 and W5 are synchronized by the CCD camera 12 in synchronism with the transport of the round bar steels W1, W2, W3, W4 and W5 by the walking beam type conveying device 1. An image is taken (see FIG. 2B), and the obtained image is output to the control counting unit 20.
[0041]
(7) The image processing counting unit 22 of the control counting unit 20 performs the same processing as (3) on the input end face image, and each end face WT1, WT2 of the round steel bars W1, W2, W3, W4, W5. , WT3, WT4, WT5 are generated to generate a preliminary counting image G2 (see FIG. 3B).
[0042]
(8) The search region R2 is set on the side overlapping the previous image of the counting preliminary image G2. The width of the region R2 is the same as that of the region R1.
[0043]
(9) Pattern matching of the region R2 is performed based on the image pattern of the region R1, that is, a position where the correlation between the images is maximized is searched, and the movement distances on the images of the end faces WT1, WT2, and WT3 are calculated.
[0044]
(10) A counting auxiliary image G1a is generated by moving the region R1 by the calculated moving distance (see FIG. 3C).
[0045]
(11) An inter-image subtraction process between the preliminary counting image G2 and the auxiliary counting image G1a is performed (see FIG. 3D).
[0046]
(12) Mask processing is performed on the image after the inter-image subtraction processing. That is, since it is rare that the images of the end faces WT1, WT2, and WT3 in the counting auxiliary image G1a and the counting preliminary image G2 completely coincide with each other, the image after the subtraction processing between images is shown in FIG. Since such unerased images WT1a, WT2a, and WT3a may occur, such unerased images are masked by shape recognition and deleted. Note that this masking process may be omitted if the unerased images WT1a, WT2a, and WT3a do not exist or can be ignored even if they exist.
[0047]
(13) Count the round steel bars W based on the image after mask processing, that is, the second count reference image. That is, the second counting process is performed. In this case, since there are two end faces WT, WT4 and WT5, present in the second counting reference image, the round steel bar W is counted as two.
[0048]
(14) Add the counting results of (4) and (13). In this case, 3 in (4) and 2 in (13) are added up and counted as 5.
[0049]
Hereinafter, the round bar steel W is counted by repeating the above procedure until the transport of the round steel bar W is completed.
[0050]
Thus, according to the present embodiment, as shown in FIG. 2, the positions of the end surfaces of the round steel bar W to be conveyed are uneven, for example, the positions of the end surfaces vary about 300 mm, and the end surface WT in the captured image Even when there is considerable variation in the relative moving speed of the round steel bars W, the round bar steel W can be accurately counted.
[0051]
As mentioned above, although this invention has been demonstrated based on embodiment, this invention is not limited only to this embodiment, A various change is possible. For example, in this embodiment, the mask process is performed after the inter-image subtraction process, but the process may be a process of deleting the wrap image instead of the inter-image subtraction process.
[0052]
Further, a mask process for deleting the extracted end face information, such as omitting them and subtracting the counted number, may be performed.
[0053]
Further, although the movement distance on the image is calculated with respect to the reference image from which the end face is extracted, the movement distance may be calculated with respect to the input end face image.
[0054]
Further, for example, in this embodiment, the bar is a round bar steel, but the application of the present invention is not limited to the round bar steel, and can be applied to various shapes of bar bars. Applicable.
[0055]
Furthermore, although the end surface illumination device 11 is used in the embodiment, the end surface illumination device may be omitted depending on the end surface properties and the conveyance state of the bar.
[0056]
【The invention's effect】
As described above in detail, according to the present invention, even when the positions of the end surfaces of the bar to be conveyed are uneven and there is considerable variation in the relative movement speed of the end surfaces in the captured image, In addition, it is possible to obtain an excellent effect that the number of bars such as round bars can be counted.
[Brief description of the drawings]
FIG. 1 is a block diagram of a bar counting apparatus to which a bar counting method according to an embodiment of the present invention is applied.
FIG. 2 is an explanatory view showing an imaging state of a round bar material by an end face imaging unit of the apparatus, wherein (a) shows primary conveyance of round bar steel by a walking beam type conveyance apparatus; (B) shows the secondary conveyance.
FIGS. 3A and 3B are explanatory diagrams of counting processing by an end surface image processing counting unit of the apparatus, in which FIG. 3A shows an end surface image at the time of primary conveyance, and FIG. 3B shows an end surface image at the time of secondary conveyance; (C) shows a state in which the image of (a) is moved in the lateral width direction by the amount of movement of the round bar steel, and (d) shows a state after the inter-image subtraction process.
FIG. 4 is an explanatory diagram of round bar counting by a conventional bar counting device, and shows a state in which round bars are sequentially conveyed by a walking beam type conveying device.
FIG. 5 is an end face image in the state of FIG. 4;
FIG. 6 is an explanatory diagram when a double count occurs in counting round bars by the same device.
7 is an end face image in the state of FIG.
FIG. 8 is an explanatory diagram when counting down occurs in counting round bars by the same device.
FIG. 9 is an end face image in the state of FIG.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Walking beam type conveying apparatus 10 End surface imaging part 11 End surface illumination apparatus 12 CCD camera (end surface imaging means)
20 control counting part 21 control part 22 image processing counting part 30 output means S round bar steel counting device W round bar steel (bar steel material)
WT end face

Claims (5)

間歇的に搬送がなされる棒材の搬送中において、その計数を固定された撮像手段を用いてなす棒材の計数方法であって、
棒材の搬送毎に2回分の搬送距離を超える範囲において棒材の端面を撮像する手順と、
連続して撮像された2つの画像中の前画像を画像処理して得られた、棒材の端面が抽出された第1計数基準画像に基づいて棒材の計数をなす第1計数手順と、
連続して撮像された2つの画像中の後画像を画像処理して得られた、棒材の端面が抽出された計数予備画像から前画像とのラップ画像を削除して得られた第2計数基準画像に基づいて、棒材の計数をなす第2計数手順と、
前記第1計数手順により計数された本数と、前記第2計数手順により計数された本数とを合計する手順
とを含んでいることを特徴とする棒材の計数方法。
A rod counting method that uses a fixed imaging means for counting during the conveyance of a rod that is intermittently conveyed,
A procedure for imaging the end face of the bar in a range exceeding the transport distance for two times for each bar transport;
A first counting procedure for counting the bar based on the first counting reference image obtained by image processing of the previous image in the two images captured in succession and from which the end face of the bar is extracted;
A second count obtained by deleting the lap image with the previous image from the preliminary count image obtained by extracting the end face of the bar, obtained by performing image processing on the subsequent image in the two consecutively captured images. A second counting procedure for counting bars based on the reference image;
A method of counting rods, comprising a step of summing the number counted by the first counting procedure and the number counted by the second counting procedure.
ラップ画像の削除が、
前画像のサーチモデル領域と後画像のサーチ領域とのパターンマッチングによりラップ画像の後画像における移動距離を算出する手順と、
前画像のサーチモデル領域の画像を前記移動距離だけ移動させた計数補助画像を生成する手順と、
計数予備画像から前記計数補助画像を減算する画像間減算処理手順
とによりなされることを特徴とする請求項1記載の棒材の計数方法。
The deletion of the wrap image
A procedure for calculating a moving distance in the subsequent image of the wrap image by pattern matching between the search model region of the previous image and the search region of the subsequent image;
A procedure for generating a counting auxiliary image obtained by moving the image of the search model area of the previous image by the moving distance;
2. The rod counting method according to claim 1, wherein the counting is performed by an inter-image subtraction processing procedure for subtracting the counting auxiliary image from the counting preliminary image.
画像間減算処理手順後にマスク処理により消え残り画像を消去する手順が付加されることを特徴とする請求項2記載の棒材の計数方法。3. The bar counting method according to claim 2, further comprising a step of erasing the remaining image by masking after the inter-image subtraction processing procedure. 間歇的に搬送がなされる棒材の搬送中において、その計数をなす棒材の計数装置であって、
端面撮像手段と制御計数部とを備え、
前記端面撮像手段は、2回分の搬送距離を超える範囲を撮像できるものとされて、その範囲における棒材の端面を撮像できる位置に配設され、
前記制御計数部は、画像処理計数部を有し、
前記画像処理計数部は、連続して撮像された2つの画像中の前画像を画像処理して得られた、棒材の端面が抽出された第1計数基準画像に基づいて棒材の計数をなす第1計数処理と、連続して撮像された2つの画像中の後画像を画像処理して得られた、棒材の端面が抽出された計数予備画像から前画像とのラップ画像を削除して得られた第2計数基準画像に基づいて棒材の計数をなす第2計数処理と、前記第1計数処理により計数された本数と前記第2計数処理により計数された本数とを合計するよう構成されてなることを特徴とする棒材の計数装置。
A bar counting device that performs counting during the transport of bars that are intermittently transported,
An end surface imaging means and a control counting unit;
The end surface imaging means is supposed to be able to image a range exceeding the transport distance for two times, and is disposed at a position where the end surface of the bar in the range can be imaged,
The control counting unit has an image processing counting unit,
The image processing counting unit counts a bar based on a first count reference image obtained by performing image processing on a previous image in two consecutively captured images and extracting an end face of the bar. The first counting process is performed, and the wrap image with the previous image is deleted from the preliminary counting image obtained by extracting the end face of the bar material, which is obtained by performing image processing on the subsequent image in the two images captured in succession. The second counting process for counting the bar based on the second counting reference image obtained in this manner, the number counted by the first counting process and the number counted by the second counting process are summed A bar counting device comprising a bar material.
棒材の端面を照明する端面照明装置を備えてなることを特徴とする請求項4記載の棒材の計数装置。5. The bar counting device according to claim 4, further comprising an end surface illumination device that illuminates an end surface of the bar.
JP2003209501A 2003-08-29 2003-08-29 Method and apparatus for counting bar material Withdrawn JP2005078105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003209501A JP2005078105A (en) 2003-08-29 2003-08-29 Method and apparatus for counting bar material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003209501A JP2005078105A (en) 2003-08-29 2003-08-29 Method and apparatus for counting bar material

Publications (1)

Publication Number Publication Date
JP2005078105A true JP2005078105A (en) 2005-03-24

Family

ID=34402409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003209501A Withdrawn JP2005078105A (en) 2003-08-29 2003-08-29 Method and apparatus for counting bar material

Country Status (1)

Country Link
JP (1) JP2005078105A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058503A (en) * 2005-08-24 2007-03-08 Sumitomo Metal Ind Ltd Counting method and counting device of long material
CN101912899A (en) * 2010-06-21 2010-12-15 中冶京诚工程技术有限公司 Bar counting method and device
JP2014219842A (en) * 2013-05-08 2014-11-20 新日鐵住金株式会社 Long object quantity measurement apparatus, long object quantity measurement method, and computer program
CN113674200A (en) * 2021-07-08 2021-11-19 浙江大华技术股份有限公司 Method and device for counting articles on production line and computer storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058503A (en) * 2005-08-24 2007-03-08 Sumitomo Metal Ind Ltd Counting method and counting device of long material
JP4534207B2 (en) * 2005-08-24 2010-09-01 住友金属工業株式会社 Long material counting method and counting device
CN101912899A (en) * 2010-06-21 2010-12-15 中冶京诚工程技术有限公司 Bar counting method and device
JP2014219842A (en) * 2013-05-08 2014-11-20 新日鐵住金株式会社 Long object quantity measurement apparatus, long object quantity measurement method, and computer program
CN113674200A (en) * 2021-07-08 2021-11-19 浙江大华技术股份有限公司 Method and device for counting articles on production line and computer storage medium

Similar Documents

Publication Publication Date Title
EP0932115A3 (en) Apparatus and method for pattern recognition
FI20045511A (en) Electronic apparatus and method for processing image data in an electronic apparatus
CN110295728A (en) Handling system and its control method, floor tile paving system
EP1343110A3 (en) Image input apparatus
JP2005078105A (en) Method and apparatus for counting bar material
JP3414145B2 (en) 3D shape measurement method
JP7336678B2 (en) picking device
JP2003270163A (en) Inspection method and device
JP4534207B2 (en) Long material counting method and counting device
EP1091319A3 (en) Skew correcting device and method
JP4387900B2 (en) Mounting board inspection method and inspection apparatus
CN107024184A (en) Systems for optical inspection is with applying its optical detecting method
US11113590B2 (en) Device and method for optimising transformation by digital processing of a substrate
JP2003099755A (en) Method of counting steel bar material
JP2593863B2 (en) Object appearance inspection device
JP2005091331A (en) Inspection device and method of printed matter
JPH03201454A (en) Aligning method for semiconductor device
JP4860452B2 (en) Mark positioning method and apparatus using template matching
JP4476758B2 (en) Mounting board inspection method and inspection apparatus
JPH1063842A (en) Template matching method
CN213316286U (en) Pylon letter sorting system
JP4580090B2 (en) How to care for surface slabs
JPH1114311A (en) Length measuring instrument for steel material
JP2020126400A (en) Workpiece specification method and workpiece quality management method
JPH08101017A (en) Dimension measuring instrument

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061107