JP2809297B2 - Moving object imaging apparatus and imaging method - Google Patents

Moving object imaging apparatus and imaging method

Info

Publication number
JP2809297B2
JP2809297B2 JP5208232A JP20823293A JP2809297B2 JP 2809297 B2 JP2809297 B2 JP 2809297B2 JP 5208232 A JP5208232 A JP 5208232A JP 20823293 A JP20823293 A JP 20823293A JP 2809297 B2 JP2809297 B2 JP 2809297B2
Authority
JP
Japan
Prior art keywords
field
signal
image
moving object
period
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 - Fee Related
Application number
JP5208232A
Other languages
Japanese (ja)
Other versions
JPH0746485A (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 JP5208232A priority Critical patent/JP2809297B2/en
Publication of JPH0746485A publication Critical patent/JPH0746485A/en
Application granted granted Critical
Publication of JP2809297B2 publication Critical patent/JP2809297B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、特に高速で移動してい
る物体を撮像して得られた画像信号を出力する移動物体
撮像装置及び撮像方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving object imaging apparatus and an imaging method for outputting an image signal obtained by imaging an object moving at high speed.

【0002】[0002]

【従来の技術】移動物体撮像装置は、たとえば工場にお
いてビール缶の底に印字された製造年月日等を検査する
場合等に使用される。従来の移動物体撮像装置では、移
動する対象物が撮像位置に到達したことをセンサで検知
し、センサからの検知信号を取り込むタイミング(撮像
タイミング)でストロボを発光させ、CCDカメラで対
象物を撮像する。そして、CCDカメラから出力された
画像信号を画像処理装置で処理し、予め設定した適正な
画像と比較することにより、製造年月日等が正しく印字
されているか否かを判定している。CCDカメラは、撮
像レンズにより撮像デバイス上に対象物の光学像を結像
させ、その光学像に対応する電荷を所定の期間(電荷蓄
積期間)だけ蓄積した後、次の電荷蓄積期間内の電荷転
送期間に電荷を転送し、画像信号を出力するものであ
る。
2. Description of the Related Art A moving object imaging apparatus is used, for example, in a factory for inspecting the date of manufacture or the like printed on the bottom of a beer can. In a conventional moving object imaging apparatus, a sensor detects that a moving object has reached an imaging position, emits a flash at a timing (imaging timing) at which a detection signal from the sensor is taken, and images the object with a CCD camera. I do. Then, the image signal output from the CCD camera is processed by an image processing device, and is compared with an appropriate image set in advance to determine whether the date of manufacture or the like is correctly printed. The CCD camera forms an optical image of an object on an imaging device by an imaging lens, accumulates a charge corresponding to the optical image for a predetermined period (charge accumulation period), and then charges the electric charge in the next charge accumulation period. The charge is transferred during the transfer period, and an image signal is output.

【0003】図4は、従来の移動物体撮像装置における
撮像時の制御を説明するためのタイミング図である。図
4の場合、電荷蓄積期間の前半に電荷転送期間が含まれ
ている。対象物がランダムなタイミングでカメラ視野を
通過する場合には、図4に示すように、撮像タイミング
がCCDカメラの電荷転送期間と重なることがある。こ
のように撮像タイミングと電荷転送期間とが重なったと
きに、ストロボを発光させても、対象物の光学像に対応
する電荷が撮像デバイス上に有効に蓄積されず、適正な
画像信号は得られない。したがって、かかる画像信号を
用いて画像処理を行って印刷された文字等の判定を行っ
ても正しい判定を行うことはできず、対象物がたとえ正
常品であっても、結果は不良と判定されることがある。
そこで、従来の移動物体撮像装置では、遅延回路等を設
け、撮像タイミングが電荷転送期間と重なるときには、
図4に示すように、遅延回路等によって撮像タイミング
をずらしている。
FIG. 4 is a timing chart for explaining control during imaging in a conventional moving object imaging apparatus. In the case of FIG. 4, the charge transfer period is included in the first half of the charge accumulation period. When the target passes through the camera field of view at random timing, the imaging timing may overlap the charge transfer period of the CCD camera as shown in FIG. Thus, when the imaging timing and the charge transfer period overlap, even if the strobe light is emitted, the charge corresponding to the optical image of the object is not effectively accumulated on the imaging device, and an appropriate image signal can be obtained. Absent. Therefore, even if a character or the like printed by performing image processing using such an image signal is determined, a correct determination cannot be made, and even if the target is a normal product, the result is determined to be defective. Sometimes.
Therefore, in the conventional moving object imaging apparatus, a delay circuit or the like is provided, and when the imaging timing overlaps with the charge transfer period,
As shown in FIG. 4, the imaging timing is shifted by a delay circuit or the like.

【0004】[0004]

【発明が解決しようとする課題】ところで、電荷を転送
するタイミングと電荷転送期間の長さとはCCDカメラ
の種類毎に異なるため、通常、撮像タイミングが電荷転
送期間と重なるときには、撮像タイミングを比較的長い
期間ずらすことにしている。このため、特に対象物を高
速で搬送している場合には、対象物をセンサで検知して
からストロボを発光させるまでの間に、対象物は所定の
撮像位置からかなり離れたところに搬送されているの
で、適正な画像信号を得ることができない。また、対象
物を低速で搬送しているときには、対象物はストロボの
発光時に所定の撮像位置から極僅かしかずれないので、
ストロボ光は対象物のほぼ真上から照射される。しかし
ながら、対象物を高速で搬送している場合には、所定の
撮像位置からのずれが大きくなり、したがってストロボ
光が対象物の斜め上方から照射されるので、ストロボ光
が対象物の凹部で複雑に反射する。このため、ビール缶
の底のような凹部に印刷された文字等を撮像する場合に
は、文字等からの反射光を撮像レンズに有効に入射させ
ることができず、適正な画像信号を得ることができな
い。
Since the charge transfer timing and the length of the charge transfer period are different for each type of CCD camera, usually, when the image pickup timing overlaps with the charge transfer period, the image pickup timing is relatively short. I'm staggering for a long time. For this reason, especially when the object is being conveyed at a high speed, the object is conveyed to a place far away from the predetermined imaging position between the time when the object is detected by the sensor and the time when the strobe is fired. Therefore, an appropriate image signal cannot be obtained. Also, when the object is being conveyed at a low speed, the object is very slightly deviated from the predetermined imaging position when the strobe light is emitted.
The strobe light is emitted from almost right above the object. However, when the object is being conveyed at a high speed, the deviation from the predetermined imaging position becomes large, and therefore, the strobe light is irradiated from obliquely above the object. To reflect. For this reason, when imaging characters or the like printed on a concave portion such as the bottom of a beer can, reflected light from the characters or the like cannot be effectively incident on the imaging lens, and an appropriate image signal is obtained. Can not.

【0005】このように、従来の移動物体撮像装置で
は、撮像タイミングが電荷転送期間と重なるときには撮
像タイミングをずらして撮像しているが、対象物が高速
で搬送されている場合には、適正な画像信号を得ること
ができず、したがって対象物に印刷された文字等の良・
不良の判定を正確に行うことができないという問題があ
った。
As described above, in the conventional moving object imaging apparatus, when the imaging timing is overlapped with the charge transfer period, the imaging is performed with the imaging timing shifted, but when the object is conveyed at a high speed, an appropriate image is taken. An image signal cannot be obtained, and therefore the quality of characters and the like printed on the object is good.
There is a problem that it is not possible to accurately determine a defect.

【0006】本発明は上記事情に基づいてなされたもの
であり、撮像タイミングが電荷転送期間と重なるときで
も撮像タイミングをずらすことなく適正な画像信号を得
ることができる移動物体撮像装置を提供することを目的
とするものである。
The present invention has been made based on the above circumstances, and provides a moving object imaging apparatus capable of obtaining an appropriate image signal without shifting the imaging timing even when the imaging timing overlaps the charge transfer period. It is intended for.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めの本発明に係る移動物体撮像装置は、移動物体が所定
の位置に到達したことを検知し、検知信号を出力する検
知手段と、前記検知手段からの検知信号を受けて、前記
移動物体に閃光を照射する照明手段と、前記検知手段か
らの検知信号を受けて、前記照明手段による照明下で前
記移動物体の光学像を撮像素子上に結像させ、前記光学
像に対応した電荷を蓄積した後、前記蓄積された電荷を
電荷蓄積期間が半分ずれた奇数ラインの画素と偶数ライ
ンの画素ごとに電荷転送期間内に転送し、奇数フィール
ドの画像信号と偶数フィールドの画像信号を順次出力す
るフレーム蓄積型の撮像手段と、前記検知手段からの検
知信号を受けたときに、前記撮像手段から送られてくる
前記奇数フィールドの画像信号と前記偶数フィールドの
画像信号のうち、前記電荷蓄積期間を二つの期間に分割
したときに前記電荷転送期間が含まれていない方の前記
分割された期間内に撮像されたフィールドの画像信号を
出力する出力フィールド決定手段と、を具備することを
特徴とするものである。
A moving object imaging apparatus according to the present invention for achieving the above object detects a moving object reaching a predetermined position, and outputs a detection signal; An illumination unit that receives a detection signal from the detection unit and irradiates the moving object with flash light; and an imaging device that receives a detection signal from the detection unit and receives an optical image of the moving object under illumination by the illumination unit. After accumulating the charge corresponding to the optical image, the accumulated charge is transferred within the charge transfer period for each odd-line pixel and even-line pixel whose charge storage period is shifted by half, A frame accumulation type imaging means for sequentially outputting an image signal of an odd field and an image signal of an even field; and the odd field transmitted from the imaging means when receiving a detection signal from the detection means. Of the image signal of the even field and the image signal of the even field, when the charge accumulation period is divided into two periods, the image of the field imaged during the divided period that does not include the charge transfer period Output field determining means for outputting a signal.

【0008】また、前記出力フィールド決定手段は、前
記撮像手段を動作させるタイミング信号を発生するタイ
ミング発生手段と、前記検知手段からの検知信号を受け
たときに、前記タイミング発生手段からのタイミング信
号に基づいて、前記奇数フィールドの画像信号と前記偶
数フィールドの画像信号のうち、前記電荷蓄積期間を二
つの期間に分割したときに前記電荷転送期間が含まれて
いない方の前記分割された期間内に撮像されたフィール
ドを判定し、判定信号を出力するフィールド判定手段
と、前記フィールド判定手段からの判定信号に基づい
て、前記電荷転送期間が含まれていない方の前記分割さ
れた期間内に撮像されたフィールドを選択し、そのフィ
ールドの画像信号を出力するフィールド選択手段とを具
備するものであることが望ましい。
The output field determining means includes a timing generating means for generating a timing signal for operating the imaging means, and a timing signal from the timing generating means when receiving a detection signal from the detecting means. Based on the image signal of the odd field and the image signal of the even field, when the charge accumulation period is divided into two periods, the charge transfer period is not included in the divided period. Field determination means for determining the imaged field and outputting a determination signal, and, based on a determination signal from the field determination means, imaged within the divided period that does not include the charge transfer period. And a field selecting means for selecting the selected field and outputting an image signal of the selected field. Desirable.

【0009】[0009]

【作用】本発明は前記の構成によって、フレーム蓄積型
の撮像手段を用い、検知手段からの検知信号を受けたと
きに、奇数フィールドの画像信号と偶数フィールドの画
像信号のうち、電荷蓄積期間を二つの期間に分割したと
き電荷転送期間が含まれない方の前記分割された期間内
に撮像されたフィールドの画像信号を出力するので、撮
像タイミングをずらすことなく、適正な画像信号を得る
ことができる。したがって、対象物が高速で搬送されて
いる場合でも、適正な画像信号を得ることができる。
According to the present invention, the charge storage period of the image signal of the odd field and the image signal of the even field is reduced when the detection signal is received from the detection means using the frame storage type imaging means. When divided into two periods, the image signal of the field imaged during the divided period that does not include the charge transfer period is output, so that an appropriate image signal can be obtained without shifting the imaging timing. it can. Therefore, an appropriate image signal can be obtained even when the object is being conveyed at a high speed.

【0010】[0010]

【実施例】以下に本発明の一実施例について図面を参照
して説明する。図1は本発明の一実施例である移動物体
撮像装置の概略構成図、図2はその移動物体撮像装置に
おける画像処理装置の主要部の概略ブロック図、図3は
その移動物体撮像装置における撮像時の制御を説明する
ためのタイミング図である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram of a moving object imaging device according to an embodiment of the present invention, FIG. 2 is a schematic block diagram of a main part of an image processing device in the moving object imaging device, and FIG. FIG. 6 is a timing chart for explaining control at the time.

【0011】図1に示す移動物体撮像装置は、センサ2
と、ストロボ光源4と、ストロボ駆動部6と、CCDカ
メラ8と、対象物Xを搬送するコンベア等の搬送手段1
2と、画像処理装置20とを備えるものである。本実施
例では、対象物Xがビール缶であって、そのビール缶を
高速で搬送し(1000個/分)、ビール缶の底の凹部
にインクジェットプリンタで印刷された製造年月日等の
文字が正確に印字されているか否かを検査する場合につ
いて考える。
The moving object imaging apparatus shown in FIG.
, A strobe light source 4, a strobe drive unit 6, a CCD camera 8, and a conveying means 1 such as a conveyor for conveying the object X.
2 and an image processing device 20. In this embodiment, the object X is a beer can, the beer can is transported at a high speed (1000 pieces / min), and characters such as manufacturing date printed on the concave portion at the bottom of the beer can by an inkjet printer. Let us consider a case of checking whether or not is printed correctly.

【0012】センサ2は、搬送される対象物XがCCD
カメラ8に近づいて、撮像位置に到達したことを検知
し、検知信号を出力するものである。ストロボ光源4
は、対象物Xに照射する閃光の光源であり、この照明下
で対象物Xが撮像される。また、ストロボ駆動部6は、
センサ2からの検知信号を取り込むタイミング(撮像タ
イミング)でストロボ光源4を発光させる。ここで、ス
トロボ光源4の発光期間は約1/10000秒である。
The sensor 2 is such that the object X to be conveyed is a CCD.
It detects that it has approached the camera 8 and has reached the imaging position, and outputs a detection signal. Strobe light source 4
Is a flash light source that irradiates the object X, and the object X is imaged under this illumination. Also, the strobe drive unit 6
The strobe light source 4 emits light at a timing (imaging timing) at which a detection signal from the sensor 2 is taken. Here, the light emission period of the strobe light source 4 is about 1/10000 second.

【0013】CCDカメラ8は、撮像レンズにより撮像
素子上に対象物Xの光学像を二次元の画像として結像さ
せ、撮像素子上で光電変換を行なって光学像に対応した
電荷を所定の期間(電荷蓄積期間)蓄積した後、この蓄
積した電荷を一次元の電気信号として出力するものであ
る。光学像は絶えず撮像素子上に結像しているが、電荷
の転送中は、対象物Xの光学像に対応した電荷は有効に
蓄積されない。そして、電荷の転送後、この電荷が消滅
した部分にも再び電荷が蓄積される。撮像素子から得ら
れた一次元の電気信号は、画像信号として画像処理装置
20に出力される。
The CCD camera 8 forms an optical image of the object X as a two-dimensional image on an image sensor by an image pickup lens, performs photoelectric conversion on the image sensor, and charges electric charges corresponding to the optical image for a predetermined period. (Charge accumulation period) After accumulation, the accumulated electric charge is output as a one-dimensional electric signal. Although the optical image is constantly formed on the image sensor, the charge corresponding to the optical image of the object X is not effectively accumulated during the transfer of the charge. Then, after the transfer of the charge, the charge is accumulated again in the portion where the charge has disappeared. The one-dimensional electric signal obtained from the imaging device is output to the image processing device 20 as an image signal.

【0014】また、本実施例で使用するCCDカメラ8
は、フレーム蓄積型のものである。すなわち、撮像素子
において感光部の画素のうち、たとえば、まず奇数ライ
ンの画素に蓄積された電荷を転送部に順次転送し、奇数
フィールドの電気信号を得る。この間、偶数ラインの画
素では、そのまま光電変換が続けられる。次に、偶数ラ
インの画素に蓄積された電荷を転送部に順次転送し、偶
数フィールドの電気信号を得る。その後、再び奇数ライ
ンの画素に蓄積された電荷を転送し、続いて偶数ライン
の画素に蓄積された電荷を転送するという動作を繰り返
す。特に、NTSC規格のCCDカメラ8では、一つの
画素の電荷蓄積期間は1/30秒であり、奇数ラインの
画素と偶数ラインの画素とでは電荷蓄積期間が、図3に
示すように、1/60秒ずれている。また、奇数(偶
数)ラインの画素の電荷蓄積期間の前半には、前回の奇
数(偶数)ラインの画素の電荷蓄積期間で蓄積した電荷
を転送する電荷転送期間が含まれている。この電荷転送
期間は約1/1600秒である。したがって、奇数ライ
ンの画素と偶数ラインの画素との電荷転送期間も1/6
0秒ずれており、奇数(偶数)ラインの画素が電荷を転
送していれば、偶数(奇数)ラインの画素は必ず電荷を
蓄積している。たとえば、図3に示すように、奇数ライ
ンの画素の電荷蓄積期間で蓄積された電荷は奇数ライ
ンの画素の電荷蓄積期間の前半で取り出され、偶数ラ
インの画素の電荷蓄積期間は偶数ラインの画素の電荷
蓄積期間の前半で取り出される。
Further, the CCD camera 8 used in this embodiment
Is of the frame accumulation type. That is, in the image sensor, for example, among the pixels of the photosensitive section, first, the charges accumulated in the pixels of the odd-numbered lines are sequentially transferred to the transfer section to obtain the electric signals of the odd-numbered fields. During this time, photoelectric conversion is continued as it is in the pixels on the even-numbered lines. Next, the charges accumulated in the pixels of the even-numbered lines are sequentially transferred to the transfer unit, and electric signals of the even-numbered fields are obtained. Thereafter, the operation of transferring the charges accumulated in the pixels of the odd-numbered lines again and subsequently transferring the charges accumulated in the pixels of the even-numbered lines is repeated. In particular, in the CCD camera 8 of the NTSC standard, the charge accumulation period of one pixel is 1/30 second, and the charge accumulation period of a pixel on an odd line and a pixel on an even line is 1/30 as shown in FIG. 60 seconds off. Further, the first half of the charge accumulation period of the pixels of the odd (even) line includes a charge transfer period for transferring the charges accumulated in the charge accumulation period of the pixel of the previous odd (even) line. This charge transfer period is about 1/1600 second. Therefore, the charge transfer period between the odd line pixels and the even line pixels is also 1/6.
The time is shifted by 0 seconds, and if the pixels of the odd (even) line are transferring the electric charge, the pixels of the even (odd) line always accumulate the electric charge. For example, as shown in FIG. 3, the charges accumulated in the charge accumulation period of the pixels of the odd line are taken out in the first half of the charge accumulation period of the pixels of the odd line, and the charge accumulation period of the pixels of the even line is changed to the pixels of the even line. In the first half of the charge accumulation period.

【0015】画像処理装置20は、CCDカメラ8から
の画像信号を処理するものであり、図2に示すように、
CCDカメラ8から出力された画像信号をディジタル信
号に変換して出力するA/D変換器29と、その画像信
号を一時記憶する画像メモリ30と、画像メモリ30に
記憶した信号から奇数フィールドの画像信号又は偶数フ
ィールドの画像信号を出力する出力フィールド決定部2
2と、画像処理部32と、画像判定部34とを備えるも
のである。また、出力フィールド決定部22は、タイミ
ング信号発生部24と、フィールド判定部26と、フィ
ールド選択部28とを備えるものである。
The image processing device 20 processes an image signal from the CCD camera 8, and as shown in FIG.
An A / D converter 29 for converting an image signal output from the CCD camera 8 into a digital signal and outputting the digital signal; an image memory 30 for temporarily storing the image signal; and an image of an odd field based on the signal stored in the image memory 30 Output field determining unit 2 for outputting a signal or an image signal of an even field
2, an image processing unit 32, and an image determination unit 34. The output field determination unit 22 includes a timing signal generation unit 24, a field determination unit 26, and a field selection unit 28.

【0016】タイミング信号発生部24は、画像処理装
置20の各部とCCDカメラ8の動作を制御するための
タイミング信号を発生するものである。図3に示すよう
に、CCDカメラ8では、タイミング信号発生部24か
らのハイ(ロー)レベルの信号を取り込むタイミング
が、奇数(偶数)ラインの画素において今まで蓄積した
電荷を転送し、新たに電荷の蓄積を開始するタイミング
となる。また、タイミング信号発生部24からハイ(ロ
ー)レベルの信号を受けている1/60秒の期間が、C
CDカメラ8から奇数(偶数)フィールドの画像信号を
出力するカメラ出力期間となる。
The timing signal generator 24 generates a timing signal for controlling the operation of each part of the image processing device 20 and the CCD camera 8. As shown in FIG. 3, in the CCD camera 8, the timing at which a high (low) level signal from the timing signal generation unit 24 is fetched is such that the charges accumulated so far in the pixels of the odd (even) lines are transferred and newly added. This is the timing to start accumulating charges. Also, the period of 1/60 seconds during which a high (low) level signal is received from the timing signal generator 24 is represented by C
This is the camera output period in which the odd (even) field image signal is output from the CD camera 8.

【0017】フィールド判定部26は、センサ2からの
検知信号を受けたときに、タイミング信号発生部24か
らのタイミング信号がハイレベルであるかローレベルで
あるかを判定し、その判定信号を出力するものである。
CCDカメラ8はタイミング信号発生部24からのタイ
ミング信号により画像処理装置20と同期がとられてい
るので、フィールド判定部26からの判定信号により、
その検知信号に対応する奇数フィールドの画像信号と偶
数フィールドの画像信号は、それぞれ奇数ラインの画素
及び偶数ラインの画素の電荷蓄積期間の前半で撮像され
たものか、或いは後半で撮像されたものであるかがわか
る。すなわち、センサ2から検知信号が送られたときに
タイミング信号発生部24からのタイミング信号がハイ
レベルであれば、この検知信号に対応する奇数フィール
ドの画像信号は奇数ラインの画素の電荷蓄積期間の前半
で撮像されたものと判定され、偶数フィールドの画像信
号は偶数ラインの画素の電荷蓄積期間の後半で撮像され
たものと判定される。また、タイミング信号がローレベ
ルであれば、奇数フィールドの画像信号は奇数ラインの
画素の電荷蓄積期間の後半で撮像されたものと判定さ
れ、偶数フィールドの画像信号は偶数ラインの画素の電
荷蓄積期間の前半で撮像されたものと判定される。
Upon receiving the detection signal from the sensor 2, the field determination unit 26 determines whether the timing signal from the timing signal generation unit 24 is at a high level or a low level, and outputs the determination signal. Is what you do.
Since the CCD camera 8 is synchronized with the image processing device 20 by the timing signal from the timing signal generator 24,
The image signal of the odd field and the image signal of the even field corresponding to the detection signal are those that were captured in the first half of the charge accumulation period of the pixels in the odd line and the pixels in the even line, respectively, or those that were captured in the second half. You know if there is. That is, if the timing signal from the timing signal generator 24 is at a high level when the detection signal is sent from the sensor 2, the image signal of the odd field corresponding to this detection signal is generated during the charge accumulation period of the pixel of the odd line. It is determined that the image was captured in the first half, and that the image signal of the even field was captured in the second half of the charge accumulation period of the pixels in the even line. If the timing signal is at a low level, it is determined that the image signal of the odd-numbered field was captured in the latter half of the charge accumulation period of the pixel of the odd-numbered line, and the image signal of the even-numbered field is determined during the charge accumulation period of the pixel of the even-numbered line. Is determined to have been taken in the first half of the process.

【0018】フィールド選択部28は、フィールド判定
部24からの判定信号に基づいて、ある検知信号に対応
する奇数フィールドの画像信号と偶数フィールドの画像
信号のうち、電荷蓄積期間の後半で撮像された方のフィ
ールドを選択するものである。本実施例では電荷転送期
間が電荷蓄積期間の前半に含まれているため、電荷蓄積
期間の後半で撮像された方のフィールドの画像信号は、
撮像タイミングが電荷転送期間と重なることはないの
で、フィールド選択部28によって適正な画像信号を選
択することができる。
The field selecting section 28 picks up an image of an odd field image signal and an even field image signal corresponding to a certain detection signal in the latter half of the charge accumulation period based on the judgment signal from the field judgment section 24. The other field is selected. In the present embodiment, since the charge transfer period is included in the first half of the charge accumulation period, the image signal of the field captured in the second half of the charge accumulation period is
Since the imaging timing does not overlap with the charge transfer period, an appropriate image signal can be selected by the field selection unit 28.

【0019】画像処理部32は、二値化等の画像処理を
施すものであり、フィールド選択部28で選択された適
正な画像信号のみを画像判定部34に出力する。また、
画像判定部34は、画像処理部32からの画像信号を、
たとえば予め設定された基準となる画像と比較し、印刷
された文字等の良・不良の判定を行い、判定結果を出力
する。
The image processing section 32 performs image processing such as binarization, and outputs only the appropriate image signal selected by the field selection section 28 to the image determination section 34. Also,
The image determination unit 34 converts the image signal from the image processing unit 32 into
For example, the image is compared with a preset reference image to determine whether the printed character is good or bad, and outputs a result of the determination.

【0020】次に、本実施例の移動物体撮像装置の動作
について説明する。ビール缶がCCDカメラ8に近づ
き、センサ2がビール缶を検知すると、センサ2は検知
信号をストロボ駆動部6及びフィールド判定部26に出
力する。いま、ストロボ駆動部6が検知信号を、たとえ
ば図3に示すタイミングAで取り込んだとする。このと
き、ビール缶は奇数ラインの画素では電荷蓄積期間の
後半で撮像され、偶数ラインの画素では電荷蓄積期間
の前半で撮像される。そして、各ラインの画素から電荷
が転送された後、奇数フィールドの画像信号と偶数フィ
ールドの画像信号がそれぞれ、カメラ出力期間、カメ
ラ出力期間内にCCDカメラ8から出力される。一
方、フィールド判定部26は、センサ2からの検知信号
を受けたときに、タイミング信号発生部24からのタイ
ミング信号に基づいて、奇数フィールドの画像信号が奇
数ラインの画素の電荷蓄積期間の後半に撮像されたも
のと判定する。フィールド選択部28では、フィールド
判定部26からの判定信号に基づいて、偶数フィールド
の画像信号を捨て、奇数フィールドの画像信号のみが取
り出される。そして、画像処理部32で奇数フィールド
の画像信号について画像処理が行われた後、画像判定部
34で基準となる画像と比較され、ビール缶の底に製造
年月日等の文字が正確に印字されているか否か判定され
る。
Next, the operation of the moving object imaging apparatus according to the present embodiment will be described. When the beer can approaches the CCD camera 8 and the sensor 2 detects the beer can, the sensor 2 outputs a detection signal to the strobe drive unit 6 and the field determination unit 26. Now, it is assumed that the strobe drive unit 6 captures a detection signal at, for example, a timing A shown in FIG. At this time, the image of the beer can is captured in the second half of the charge accumulation period in the pixels of the odd-numbered lines, and is captured in the first half of the charge accumulation period in the pixels of the even-numbered lines. Then, after the charges are transferred from the pixels of each line, the image signal of the odd field and the image signal of the even field are output from the CCD camera 8 during the camera output period and the camera output period, respectively. On the other hand, when receiving the detection signal from the sensor 2, the field determination unit 26 sets the image signal of the odd field in the second half of the charge accumulation period of the pixel of the odd line based on the timing signal from the timing signal generation unit 24. It is determined that an image has been taken. The field selection unit 28 discards the image signal of the even field based on the determination signal from the field determination unit 26 and extracts only the image signal of the odd field. Then, after image processing is performed on the image signal of the odd-numbered field by the image processing unit 32, the image is compared with a reference image by the image determination unit 34, and characters such as the date of manufacture are accurately printed on the bottom of the beer can. It is determined whether or not it has been performed.

【0021】また、ストロボ駆動部6が検知信号を、た
とえば図3に示すタイミングBで取り込んだとする。こ
のとき、ビール缶は偶数ラインの画素では電荷蓄積期間
の後半で撮像され、奇数ラインの画素では電荷蓄積期
間の前半で撮像される。そして、各ラインの画素から
電荷が転送された後、偶数フィールドの画像信号と奇数
フィールドの画像信号がそれぞれ、カメラ出力期間、
カメラ出力期間内にCCDカメラ8から出力される。
一方、フィールド判定部26は、センサ2からの検知信
号を受けたときに、タイミング信号発生部24からのタ
イミング信号に基づいて、偶数フィールドの画像信号が
偶数ラインの画素の電荷蓄積期間の後半に撮像された
ものと判定する。フィールド選択部28では、フィール
ド判定部26からの判定信号に基づいて、奇数フィール
ドの画像信号を捨て、偶数フィールドの画像信号のみが
取り出される。そして、画像処理部32で偶数フィール
ドの画像信号について画像処理が行われた後、画像判定
部34でビール缶の底に製造年月日等の文字が正確に印
字されているか否か判定される。
Further, it is assumed that the strobe drive unit 6 captures a detection signal at, for example, a timing B shown in FIG. At this time, the image of the beer can is captured in the second half of the charge accumulation period in the pixels of the even-numbered lines, and is captured in the first half of the charge accumulation period in the pixels of the odd-numbered lines. Then, after the charges are transferred from the pixels of each line, the image signal of the even field and the image signal of the odd field are respectively output to the camera output period,
Output from the CCD camera 8 during the camera output period.
On the other hand, when receiving the detection signal from the sensor 2, the field determination unit 26 determines, based on the timing signal from the timing signal generation unit 24, the image signal of the even field in the second half of the charge accumulation period of the pixel of the even line. It is determined that an image has been taken. The field selection unit 28 discards the image signal of the odd field based on the determination signal from the field determination unit 26 and extracts only the image signal of the even field. Then, after the image processing section 32 performs image processing on the image signal of the even field, the image determination section 34 determines whether or not characters such as the production date are accurately printed on the bottom of the beer can. .

【0022】本実施例の移動物体撮像装置では、フレー
ム蓄積型のCCDカメラを用い、フィールド判定部がセ
ンサからの検知信号を受けたときに、タイミング信号発
生部からのタイミング信号がハイレベルであるかローレ
ベルであるかを判定することにより、その検知信号に対
応する奇数フィールドの画像信号と偶数フィールドの画
像信号の中から、電荷転送期間が含まれない電荷蓄積期
間の後半で撮像された方のフィールドを選択して出力す
るので、撮像タイミングが電荷転送期間と重なったとき
でも、撮像タイミングをずらことなく、適正な画像信号
を得ることができる。したがって、本実施例の移動物体
撮像装置によれば、対象物が高速で搬送されている場合
において、複雑な形状の部分を撮像するときでも、常に
対象物のほぼ真上からストロボ光を照射して撮像するの
で、対象物上に印刷された文字等の良・不良の判定を正
確に行うことができる。
In the moving object imaging apparatus of this embodiment, a frame accumulation type CCD camera is used, and when the field determination section receives a detection signal from the sensor, the timing signal from the timing signal generation section is at a high level. By determining whether the signal is at the low level or not, the image signal captured in the latter half of the charge accumulation period that does not include the charge transfer period is selected from the odd-field image signal and the even-field image signal corresponding to the detection signal. Therefore, even when the imaging timing overlaps the charge transfer period, an appropriate image signal can be obtained without shifting the imaging timing. Therefore, according to the moving object imaging apparatus of the present embodiment, when the object is being conveyed at a high speed, the strobe light is always emitted from almost directly above the object even when imaging a portion having a complicated shape. Therefore, it is possible to accurately determine whether the character or the like printed on the object is good or bad.

【0023】尚、本発明は、上記の実施例に限定される
ものではなく、その要旨の範囲内において種々の変形が
可能である。
The present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the invention.

【0024】[0024]

【発明の効果】以上説明したように本発明によれば、フ
レーム蓄積型の撮像手段を用い、検知手段からの検知信
号を受けたときに、奇数フィールドの画像信号と偶数フ
ィールドの画像信号の中から、電荷蓄積期間を二つの期
間に分割したときに電荷転送期間が含まれない方の前記
分割された期間内に撮像されたフィールドの画像信号を
選択するので、撮像タイミングをずらすことなく、適正
な画像信号を得ることができ、したがって、対象物が高
速で搬送されている場合でも、対象物に印字された文字
等の良・不良の判定を正確に行うことができ、検査の信
頼性を向上させることができる移動物体撮像装置を提供
することができる。
As described above, according to the present invention, when an image signal of an odd field and an image signal of an even field are received when a detection signal is received from the detection means using the frame accumulation type imaging means. From the above, when the charge accumulation period is divided into two periods, the image signal of the field imaged during the divided period that does not include the charge transfer period is selected. Image signals can be obtained, and therefore, even when the object is being conveyed at a high speed, it is possible to accurately determine whether the characters or the like printed on the object are good or bad, thereby improving the reliability of the inspection. A moving object imaging device that can be improved can be provided.

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

【図1】本発明の一実施例である移動物体撮像装置の概
略構成図である。
FIG. 1 is a schematic configuration diagram of a moving object imaging apparatus according to an embodiment of the present invention.

【図2】本実施例の移動物体撮像装置における画像処理
装置の主要部の概略ブロック図である。
FIG. 2 is a schematic block diagram of a main part of an image processing device in the moving object imaging device of the present embodiment.

【図3】本実施例の移動物体撮像装置における撮像時の
制御を説明するためのタイミング図である。
FIG. 3 is a timing chart for explaining control at the time of imaging in the moving object imaging apparatus of the present embodiment.

【図4】従来の移動物体撮像装置における撮像時の制御
を説明するためのタイミング図である。
FIG. 4 is a timing chart for explaining control at the time of imaging in a conventional moving object imaging apparatus.

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

2 センサ 4 ストロボ光源 6 ストロボ駆動部 8 CCDカメラ 12 搬送手段 20 画像処理装置 22 出力フィールド決定手段 24 タイミング信号発生部 26 フィールド判定部 28 フィールド選択部 29 A/D変換器 30 画像メモリ 32 画像処理部 34 画像判定部 Reference Signs List 2 sensor 4 strobe light source 6 strobe drive unit 8 CCD camera 12 transport unit 20 image processing unit 22 output field determination unit 24 timing signal generation unit 26 field determination unit 28 field selection unit 29 A / D converter 30 image memory 32 image processing unit 34 Image judgment unit

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 移動物体が所定の位置に到達したことを
検知し、検知信号を出力する検知手段と、 前記検知手段からの検知信号を受けて、前記移動物体に
閃光を照射する照明手段と、 前記検知手段からの検知信号を受けて、前記照明手段に
よる照明下で前記移動物体の光学像を撮像素子上に結像
させ、前記光学像に対応した電荷を蓄積した後、前記蓄
積された電荷を電荷蓄積期間が半分ずれた奇数ラインの
画素と偶数ラインの画素ごとに電荷転送期間内に転送
し、奇数フィールドの画像信号と偶数フィールドの画像
信号を順次出力するフレーム蓄積型の撮像手段と、 前記検知手段からの検知信号を受けたときに、前記撮像
手段から送られてくる前記奇数フィールドの画像信号と
前記偶数フィールドの画像信号のうち、前記電荷蓄積期
間を二つの期間に分割したときに前記電荷転送期間が含
まれていない方の前記分割された期間内に撮像されたフ
ィールドの画像信号を出力する出力フィールド決定手段
と、 を具備することを特徴とする移動物体撮像装置。
1. A detecting means for detecting that a moving object has reached a predetermined position and outputting a detection signal; and an illuminating means for receiving a detection signal from the detecting means and irradiating the moving object with flash light. Receiving a detection signal from the detection unit, forming an optical image of the moving object on an image sensor under illumination by the illumination unit, accumulating electric charges corresponding to the optical image, and then storing the electric charge. Frame accumulation type imaging means for transferring charges within the charge transfer period for each of the odd-line pixels and even-line pixels whose charge accumulation period is shifted by half, and sequentially outputs an odd-field image signal and an even-field image signal; When receiving the detection signal from the detection unit, the charge accumulation period is set to two of the odd field image signal and the even field image signal transmitted from the imaging unit. And output field determination means for outputting an image signal of a field imaged during the divided period in which the charge transfer period is not included when divided into periods. Object imaging device.
【請求項2】 前記出力フィールド決定手段は、前記撮
像手段を動作させるタイミング信号を発生するタイミン
グ発生手段と、前記検知手段からの検知信号を受けたと
きに、前記タイミング発生手段からのタイミング信号に
基づいて、前記奇数フィールドの画像信号と前記偶数フ
ィールドの画像信号のうち、前記電荷蓄積期間を二つの
期間に分割したときに前記電荷転送期間が含まれていな
い方の前記分割された期間内に撮像されたフィールドを
判定し、判定信号を出力するフィールド判定手段と、前
記フィールド判定手段からの判定信号に基づいて、前記
電荷転送期間が含まれていない方の前記分割された期間
内に撮像されたフィールドを選択し、そのフィールドの
画像信号を出力するフィールド選択手段とを具備するも
のである請求項1記載の移動物体撮像装置。
2. The image processing apparatus according to claim 1, wherein said output field determination means includes a timing generation means for generating a timing signal for operating said imaging means, and a timing signal from said timing generation means when receiving a detection signal from said detection means. Based on the image signal of the odd field and the image signal of the even field, when the charge accumulation period is divided into two periods, the charge transfer period is not included in the divided period. Field determination means for determining the imaged field and outputting a determination signal, and, based on a determination signal from the field determination means, imaged within the divided period that does not include the charge transfer period. A field selecting means for selecting the selected field and outputting an image signal of the selected field. Mounted moving object imaging device.
【請求項3】 移動物体が所定位置に到達したときのタ3. The time when a moving object reaches a predetermined position.
イミングで移動物体に閃光を照射し、Illuminate the moving object with a flash 電荷の蓄積および転送を奇数ラインと偶数ラインの画素Charge storage and transfer of pixels on odd and even lines
を交互に行う蓄積型撮Type shooting that alternates 像手段上に、上記タイミングで移Transfer to the image means at the above timing
動物体の光学像を結像させ、To form an optical image of the moving object, 上記蓄積型撮像手段の奇数ラインと偶数ラインの画像信The image signals of the odd-numbered lines and the even-numbered lines of the accumulation type
号のうち、上記タイミングが電荷の転送期間に含まれてThe above timing is included in the charge transfer period
いない方の画像信号を出力することを特徴とする移動物Moving object characterized by outputting the image signal of the moving object
体の撮像方法。How to image the body.
【請求項4】 移動物体が所定位置に到達したときに検4. A method for detecting when a moving object has reached a predetermined position.
知信号を出力し、Outputs an intelligent signal, 該検知信号に応じて移動物体に閃光を照射し、Irradiating a flash on the moving object according to the detection signal, 上記検知信号を受けて、電荷の蓄積および転送を奇数ラIn response to the above detection signal, charge accumulation and transfer
インと偶数ラインの画素を交互に行う蓄積型撮像手段上On the storage type imaging means that alternates between the pixels of
に移動物体の光学像を結像させ、To form an optical image of the moving object, 上記検知信号を受けたときに、奇数ラインと偶数ラインWhen the above detection signal is received, the odd line and even line
のフィールドの画像信号の内、電荷の蓄積期間内に撮像Of the field image signal within the charge accumulation period
されたフィールドの画像信号を出力することを特徴とすOutputting an image signal of the selected field.
る移動物体の撮像方法。Imaging method for moving objects.
JP5208232A 1993-07-30 1993-07-30 Moving object imaging apparatus and imaging method Expired - Fee Related JP2809297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5208232A JP2809297B2 (en) 1993-07-30 1993-07-30 Moving object imaging apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5208232A JP2809297B2 (en) 1993-07-30 1993-07-30 Moving object imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JPH0746485A JPH0746485A (en) 1995-02-14
JP2809297B2 true JP2809297B2 (en) 1998-10-08

Family

ID=16552846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5208232A Expired - Fee Related JP2809297B2 (en) 1993-07-30 1993-07-30 Moving object imaging apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP2809297B2 (en)

Also Published As

Publication number Publication date
JPH0746485A (en) 1995-02-14

Similar Documents

Publication Publication Date Title
US20070103675A1 (en) Method and an apparatus for simultaneous 2D and 3D optical inspection and acquisition of optical inspection data of an object
JP2000266691A (en) Visual examination apparatus
JP2012070089A (en) Image reader
EP0532259A2 (en) A method of and an apparatus for picking up an image of the surface of an object to be inspected
JP2809297B2 (en) Moving object imaging apparatus and imaging method
JP2002086690A (en) Blanket inspecting device
JPH08313454A (en) Image processing equipment
JP2000123152A (en) Image input device
JPH05107038A (en) Image sensing apparatus
JP2005274325A (en) Optical type defect inspection method for metal band
JP2692535B2 (en) Solid-state imaging device for capturing strobe images
JP3147344B2 (en) Printed character inspection apparatus and printed character inspection method
JP2023150908A (en) detection system
JP2001101416A (en) Device and method for processing image and inspecting method
JPH0996613A (en) Method and apparatus for inspecting hot stamped printing
JPH0943054A (en) Image processor
JPH07111621A (en) Image pickup device
JP2001076148A (en) Method and device for inspecting defect on object surface
JPH0998348A (en) Image processing system and image processing method
JP2002304922A (en) Inspection method and inspection device for flat cable
JPH1019527A (en) Device and method for inspecting image of electric component
JPH0721825B2 (en) Image capture device
JP2926890B2 (en) Image processing device
JPS58132650A (en) Method of detecting defect and device thereof
JPH10126684A (en) Image pickup device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980702

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees