JPH01189776A - Picture processing method - Google Patents

Picture processing method

Info

Publication number
JPH01189776A
JPH01189776A JP63013599A JP1359988A JPH01189776A JP H01189776 A JPH01189776 A JP H01189776A JP 63013599 A JP63013599 A JP 63013599A JP 1359988 A JP1359988 A JP 1359988A JP H01189776 A JPH01189776 A JP H01189776A
Authority
JP
Japan
Prior art keywords
edge position
detected
edge
camera
data
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.)
Granted
Application number
JP63013599A
Other languages
Japanese (ja)
Other versions
JPH0746382B2 (en
Inventor
Hirobumi Yoshikawa
博文 吉川
Yoshimi Oda
芳美 小田
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP63013599A priority Critical patent/JPH0746382B2/en
Publication of JPH01189776A publication Critical patent/JPH01189776A/en
Publication of JPH0746382B2 publication Critical patent/JPH0746382B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To detect an edge at high speed and with high accuracy by a software by using the correction of a preceding detecting edge position as an estimated edge position at this time after the edge position is detected at the time of starting of a detection. CONSTITUTION:When the edge of an object 3 to be detected moving vertically 4 to the scanning direction 2 of a picture detecting camera 1 is detected based on a luminance signal from a camera 1, a picture is processed on all luminance data initially at the time of starting the detection. Then, after the edge is detected, the position obtained by adding a value obtained by multiplying the change speed to the camera scanning direction 2 of the edge position by a sampling time to precedingly detected edge position is considered to be the estimated edge position of this time to process the picture centering the said estimated edge position. The picture is processed to the data of an effective data width capable of being changed by the software centering the said estimated edge position, thereby, the correct edge position can be detected in a short time to have a similar effect to that when the picture processing is executed to all the data. Thereby, a high speed processing can be executed by the software processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像検出用カメラからの輝度信号を基に、検
出対象物のエツジを検出する装置における画像処理方法
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing method in a device that detects edges of a detection target based on a luminance signal from an image detection camera.

〔従来の技術〕[Conventional technology]

従来一般にこの種装置に於ける画像検出用カメラからの
輝度信号から検出対象物のエツジを検出する方法として
は、画像検出用カメラからの輝度信号をアナログ−ディ
ジタル変換した後、いったん再読出し可能なメモリに記
憶し、全輝度データに対し、ノイズ除去やエツジ強調処
理等の各種画像処理を実施して検出対象物のエツジ位置
を検出していた。
Conventionally, in this type of device, the method of detecting the edge of a detection target from the luminance signal from the image detection camera is to convert the luminance signal from the image detection camera into an analog-to-digital format, which can then be read out again. The edge position of the object to be detected is detected by storing the data in memory and performing various image processing such as noise removal and edge enhancement processing on the total luminance data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで上記のような従来の方法においては、検出対象
物のエツジを検出するために多量の輝度データに対し、
ノイズ除去やエツジ強調処理といった画像処理を実施し
ていたため、ソフトウェアで処理した場合、多量の処理
時間を要する不具合があった。このため、対象物が高速
で移動しているような場合、画像処理をハードウェア(
電子回路)で構成する方法が一般に用いられていたが、
この方法は、処理内容の変更/追加等への対応が十分に
できないという不具合を有していた。
By the way, in the conventional method as described above, in order to detect the edges of the detection target, a large amount of luminance data is
Since image processing such as noise removal and edge enhancement processing was performed, there was a problem in that it required a large amount of processing time when processed using software. Therefore, when an object is moving at high speed, image processing is performed using hardware (
The method of configuring it with electronic circuits was generally used, but
This method has a problem in that it cannot adequately handle changes/additions to processing contents.

本発明は検出対象物が帯状のような単純な形状のものに
ついての画像処理に関し上記不具合を解決した新たな画
像処理方法を提供しようとするものである。
The present invention aims to provide a new image processing method that solves the above-mentioned problems regarding image processing of a detection target having a simple shape such as a strip.

〔課題を解決するだめの手段〕[Failure to solve the problem]

このため本発明の画像処理方法は、検出対象物が画像検
出用カメラの走査方向に対し垂直方向に移動しつつ画像
検出用カメラからの輝度信号を基に検出対象物のエツジ
を検出する装置に於て、検出開始時に先づ全輝度データ
について画像処理を実施し、エツジを検出した後は、次
ぎに前回のエツジ位置に同位置のカメラ走査方向への変
化速度にサンプリング時間を乗じた値を加えた位置を今
回の推定エツジ位置と見做して同推定エツジ位置を中心
にソフトウェアで変更可能な有効データ幅8分のデータ
に対して画像処理を施すようにしたことを特徴としてい
る。
Therefore, the image processing method of the present invention is applicable to a device that detects the edge of a detection target based on the luminance signal from the image detection camera while the detection target moves in a direction perpendicular to the scanning direction of the image detection camera. At the start of detection, image processing is first performed on all luminance data, and after an edge is detected, the next step is to calculate the value obtained by multiplying the previous edge position by the rate of change in the camera scanning direction at the same position multiplied by the sampling time. The added position is regarded as the current estimated edge position, and image processing is performed on data with an effective data width of 8 minutes, which can be changed by software, around the estimated edge position.

〔作用〕 本来、ノイズ除去やエツジ強調処理といった画像処理は
、対象物のエツジを精度良く検出するために実施される
ものであるが、画像検出用カメラから入力される輝度デ
ータ全てに対して実施される必要性はない。特に対象物
が帯状のような単純な形状のものについては、エツジ付
近の限られた範囲のデータについてのみ実施すればよい
[Operation] Image processing such as noise removal and edge enhancement processing is originally performed to accurately detect the edges of an object, but it is not necessary to perform it on all luminance data input from the image detection camera. There is no need for it to be done. In particular, when the object has a simple shape such as a band, it is only necessary to perform the process on data in a limited range near the edge.

画像検出用カメラの走査方向に対し垂直方向に移動する
検出対象物とその周囲との輝度差が十分にあり、しかも
検出対象物のカメラ走査方向への移動量がカメラの検出
幅に比べて十分に小さい場合は、先づ検出開始時に全輝
度データに対し画像処理を実施し、エツジを検出した後
は、前回検出したエツジ位置に同位置のカメラ走査方向
への変化速度にサンプリング時間を乗じた値を加えた位
置を、今回の推定エツジ位置と見做して、同推定エツジ
位置を中心に、ソフトウェアで変更可能な有効データ幅
8分のデータに対して画像処理を施す事により、正確な
エツジ位置を短時間に検出でき全データについて画像処
理を施した場合と同様の効果を得られしかもソフトウェ
ア処理でも十分に高速な処理を実現できるものである。
There is a sufficient brightness difference between the detection target moving perpendicularly to the scanning direction of the image detection camera and its surroundings, and the amount of movement of the detection target in the camera scanning direction is sufficient compared to the camera detection width. If the edge is small, image processing is first performed on all luminance data at the start of detection, and after the edge is detected, the sampling time is multiplied by the rate of change in the camera scanning direction of the previously detected edge position. The position to which the value has been added is regarded as the current estimated edge position, and image processing is performed on the data with an effective data width of 8 minutes, which can be changed using software, with the estimated edge position as the center. The edge position can be detected in a short time, the same effect as when image processing is applied to all data can be obtained, and the software processing can also realize sufficiently high-speed processing.

これによシ多量の輝度信号のディジタル変換データ中よ
シ有効なデータ部分を抽出することで、抽出後に実施さ
れる画像処理の対象となる輝度データ数を削減でき、画
像処理をソフトウェアで実行した場合でも、検出対象物
の移動速度に比べ十分な高速の画像処理速度が得られ、
しかもエツジの検出精度を、従来の全データに対して画
像処理を実施した場合と同じに保つことが可能となった
By extracting effective data from a large amount of digitally converted luminance data, it is possible to reduce the number of luminance data that is subject to image processing after extraction, and it is possible to perform image processing using software. Even in cases where the image processing speed is sufficiently high compared to the moving speed of the detection target,
Moreover, it is now possible to maintain the same edge detection accuracy as when conventional image processing is performed on all data.

〔実施例〕〔Example〕

以下本発明の一実施例の画像処理方法について第1図に
よシ説明すると第1図は画像検出用カメラと検出対象物
(帯状)の位置関係及び、カメラの走査方向と検出対象
物の移動方向の関係を示したものである。第1図中1は
、画像検出用カメラ、2はカメラ走査方向、3は検出対
象物、4は検出対象物の移動方向を示すものである。
The image processing method according to an embodiment of the present invention will be explained below with reference to Fig. 1. Fig. 1 shows the positional relationship between the image detection camera and the object to be detected (band-shaped), and the scanning direction of the camera and the movement of the object to be detected. This shows the relationship in direction. In FIG. 1, 1 is an image detection camera, 2 is a camera scanning direction, 3 is an object to be detected, and 4 is a moving direction of the object to be detected.

第1図のような位置に設置された画像検出用カメラ1か
らの輝度信号を、アナログ−ディジタル変換し、カメラ
1の走査方向を横軸、輝度を縦軸としてグラフ化したも
のが第2図である。
Figure 2 is a graph of the luminance signal from the image detection camera 1 installed at the position shown in Figure 1 converted from analog to digital, with the scanning direction of the camera 1 as the horizontal axis and the luminance as the vertical axis. It is.

第2図中、5は前回のエツジ位置とエツジ位置のカメラ
走査方向への変化速度よシ求めた今回の推定エツジ位置
を示し、Nは、ソフトウェアで設定される有効データ幅
である。これら第1゜第2図に基づいて本発明の作用を
従来技術と比較しながら説明すると、通常第2図のグラ
フに示す輝度の急峻な傾き部分(エツジ部分)は、カメ
ラからの輝度信号中のどこに存在するか定かでない。そ
のため従来は、全輝度データを画像処理の対象としてき
た。このため、輝度データのデータ長が8 bitで走
査方向の分解能が512点の場合、仮にノイズ除去のた
めに10ライン分のデータの平均を取るとすると、51
2X8X10=5120byte (lbyte =8
bij)  分のデータを処理する必要があり、処理速
度を落す要因となっていた。
In FIG. 2, 5 indicates the current estimated edge position determined from the previous edge position and the rate of change of the edge position in the camera scanning direction, and N is the effective data width set by software. To explain the effect of the present invention while comparing it with the conventional technology based on these figures 1 and 2, the steeply sloped part (edge part) of the luminance shown in the graph of Fig. 2 is usually found in the luminance signal from the camera. It is unclear where it exists. Therefore, conventionally, total brightness data has been subjected to image processing. For this reason, if the data length of luminance data is 8 bits and the resolution in the scanning direction is 512 points, then if we take the average of 10 lines of data to remove noise, it will be 512 points.
2X8X10=5120byte (lbyte =8
bij) had to be processed, which was a factor slowing down the processing speed.

そこで、本発明では、エツジ位置検出開始時に全輝度デ
ータについて画像処理を実施し、エツジ位置を検出した
後は、前回のエツジ位置とエツジ位置の走査方向の変化
速度にサンプリング時間を乗じたものを今回の推定エツ
ジ位置(第2図中の5)と見なし、同推定エツジ位置を
中心にソフトウェアで変更可能な有効データ幅N分の輝
度データに対してのみ画像処理を実施する事で、画像処
理の対象となる輝度データを検出対象物の走査方向の移
動速度によシ算出されるN×2″i!で削減できソフト
ウェアで処理しても十分な処理速度を得られ、かつエツ
ジ検出精度も従来の全輝度データに対して画像処理を施
した場合と同じ精度に保つ事が可能である。
Therefore, in the present invention, image processing is performed on all luminance data at the start of edge position detection, and after the edge position is detected, the previous edge position and the rate of change in the scanning direction of the edge position are multiplied by the sampling time. The current estimated edge position (5 in Figure 2) is assumed to be the current estimated edge position, and image processing is performed only on the luminance data for the effective data width N, which can be changed by software, with the estimated edge position as the center. The luminance data to be detected can be reduced by N x 2"i!, which is calculated based on the moving speed of the object to be detected in the scanning direction. Sufficient processing speed can be obtained even when processed by software, and edge detection accuracy can also be achieved. It is possible to maintain the same accuracy as when conventional image processing is applied to all luminance data.

〔発明の効果〕〔Effect of the invention〕

以上述べたように本発明の画像処理方法によれば次に示
す効果が得られる。
As described above, according to the image processing method of the present invention, the following effects can be obtained.

(1)本発明の方法に於ては画像検出用カメラの走査方
向に対し垂直方向に移動する検出対象物のエツジを検出
するために、前回の検出エツジ位置とそのエツジ位置の
カメラ走査方向の変化速度によシ補正したものを今回の
推定エツジ位置として用い同推定エツジ位置を中心に有
効なデータ幅N分の輝度データのみに対し画像処理を実
施することでソフトウェアによる高速・高精度のエツジ
検出を可能とした。
(1) In the method of the present invention, in order to detect the edge of a detection target moving in a direction perpendicular to the scanning direction of the image detection camera, the previous detection edge position and the camera scanning direction of the edge position are By using the estimated edge position that has been corrected according to the rate of change as the current estimated edge position and performing image processing on only the luminance data for the valid data width N with the estimated edge position as the center, high-speed and high-accuracy edge positioning can be achieved using software. This made detection possible.

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

第1図は本発明の一実施例の画像検出用カメラと検出対
象物との関連配置状態を示す平面図、第2図は画像検出
用カメラからの輝度信号をアナログ−ディジタル変換し
たものを、カメラの走査方向を横軸に、輝度を縦軸とし
て示したグラフ説明図である。 1・・・画像検出用カメラ、2・・・カメラ走査方向、
3・・・検出対象物、4・・・検出対象物移動方向、5
・・・推定エツジ位置、N・・・有効データ幅。
FIG. 1 is a plan view showing the relative arrangement of an image detection camera and a detection target according to an embodiment of the present invention, and FIG. 2 shows a luminance signal from the image detection camera converted from analog to digital. It is a graph explanatory diagram showing the scanning direction of the camera as the horizontal axis and the luminance as the vertical axis. 1... Image detection camera, 2... Camera scanning direction,
3... Detection target object, 4... Detection target object moving direction, 5
...Estimated edge position, N...Valid data width.

Claims (1)

【特許請求の範囲】[Claims] 1、検出対象物が画像検出用カメラの走査方向に対し垂
直方向に移動しつつ画像検出用カメラからの輝度信号を
基に検出対象物のエッジを検出する装置に於て、検出開
始時に先づ全輝度データについて画像処理を実施し、エ
ッジを検出した後は、次ぎに前回のエッジ位置に同位置
のカメラ走査方向への変化速度にサンプリング時間を乗
じた値を加えた位置を今回の推定エッジ位置と見做して
、同推定エッジ位置を中心にソフトウェアで変更可能な
有効データ幅N分のデータに対して画像処理を施すよう
にしたことを特徴とする画像処理方法。
1. In a device that detects the edge of a detection target based on a luminance signal from an image detection camera while the detection target moves in a direction perpendicular to the scanning direction of the image detection camera, After performing image processing on all luminance data and detecting edges, the next estimated edge position is the previous edge position plus the value obtained by multiplying the rate of change in the camera scanning direction at the same position by the sampling time. An image processing method characterized in that image processing is performed on data having an effective data width N that can be changed by software, with the estimated edge position as the center, which is regarded as a position.
JP63013599A 1988-01-26 1988-01-26 Image processing method Expired - Fee Related JPH0746382B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63013599A JPH0746382B2 (en) 1988-01-26 1988-01-26 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63013599A JPH0746382B2 (en) 1988-01-26 1988-01-26 Image processing method

Publications (2)

Publication Number Publication Date
JPH01189776A true JPH01189776A (en) 1989-07-28
JPH0746382B2 JPH0746382B2 (en) 1995-05-17

Family

ID=11837672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63013599A Expired - Fee Related JPH0746382B2 (en) 1988-01-26 1988-01-26 Image processing method

Country Status (1)

Country Link
JP (1) JPH0746382B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010017530A (en) * 2008-06-13 2010-01-28 Canon Inc Ultrasonic apparatus and control method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010017530A (en) * 2008-06-13 2010-01-28 Canon Inc Ultrasonic apparatus and control method therefor

Also Published As

Publication number Publication date
JPH0746382B2 (en) 1995-05-17

Similar Documents

Publication Publication Date Title
KR930002906B1 (en) Contour compensation circuit
JPH01189776A (en) Picture processing method
JPS6151242B2 (en)
JP2585223B2 (en) Mark position detecting device in electronic beam exposure apparatus
JP3327600B2 (en) Pattern defect inspection method and apparatus
JP3197396B2 (en) Moving object determination method and apparatus
JPH0530406A (en) Object tracing device
JPH02268372A (en) Mark detecting method
JP3423604B2 (en) Shading correction apparatus, method, and computer-readable storage medium
JP3191373B2 (en) Pattern recognition method
JP2947994B2 (en) Binary filter device
JPH0686293A (en) Image tracking device
JPH08145908A (en) Meander follow-up system in defect inspection equipment
JP2515142B2 (en) Groove detection method by image processing
JP2803065B2 (en) Inspection equipment for periodic patterns
JPH03117190A (en) Movement detection circuit
JPS61192175A (en) Ghost eliminating device
JPH03246777A (en) Pattern recognizing device
JP3334316B2 (en) Image matching method and apparatus
JPS6149277A (en) Picture processing device
JPS5827279A (en) Video signal processing device
JPS6316900B2 (en)
JPH0683440B2 (en) Motion detection device for television signals
JPS60261199A (en) Device for correcting inclination of electronic part
JPS62237589A (en) Binary-coding device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees