JPH0746382B2 - Image processing method - Google Patents

Image processing method

Info

Publication number
JPH0746382B2
JPH0746382B2 JP63013599A JP1359988A JPH0746382B2 JP H0746382 B2 JPH0746382 B2 JP H0746382B2 JP 63013599 A JP63013599 A JP 63013599A JP 1359988 A JP1359988 A JP 1359988A JP H0746382 B2 JPH0746382 B2 JP H0746382B2
Authority
JP
Japan
Prior art keywords
edge
edge position
image
detection
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.)
Expired - Fee Related
Application number
JP63013599A
Other languages
Japanese (ja)
Other versions
JPH01189776A (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.)
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

Description

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

〔従来の技術〕[Conventional technology]

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

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

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

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

〔課題を解決するための手段〕[Means for Solving the Problems]

このため本発明の画像処理方法は、検出対象物が画像検
出用カメラの走査方向に対し垂直方向に移動しつつ画像
検出用カメラからの輝度信号を基に検出対象物のエッジ
を検出する装置に於いて、検出開始時に、二次元の全入
力画像データについて、検出物の移動方向への加算処理
を実施して二次元画像データを一次元データに変換し、
次に移動方向に対し垂直な方向に微分処理を実施して検
出対象物のエッジ検出を実施し、エッジを検出した後
は、前回検出したエッジ位置と前々回検出したエッジ位
置からエッジの移動速度を計算すると共に、画像取り込
み周期と同速度を乗算して移動量を求め、これを前回エ
ッジ位置に加えて今回の推定エッジ位置を求め、更に、
上記エッジ移動速度の最大値を基に予め設定した有効デ
ータ幅Nを上記推定エッジ位置に加減算して今回の処理
範囲を決定してエッジ位置を求めるための処理を実施す
ることで、高速にエッジを検出すると共にエッジの移動
に追従した検出を可能としたことを特徴としている。
Therefore, the image processing method of the present invention is applied to a device for detecting an edge of a detection target object based on a luminance signal from the image detection camera while the detection target object moves in a direction perpendicular to the scanning direction of the image detection camera. At the start of detection, for all the two-dimensional input image data, addition processing in the moving direction of the detected object is performed to convert the two-dimensional image data into one-dimensional data,
Next, differential processing is performed in the direction perpendicular to the moving direction to detect the edge of the detection target, and after detecting the edge, the moving speed of the edge is calculated from the edge position detected last time and the edge position detected two times before. Along with the calculation, the image capture period and the same speed are multiplied to obtain the movement amount, which is added to the previous edge position to obtain the estimated edge position of this time, and further,
The effective data width N set in advance based on the maximum value of the edge moving speed is added to or subtracted from the estimated edge position to determine the processing range this time, and the processing for obtaining the edge position is performed, so that the edge speed is increased. It is characterized in that it is possible to detect and follow the movement of the edge.

〔作用〕[Action]

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

画像検出用カメラの走査方向に対し垂直方向に移動する
検出対象物とその周囲との輝度差が十分にあり、しかも
検出対象物のカメラ走査方向への移動量がカメラの検出
幅に比べて十分に小さい場合は、先づ検出開始時に全輝
度データに対し画像処理を実施し、エツジを検出した後
は、前回検出したエツジ位置に同位置のカメラ走査方向
への変化速度にサンプリング時間を乗じた値を加えた位
置を、今回の推定エツジ位置と見做して、同推定エツジ
位置を中心に、ソフトウエアで変更可能な有効データ幅
N分のデータに対して画像処理を施す事により、正確な
エツジ位置を短時間に検出でき全データについて画像処
理を施した場合と同様の効果を得られしかもソフトウエ
ア処理でも十分に高速な処理を実現できるものである。
There is a sufficient brightness difference between the detection target that moves in the direction perpendicular 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 detection width of the camera. If it is small, image processing is performed on all brightness data at the beginning of detection, and after detecting an edge, the edge position detected last time is multiplied by the change speed in the camera scanning direction at the same position by the sampling time. The position to which the value is added is regarded as the estimated edge position this time, and image processing is performed on the data for the effective data width N that can be changed by software, centered on the estimated edge position, and thus accurate The edge position can be detected in a short time, and the same effect as in the case where the image processing is performed on all the data can be obtained, and the software processing can realize a sufficiently high-speed processing.

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

〔実施例〕〔Example〕

以下本発明の一実施例の画像処理方法について第1図に
より説明すると第1図は画像検出用カメラと検出対象物
(帯状)の位置関係及び、カメラの走査方向と検出対象
物の移動方向の関係を示したものである。第1図中1
は、画像検出用カメラ、2はカメラ走査方向、3は検出
対象物、4は検出対象物の移動方向を示すものである。
An image processing method according to an embodiment of the present invention will be described below with reference to FIG. 1. FIG. 1 shows the positional relationship between the image detection camera and the detection target (strip), and the scanning direction of the camera and the moving direction of the detection target. It shows the relationship. 1 in FIG. 1
Is a camera for image detection, 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図である。第2図中、5は前回のエツジ位置と
エツジ位置のカメラ走査方向への変化速度より求めた今
回の推定エツジ位置を示し、Nは、ソフトウエアで設定
される有効データ幅である。これら第1,第2図に基づい
て本発明の作用を従来技術と比較しながら説明すると、
通常第2図のグラフに示す輝度の急峻な傾き部分(エツ
ジ部分)は、カメラからの輝度信号中のどこに存在する
か定かでない。そのため従来は、全輝度データを画像処
理の対象としてきた。このため、輝度データのデータ長
が8bitで走査方向の分解能が512点の場合、仮にノイズ
除去のために10ライン分のデータの平均を取るとする
と、512×8×10=5120byte(1byte=8bit)分のデータ
を処理する必要があり、処理速度を落す要因となつてい
た。
The luminance signal from the image detection camera 1 installed at the position as shown in FIG. 1 is converted from analog to digital, and the scanning direction of the camera 1 is plotted on the horizontal axis and the luminance is plotted on the vertical axis. Is. In FIG. 2, reference numeral 5 denotes the current edge position and the current estimated edge position obtained from the changing speed of the edge position in the camera scanning direction, and N is the effective data width set by software. The operation of the present invention will be described with reference to FIGS. 1 and 2 while comparing it with the prior art.
Usually, it is not clear where the steeply sloping portion (edge portion) of the luminance shown in the graph of FIG. 2 exists in the luminance signal from the camera. Therefore, conventionally, all luminance data has been the target of image processing. Therefore, if the data length of the luminance data is 8 bits and the resolution in the scanning direction is 512 points, assuming that the data of 10 lines is averaged for noise removal, 512 x 8 x 10 = 5120 bytes (1 byte = 8 bits ) Data must be processed, which is a factor that slows down the processing speed.

そこで本発明では、エッジ位置検出開始時に、全輝度デ
ータについて画像処理を施すため二次元の全入力画像デ
ータについて、検出物の移動方向への加算処理を実施し
て二次元画像データを一次元データに変換し、次に移動
方向に対し垂直な方向に微分処理を実施して検出対象物
のエッジ検出を実施する。このようにして一旦対象物の
エッジを検出した後は、前回検出したエッジ位置と前々
回検出したエッジ位置からエッジの移動速度を計算する
と共に、画像取り込み周期と同速度を乗算して移動量を
求め、これを前回エッジ位置に加えて今回の推定エッジ
位置を求める。
Therefore, in the present invention, since image processing is performed on all luminance data at the start of edge position detection, addition processing in the moving direction of the detected object is performed for all two-dimensional input image data to convert the two-dimensional image data into one-dimensional data. Then, the differential processing is performed in the direction perpendicular to the moving direction to detect the edge of the detection target. After the edge of the object is once detected in this way, the moving speed of the edge is calculated from the previously detected edge position and the edge position detected two times before, and the moving amount is calculated by multiplying the same by the image capturing cycle. , And this is added to the previous edge position to obtain the current estimated edge position.

更に上記エッジ移動速度の最大値を予め設定した有効デ
ータ幅Nを上記推定エッジ位置に加減算して今回の処理
範囲を決定してエッジ位置を求めるための処理を実施す
ることで、高速にエッジを検出すると共にエッジの移動
に追従した検出を可能とし、画像処理の対象となる輝度
データを検出対象物の走査方向の移動速度により算出さ
れるNX2まで削減でき、ソフトウェアで処理しても十分
な処理速度を得られ、かつエッジ検出精度も従来の全輝
度データに対して画像処理を施した場合と同じ精度に保
つ事が可能である。
Further, the effective data width N in which the maximum value of the edge moving speed is set in advance is added to or subtracted from the estimated edge position to determine the processing range this time, and the processing for obtaining the edge position is performed, so that the edge is quickly detected. It is possible to detect and follow the movement of the edge, and reduce the brightness data that is the target of image processing up to NX2 calculated by the moving speed of the detection target in the scanning direction. The speed can be obtained, and the edge detection accuracy can be maintained at the same accuracy as when the image processing is performed on the conventional all-luminance data.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明の画像処理方法によれば次に示
す効果が得られる。
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 the detection object that moves in the direction perpendicular to the scanning direction of the image detection camera, the edge position of the previous detection and the edge scanning position High-speed and high-accuracy edge detection by software is performed by using the corrected edge position as the estimated edge position this time and performing image processing only on the luminance data for the effective data width N centering on the estimated edge position. Made possible.

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

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

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】検出対象物が画像検出用カメラの走査方向
に対し垂直方向に移動しつつ画像検出用カメラからの輝
度信号を基に検出対象物のエッジを検出する装置に於い
て、検出開始時に、二次元の全入力データについて、検
出物の移動方向への加算処理を実施して二次元画像デー
タを一次元データに変換し、次に移動方向に対し垂直な
方向に微分処理を実施して検出対象物のエッジ検出を実
施し、エッジを検出した後は、前回検出したエッジ位置
と前々回検出したエッジ位置からエッジの移動速度を計
算すると共に、画像取り込み周期と同速度を乗算して移
動量を求め、これを前回エッジ位置に加えて今回の推定
エッジ位置を求め、更に上記エッジ移動速度の最大値を
基に予め設定した有効データ幅Nを上記推定エッジ位置
に加減算して今回の処理範囲を決定してエッジ位置を求
めるための処理を実施することで、高速にエッジを検出
すると共にエッジの移動に追従した検出を可能としたこ
とを特徴とする画像処理方法。
1. An apparatus for detecting an edge of a detection target based on a luminance signal from the image detection camera while the detection target moves in a direction perpendicular to a scanning direction of the image detection camera. Sometimes, the two-dimensional input data is added to the moving direction of the detected object to convert the two-dimensional image data into one-dimensional data, and then the differential processing is performed in the direction perpendicular to the moving direction. Edge detection of the detection target is performed, and after detecting the edge, the moving speed of the edge is calculated from the previously detected edge position and the edge position detected two times before, and the moving speed is multiplied by the same speed as the image capture cycle. The amount is calculated, this is added to the previous edge position to obtain the estimated edge position this time, and the effective data width N preset based on the maximum value of the edge moving speed is added to or subtracted from the estimated edge position to obtain the current value. Determines the processing range by performing the process for determining the edge position, an image processing method is characterized in that it possible to detect that follows the movement of the edge detects the edge at a high speed.
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 JPH01189776A (en) 1989-07-28
JPH0746382B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5404141B2 (en) * 2008-06-13 2014-01-29 キヤノン株式会社 Ultrasonic device and control method thereof

Also Published As

Publication number Publication date
JPH01189776A (en) 1989-07-28

Similar Documents

Publication Publication Date Title
JPH0810132B2 (en) Target pattern rotation angle detection method
JPH0746382B2 (en) Image processing method
JPS6151242B2 (en)
JP3197396B2 (en) Moving object determination method and apparatus
JP3632088B2 (en) Vehicle detection method
JP2982287B2 (en) Character string detection method, character string detection device, character string reading method, and character string reading device
JPH0155630B2 (en)
JPH07325906A (en) Detecting and tracking device for moving body
JP2825359B2 (en) Pattern recognition method
JP2515142B2 (en) Groove detection method by image processing
JPS6149277A (en) Picture processing device
JPH0757080A (en) Adaptive binarization control system
JP2959017B2 (en) Circular image discrimination method
JP2638147B2 (en) Magnetic head gap position recognition method
JP2514257B2 (en) Road guide line feature calculation point setting device
JP3278568B2 (en) Recognition method of bonding wire
JP2517565Y2 (en) Position detection device with spatial filter
JPS6016672B2 (en) Object detection method and device
JP2704933B2 (en) Image processing position detection method
JP3228643B2 (en) Edge position detection device
JPH0687264B2 (en) Image binarization method
JPH06215136A (en) Picture processor
JPS5827279A (en) Video signal processing device
JPH03246777A (en) Pattern recognizing device
JPH02230472A (en) Binarizing circuit

Legal Events

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