JPH036982A - Method and apparatus for positioning still picture of travelling object - Google Patents

Method and apparatus for positioning still picture of travelling object

Info

Publication number
JPH036982A
JPH036982A JP14193689A JP14193689A JPH036982A JP H036982 A JPH036982 A JP H036982A JP 14193689 A JP14193689 A JP 14193689A JP 14193689 A JP14193689 A JP 14193689A JP H036982 A JPH036982 A JP H036982A
Authority
JP
Japan
Prior art keywords
image
value
window
address
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.)
Pending
Application number
JP14193689A
Other languages
Japanese (ja)
Inventor
Kiyoshi Yoshizawa
吉沢 清
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.)
Nireco Corp
Original Assignee
Nireco 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 Nireco Corp filed Critical Nireco Corp
Priority to JP14193689A priority Critical patent/JPH036982A/en
Publication of JPH036982A publication Critical patent/JPH036982A/en
Pending legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

PURPOSE:To reduce the picture processing time at standstill to a desired location by comparing a schedule value and a measured value of a prescribed period of a same characteristic body represented on the surface of a strip object moving at a prescribed speed at a prescribed period and setting a vertical address of a picture of the picture memory to a start address when they are coincident and adding/subtracting a prescribed value to/from the scheduled value. CONSTITUTION:A scheduled value of a period of a same characteristic body appearing at the surface of strip object is set to a scheduled period setting device 10 and inputted to a comparator 50 via an addition/subtractor 20. On the other hand, a pulse generator 30 outputs a measured value of a component 31 in interlocking with a travelling body as a pulse, it is counted by a counter 40 and inputted to the comparator 50. The comparator 60 compares the scheduled value with an actual measurement and outputs a coincidence signal when they are coincident. A picture memory 90 inputs a picture signal and stores the signal to an address represented by outputs of vertical and horizontal address counters 60, 80. A in- window difference detection means 130 detects a difference between a prescribed picture of a characteristic body in the window and the reference line and inputs the difference to a subtractor 20. Then the value of the adder/subtractor 20 and the content of the counter 40 are made coincident.

Description

【発明の詳細な説明】 〔産業上の利用分野] 本発明は走行体の静止画像位置決め方法および装置に係
わり、特にラインセンサを用いて周期的に表れる絵柄等
を擢いた移動物体の絵柄等を静止画像として表示する方
法および装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a still image positioning method and device for a moving object, and in particular to a method and apparatus for positioning a still image of a moving object. The present invention relates to a method and apparatus for displaying a still image.

〔従来の技術] 高速で移動する帯状物体の表面に描かれた絵柄を品質管
理、検査、あるいは計測または絵柄各部分の色調の整合
などの目的のためにラインセンサカメラを用いて画像メ
モリに取り込み画像表示する場合、画像メモリへ絵柄を
取り込む開始のタイミングを絵柄の位置に合わせて行わ
ないと画像メモリ上の目的のアドレスに絵柄が取り込ま
れない。従来は絵柄を画像メモリに取り込む際の取り込
み開始のタイミングを帯状物体の余白に印刷されたマー
クを読み取ることによって行ってきた。あるいは、印刷
されたマークを使わずに帯状物体の移動するライン上の
フィードロールに設けられたパルス発生器の発生するパ
ルス数をカウントして、これを絵柄の周期に相当するパ
ルス数と比較することにより画像読み取りの大まかなタ
イミングをとって取り込まれた絵柄の画像をアフィン変
換の手段によって画像メモリ上の絵柄の位置を移動させ
て目的の位置に合わせていた。
[Prior art] A line sensor camera is used to capture a pattern drawn on the surface of a strip-shaped object moving at high speed into an image memory for purposes such as quality control, inspection, measurement, or color matching of each part of the pattern. When displaying an image, the timing to start capturing the picture into the image memory must be matched to the position of the picture, otherwise the picture will not be captured at the desired address on the image memory. Conventionally, the timing at which to start capturing a pattern into an image memory has been determined by reading marks printed on the margins of a strip-shaped object. Alternatively, without using printed marks, count the number of pulses generated by a pulse generator installed on a feed roll on the line along which the strip-shaped object moves, and compare this with the number of pulses corresponding to the period of the pattern. As a result, the position of the pattern on the image memory is moved by means of affine transformation of the image of the pattern captured at the rough timing of image reading, and adjusted to the desired position.

〔発明が解決しようとする課題] しかし、近年省資源及びコストの低減等の目的のため帯
状物体の余白面積は減少する傾向にあり、マークを用い
ない方式の開発が望まれている。
[Problems to be Solved by the Invention] However, in recent years, there has been a tendency for the margin area of band-shaped objects to decrease in order to save resources and reduce costs, and there is a desire to develop a method that does not use marks.

又画像メモリに取り込まれた絵柄をアフィン変換等の手
段で補正する方式は処理に時間がかかりオンラインでの
目的には、適用が困難であった。
Furthermore, the method of correcting the image captured in the image memory by means such as affine transformation takes a long time to process and is difficult to apply for online purposes.

本発明の目的は、これらの欠点を除き、高速で移動する
帯状物体からリアルタイムに絵柄を目的とする画像メモ
リの位置に取り込む方法および装置を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate these drawbacks and provide a method and apparatus for capturing a picture from a strip-shaped object moving at high speed in real time into a target image memory location.

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

上記目的を達成するために、周期的に表れる特徴体の計
画周期と実測周期とが一致していれば静止画像となるこ
とから、表示画面上での画像の位置と移動量に応じた修
正を行い所望の位置に静止画像を得るようにすればよく
、本発明の走行体の静止画像位置決め方法は、所定速度
で移動する帯状物体の表面に一定の周期で表される同一
特徴体をラインセンサカメラで撮像し画像メモリに取り
込んだ後画像表示装置に静止画像として表示する走行体
の静止画像の位置決め方法において、前記一定の周期の
計画値と実測値とを比較し、一致した時前記画像メモリ
の画像の上記帯状物体の移動方向を表示する垂直方向の
アドレスを開始アドレスにセットし、所定の値を前記計
画値に加減算するようにしたことを特徴とするものであ
る。また、前記画像表示装置に走査線に平行な基準線を
有するウィンドウを設定し、該ウィンドウ内の前記特徴
体の所定画像部と前記基準線との垂直方向の差値を求め
、前記ウィンドウの設定位置を移動することより前記差
値を前記所定の値にするようにしてもよい、また、前記
所定画像部を2値画像とするとよい、また、本発明の走
行体の静止画像位置決め装置は、所定速度で移動する帯
状物体の表面に表れる同一特徴体の周期の計画値を設定
する計画周期設定器と、該計画周期設定器の出力に他の
入力を加減算する加減算器と、前記同一特徴体の表れる
周期の実測値を計測しパルスとして出力するパルス発生
器と、該パルス発生器の出力するパルスを計数するカウ
ンタと、該カウンタの出力と前記加′@算器の出力とを
比較し一致信号を出力する比較器と、該一致信号により
リセットし前記パルス発生器のパルスを計数する画像の
垂直アドレスカウンタと、前記同一特徴体を撮像して画
像信号を出力するとともに水平走査パルスを出力する画
像人力手段と、該水平走査パルスを計数する水平アドレ
スカウンタと、前記垂直アドレスカウンタと前記水平ア
ドレスカウンタの示すアドレスに前記画像入力手段の画
像信号を格納する画像メモリと、該画像メモリの出力を
表示する画像表示手段と、該画像表示手段に前記画像メ
モリの所望の内容を表示するための表示用アドレスを発
生するCRT制御手段と、該表示用アドレスを用いてウ
ィンドウを作成し前記画像メモリの表示画像と重ねて表
示すると共に走査線に平行な基準線をウィンドウに設定
するウィンドウ発生手段と、前記ウィンドウ内の前記特
徴体の所定画像部と前記基準線との垂直方向の差値を検
出し、前記加減算器に出力するウィンドウ内差値検出手
段とを備えたことを特徴とするものである。
In order to achieve the above purpose, if the planned period and the measured period of a feature object that appears periodically match, the image becomes a still image, so corrections are made according to the position of the image on the display screen and the amount of movement. The still image positioning method of a moving object according to the present invention uses a line sensor to detect the same feature object expressed at a constant period on the surface of a strip-shaped object moving at a predetermined speed. In a method for positioning a still image of a traveling object, which is captured by a camera, captured in an image memory, and then displayed as a still image on an image display device, the planned value and the actual measured value of the certain period are compared, and when they match, the image memory The present invention is characterized in that a vertical address indicating the moving direction of the band-shaped object in the image is set as a start address, and a predetermined value is added to or subtracted from the planned value. Further, a window having a reference line parallel to the scanning line is set in the image display device, a vertical difference value between a predetermined image portion of the feature object in the window and the reference line is determined, and the window is set. The difference value may be set to the predetermined value by moving the position, and the predetermined image portion may be a binary image; a planned period setting device that sets a planned value of the period of the same feature object appearing on the surface of a strip-shaped object moving at a predetermined speed; an adder/subtractor that adds or subtracts another input to the output of the planned period setting device; and the same feature object. A pulse generator that measures the actual measured value of the period in which appears and outputs it as a pulse, a counter that counts the pulses output from the pulse generator, and a comparison between the output of the counter and the output of the adder to find a match. a comparator that outputs a signal, an image vertical address counter that is reset by the matching signal and counts the pulses of the pulse generator, and that images the same feature object and outputs an image signal and horizontal scanning pulses. an image input means; a horizontal address counter for counting the horizontal scanning pulses; an image memory for storing the image signal of the image input means at addresses indicated by the vertical address counter and the horizontal address counter; a CRT control means for generating a display address for displaying desired contents of the image memory on the image display means; and a CRT control means for generating a display address for displaying the desired contents of the image memory on the image display means; window generating means for setting a reference line in a window that is superimposed on a display image and parallel to a scanning line; and detecting a vertical difference value between a predetermined image portion of the feature in the window and the reference line. , and intra-window difference value detection means for outputting to the adder/subtractor.

〔作 用〕[For production]

上記構成により、同一特徴体が一定の周期で表れる計画
値と実測値が一致した時画像メモリの垂直方向のアドレ
スを開始アドレスにセットするようにすると、計画値と
実測値が等しい時は静止画像として所定の位置に描画さ
れるが、等しくないとその差に応じて画像は上下方向に
移動する。そこで所定の値を計画値に加減算して計画値
と実測値を等しくすれば画像を所望の位置に静止させる
ことができる。
With the above configuration, if the vertical address of the image memory is set to the start address when the planned value and the measured value in which the same feature object appears at a certain period match, the static image will be displayed when the planned value and the measured value are equal. However, if they are not equal, the image will move up and down depending on the difference. Therefore, by adding or subtracting a predetermined value to the planned value to make the planned value and the actual measured value equal, the image can be stopped at a desired position.

この所定の値を決める方法として、画像表示装置に走査
線に平行な基準線を存するウィンドウを設定し、このウ
ィンドウ内の特徴体の所定画像部と前記基準線との垂直
方向の差値を求め、ウィンドウの設定位置を移動するこ
とにより、この差値の大きさを変えて、所定の値とすれ
ばよい、またこのとき特徴体の所定画像部を2値画像と
することにより差値を容易に求めることができる。
As a method for determining this predetermined value, a window with a reference line parallel to the scanning line is set on the image display device, and the difference value in the vertical direction between a predetermined image part of the feature object within this window and the reference line is calculated. By moving the setting position of the window, the size of this difference value can be changed to a predetermined value.In addition, by making the predetermined image part of the feature object a binary image, the difference value can be easily calculated. can be asked for.

次に走行体の静止画像位置の装置を第1図を用いて説明
する。第1図は本装置の基本構成を示す図である。帯状
物体の表面に表れる同一特徴体の周期の計画値を計画周
期設定器10に設定して加減算器20を介して比較器5
0に入力する。一方パルス発生器30が走行体と連動す
る部品31、例えばロール等に取り付けられており同一
特徴体の表れる実測値をパルスとして出力するとカウン
タ40で計数され比較器50に人力される。比較器50
では計画値と実測値とを比較して一致した時一致信号を
出力する。走行方向を表示する垂直アドレスカウンタ6
0でパルス発生器30よりのパルスを計数するが一致信
号が入力するとリセットする0画像入力手段70は人力
した画像信号を出力するとともに水平走査用パルスを出
力し、走行方向と直角な方向を表示する水平アドレスカ
ウンタ80はこの出力を人力して計数する0画像メモリ
90は画像信号を入力し垂直アドレスカウンタ60およ
び水平アドレスカウンタ80の出力の示すアドレスに格
納する0画像表示手段100は画像メモリ90に格納さ
れた画像信号を画像表示する。
Next, a device for determining the still image position of a traveling object will be explained with reference to FIG. FIG. 1 is a diagram showing the basic configuration of this device. The planned value of the period of the same characteristic object appearing on the surface of the strip-shaped object is set in the planned period setting device 10 and then sent to the comparator 5 via the adder/subtractor 20.
Enter 0. On the other hand, a pulse generator 30 is attached to a part 31 that is connected to the traveling body, such as a roll, and outputs actual measured values representing the same characteristic object as pulses, which are counted by a counter 40 and input manually to a comparator 50. Comparator 50
Then, the planned value and the actual measured value are compared, and when they match, a match signal is output. Vertical address counter 6 that displays the running direction
The image input means 70 counts the pulses from the pulse generator 30 at 0, but resets when a coincidence signal is input. The image input means 70 outputs a manually generated image signal and also outputs horizontal scanning pulses to display a direction perpendicular to the running direction. The horizontal address counter 80 manually counts this output. The 0 image memory 90 inputs the image signal and stores it at the address indicated by the outputs of the vertical address counter 60 and the horizontal address counter 80. The 0 image display means 100 uses the image memory 90. The image signal stored in the image signal is displayed as an image.

CRT@@手段1)0は画像メモリ9Gの所望の内容を
表示する表示用アドレスを発生し、ウィンドウ発生手段
120はこの表示用アドレスを用いてウィンドウを作成
し、画像メモリ90の表示画像と重ねて表示するととも
に、走査線に平行な基準線をウィンドウに設定する。ウ
ィンドウ内差値検出手段130はウィンドウ内の特徴体
の所定画像部と前記基準線との差値を検出し、これを加
減算器20に入力する。そして、cRT@御手段1)0
により、ウィンドウの位置を移動することにより前記差
値をコントロールすることができるので加減算器20の
値とカウンタ40の値を一致させることができるので静
止画像を得ることができる。
The CRT@@ means 1) 0 generates a display address for displaying the desired contents of the image memory 9G, and the window generating means 120 creates a window using this display address and overlaps the display image of the image memory 90. At the same time, a reference line parallel to the scanning line is set in the window. The intra-window difference value detection means 130 detects the difference value between a predetermined image portion of the feature object within the window and the reference line, and inputs this to the adder/subtractor 20. And cRT @ control means 1) 0
Since the difference value can be controlled by moving the position of the window, the value of the adder/subtractor 20 can be matched with the value of the counter 40, and a still image can be obtained.

〔実 施 例〕〔Example〕

以下、本発明の一実施例は第2図〜第4図を用いて説明
する。
An embodiment of the present invention will be described below with reference to FIGS. 2 to 4.

第2図は本実施例の構成を示すブロック図である。第1
図と同一記号は同一内容を表している。
FIG. 2 is a block diagram showing the configuration of this embodiment. 1st
The same symbols as in the figure represent the same content.

第2図において、10は帯状物体に同一周期で描かれた
絵柄の周期に相当するパルス数を設定する計画周期設定
器、20は計画周期設定器10の出力と他の出力との加
fi算を行う加減算器、30は帯状物体の移動するライ
ン上のフィードローラに取り付けられ移動速度に比例し
たパルス数を発生するパルス発生器、40はパルス発生
器30のパルス数を計数するカウンタ、50は加減算器
20とカウンタ40との値を比較し一致すると一致信号
としてリセット信号を発生する比較器、60はパルス発
生器30のパルス数を計算し、比較器50からのリセッ
ト信号で計数値をリセットする垂直アドレスカウンタ、
71はラインセンサカメラでビデオ信号を出力するとと
もに水平走査用クロック信号とリセット信号を出力する
。72はA/D変換器でビデオ信号のアナログ値をデジ
タル値に変換する。80はラインセンサカメラ71のク
ロック信号を計数し、リセット信号により計数値をリセ
ットする水平アドレスカウンタ、90は垂直アドレスカ
ウンタ60と水平アドレスカウンタ80の示すアドレス
にA/D変換器72よりのビデオ信号を格納する画像メ
モリ、101は画像メモリ90に格納したビデオ信号を
画像表示するCRTデイスプレィ、102は画像メモリ
90の画像信号をD/A変換するD/A変換器、1)1
はCRTデイスプレィ101に画像メモリ90の内容を
表示するための表示用アドレスを発生するCRTコント
ローラ、1)2はクロックである。121はCRTコン
トローラ1)1の発生する表示用アドレスを用いてウィ
ンドウの位置を設定するウィンドウ位置設定器、122
はウィンドウ位置設定器の指示によりウィンドウを発生
するウィンドウ発生器、123はウィンドウ発生器12
2により発生したウィンドウ内の画像を2値化する2値
化回路、124はウィンドウの高さ方向の中心位置にあ
る基準線を検出する中心検出器、131は、画像メモリ
90の垂直アドレスに対応して出力が決まる、垂直走査
周期を周期とする三角波を発生する三角波発生器、13
2はウィンドウの2値値化した特徴体の所定画像部をホ
ールドするサンプルホールド、133はウィンドウの基
準線をホールドするサンプルホールド、134はサンプ
ルホールド132.133の差をとる差動増幅器、13
5はA/D変換器、136は切換スイッチである。
In FIG. 2, 10 is a planned cycle setting device that sets the number of pulses corresponding to the period of a pattern drawn at the same period on a strip-shaped object, and 20 is a summation of the output of the planned period setting device 10 and other outputs. 30 is a pulse generator that is attached to a feed roller on the line along which the strip-shaped object moves and generates a number of pulses proportional to the moving speed; 40 is a counter that counts the number of pulses of the pulse generator 30; 50 is a A comparator that compares the values of the adder/subtractor 20 and the counter 40 and generates a reset signal as a match signal when they match. A comparator 60 calculates the number of pulses of the pulse generator 30 and resets the counted value with a reset signal from the comparator 50. vertical address counter,
A line sensor camera 71 outputs a video signal, as well as a horizontal scanning clock signal and a reset signal. 72 is an A/D converter that converts the analog value of the video signal into a digital value. 80 is a horizontal address counter that counts the clock signal of the line sensor camera 71 and resets the counted value by a reset signal; 90 is a video signal from the A/D converter 72 at the address indicated by the vertical address counter 60 and the horizontal address counter 80; 101 is a CRT display for displaying the video signal stored in the image memory 90 as an image; 102 is a D/A converter for D/A converting the image signal in the image memory 90; 1) 1
1) 2 is a CRT controller that generates a display address for displaying the contents of the image memory 90 on the CRT display 101; 1) 2 is a clock; Reference numeral 121 denotes a window position setting device for setting the window position using the display address generated by the CRT controller 1) 1;
123 is a window generator 12 that generates a window according to instructions from a window position setter;
2, a binarization circuit that binarizes the image within the window generated by 2; 124, a center detector that detects a reference line at the center position in the height direction of the window; 131, corresponding to the vertical address of the image memory 90; a triangular wave generator that generates a triangular wave whose period is the vertical scanning period, the output of which is determined by
Reference numeral 2 denotes a sample hold for holding a predetermined image portion of the binary-valued feature object of the window, 133 a sample hold for holding the reference line of the window, 134 a differential amplifier that takes the difference between the sample holds 132 and 133, 13
5 is an A/D converter, and 136 is a changeover switch.

次に動作について説明する。Next, the operation will be explained.

まず、切換スイッチ136を初期状IA側に切換える。First, the changeover switch 136 is switched to the initial state IA side.

ライン上を移動する帯状物体に描かれた絵柄の表れる周
期に相当するパルス発生器30の発生するパルス数を計
画周期設定器10に設定する。このとき加減算器20の
出力に絵柄の1周期間に相当する数値が表れる。
The number of pulses generated by the pulse generator 30 is set in the planned cycle setting device 10, which corresponds to the cycle in which a pattern drawn on a strip-shaped object moving on a line appears. At this time, a numerical value corresponding to one period of the picture appears in the output of the adder/subtractor 20.

第4図に示すようにライン上のフィードロール32に取
り付けられたパルス発生器30が発生するライン速度に
比例した単位時間当たりのパルス列をカウンタ40で計
数する。カウンタ40の出力が加減算器20の出力に一
致すると比較器50から一致信号が出力される。ライン
センサカメラ71のビデオ信号はAD変換器72で変換
され垂直、水平アドレスカウンタ60.80の内容が示
す画像メモリ90上のアドレスに記憶される。水平アド
レスカウンタ80の内容はラインセンサカメラ71の内
部の発振回路により発生するリセット、クロック信号に
よってリセット又はカウントアツプされる。垂直アドレ
スカウンタ60の内容は比較器50からの一致信号によ
りリセットされ、パルス発生器30のパルスによってカ
ウントアツプされる。垂直アドレスカウンタ60がリセ
ットされると画像メモリ90の書込みアドレスはCRT
デイスプレィ101上の左上端に相当する位置に移りそ
れ以後に発生するパルス発生器30のクロックがカウン
トされるたびに上から下へ移動してゆく。
As shown in FIG. 4, a counter 40 counts a pulse train per unit time that is proportional to the line speed and is generated by a pulse generator 30 attached to a feed roll 32 on the line. When the output of the counter 40 matches the output of the adder/subtractor 20, a match signal is output from the comparator 50. The video signal from the line sensor camera 71 is converted by an AD converter 72 and stored at the address on the image memory 90 indicated by the contents of the vertical and horizontal address counters 60.80. The contents of the horizontal address counter 80 are reset or counted up by a reset or clock signal generated by an oscillation circuit inside the line sensor camera 71. The contents of the vertical address counter 60 are reset by the match signal from the comparator 50 and counted up by the pulses from the pulse generator 30. When the vertical address counter 60 is reset, the write address of the image memory 90 is set to CRT.
It moves to a position corresponding to the upper left corner of the display 101, and moves from top to bottom every time the clock of the pulse generator 30 generated thereafter is counted.

したがって比較器50の一致信号の発生する周期が帯状
物体に描かれた絵柄の周期よりも長ければCRTデイス
プレィ101に現れる画像は上方へ移動し逆に短かけれ
ば下方へ移動し周期が等しければその位置に静止する。
Therefore, if the period at which the matching signal of the comparator 50 is generated is longer than the period of the picture drawn on the strip-shaped object, the image appearing on the CRT display 101 will move upward; if it is shorter, it will move downward, and if the periods are equal, then the image appearing on the CRT display 101 will move upward. Stay in position.

CRTコントローラ1)1 はCRTデイスプレィ10
1に画像メモリの内容を表示するためにCRTデイスプ
レィ装置の仕様に合わせた表示用アドレスを発生する9
表示用アドレスを用いてCRTデイスプレィ101上の
任意位置に移動可能なウィンドウを作り画像メモリ90
の表示画像と重ねてCRTデイスプレィ101に表示す
る0画像メモリ90の出力をD/A変換器102でD/
A変換したあとに2値化回路123により2値化してウ
ィンドウ信号との論理積をとることによりウィンドウで
囲まれた領域内の2値画像信号をCRTデイスプレィ1
01に表示する0表示アドレスのうちの垂直アドレスか
ら垂直期間を周期とする三角波を三角波発生器131で
発生する。
CRT controller 1) 1 is CRT display 10
1 generates a display address in accordance with the specifications of the CRT display device in order to display the contents of the image memory 9
A window that can be moved to any position on the CRT display 101 is created using the display address in the image memory 90.
The D/A converter 102 converts the output of the 0 image memory 90 to be displayed on the CRT display 101 superimposed on the displayed image.
After the A conversion, the binarization circuit 123 binarizes the signal and performs an AND with the window signal to convert the binary image signal within the area surrounded by the window into the CRT display 1.
A triangular wave generator 131 generates a triangular wave whose period is a vertical period from the vertical address of the 0 display addresses displayed at 01.

ウィンドウ内の2値画像のうち最も上方にある2値画像
信号の走査線の位置で三角波をサンプルホールド132
でサンプルホールドする。ウィンドウの高さの中心位置
にあたる走査線位置で三角波をサンプルホールド133
でサンプルホールドする、2つのサンプルホールド13
2.133の出力は、差動増幅器134により差分電圧
として求められる。
Sample and hold the triangular wave at the position of the scanning line of the uppermost binary image signal among the binary images in the window 132
to hold the sample. Sample and hold the triangular wave at the scanning line position corresponding to the center position of the window height 133
Two sample holds 13
The output of 2.133 is obtained as a differential voltage by the differential amplifier 134.

差分電圧は、ウィンドウの高さの中心線とウィンドウ内
の最も上方にある2値画像の位置との距離の差に比例し
極性は2値画像の最も上方の位置が窩さの中心線の下に
あれば+、上にあれば−となるように選ぶ。
The differential voltage is proportional to the difference in distance between the center line of the window height and the position of the uppermost binary image within the window. Select so that if it is above, it is +, and if it is above, it is -.

差分電圧をA/D変換器135でA/D変換する。The differential voltage is A/D converted by an A/D converter 135.

次に切換スイッチ136を制御状BB側に切り換える。Next, the changeover switch 136 is switched to the control state BB side.

加減算器20で、差分電圧に応じたデジタル値が絵柄の
1周期長さの設定値に加減算され、比較器50にて一致
信号の周期の増減となって、画像メモリ90に書き込ま
れる帯状物体の絵柄位置を移動させ、ウィンドウ内の2
値画像の最も上方の位置がウィンドウの高さの中心位置
に一致したところで絵柄の移動が停止することになる。
The adder/subtractor 20 adds or subtracts the digital value corresponding to the differential voltage to the set value of one cycle length of the pattern, and the comparator 50 increases or decreases the cycle of the matching signal, thereby increasing or decreasing the period of the strip-shaped object written in the image memory 90. Move the pattern position and click 2 in the window.
The movement of the picture will stop when the uppermost position of the value image coincides with the center position of the height of the window.

ウィンドウ位置設定器121によりCRTデイスプレィ
101上のウィンドウの表示位置を上下に移動させるこ
とにより、絵柄の表示位置もそれに追従して移動させる
ことができる。
By moving the display position of the window on the CRT display 101 up and down using the window position setting device 121, the display position of the picture can also be moved accordingly.

以上述べた実施例の変形として差動増幅器134とA/
D変換器1350間に積分器を入れ、比例十積分動作に
より定常偏差を凍らして追従精度をあげることもできる
As a modification of the embodiment described above, the differential amplifier 134 and the A/
It is also possible to increase the tracking accuracy by inserting an integrator between the D converters 1350 and freezing the steady deviation by proportional-sufficient integral operation.

又、サンプルホールド132,133 、差動増幅器1
34、A/D変換器135等のアナグロ処理による手法
に替えてデジタル的に差分値を求めることも簡単にでき
る。
Also, sample hold 132, 133, differential amplifier 1
34, the difference value can be easily calculated digitally instead of the analog processing method using the A/D converter 135, etc.

本実施例の効果は次の通りである。The effects of this embodiment are as follows.

■ 高速で移動する帯状物体の表面に描かれた絵柄をC
RTデイスプレィにリアルタイムで静止させて観察でき
る。
■ A pattern drawn on the surface of a belt-shaped object moving at high speed is C.
It can be observed by standing still on the RT display in real time.

■ CRTデイスプレィに表示した画像を任意の高さ方
向の位置に移動させることができる。
■ The image displayed on the CRT display can be moved to any height position.

■ 従来の余白マーク式に比べ本実施例ではラインに設
けられたフィードロール上にパルス発生器を設定するだ
けで済むためコストが安く適用範囲が広い。
■ Compared to the conventional margin mark type, this embodiment requires only a pulse generator to be set on the feed roll provided on the line, so the cost is low and the range of application is wide.

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

本発明によれば、走行する帯状物体に、周期的に表れる
特徴体の計画周期値に所定の値を加減算して実測周期と
一致させることにより静止画像を得られ、さらに上下方
向任意の位置に画像を静止させることができる。
According to the present invention, a still image can be obtained by adding or subtracting a predetermined value to the planned periodicity value of a feature object that appears periodically on a moving band-shaped object to match the actual periodicity. Images can be frozen.

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

第1図は本発明の基本構成を示す図、第2図は本発明の
一実施例の構成を示すブロック図、第3図はタイムチャ
ート、第4図はパルス発生器の配置を示す図である。 10−m−計画周期設定器 20−m−加減算器30−
−−パルス発生器 31−m−走行体と連動回転する部品 32−m−フイードロール 40−一一力つンタ5O−
−−J[H60−−一垂直アドレスカウンタ70−−−
画像人力手段 71− ラインセンサカメラ72−A/
D変換38〇−水平アドレスカウンタ90−m−画像メ
モIJ  100−  画像表示手段101−−− C
RTデイスプレィ 102−−−D/A変換器 1)0−−−CRTl!制
御手段1)1−−−CRTコントローラ 1)2−−−
クロック120−−−ウィンドウ発生手段 121−m−ウイントウ位置設定器 122−−−ウイントウ発生器 123−−−2値化回
路124−m−中心検出器 130−m−つイントウ内差値検出手段131−m−三
角波発生器 132、133−m−サンプルホールド134−−−差
動増幅器 1.35−−− A / D変換器136−
−−切換スイッチ
Fig. 1 is a diagram showing the basic configuration of the present invention, Fig. 2 is a block diagram showing the configuration of an embodiment of the invention, Fig. 3 is a time chart, and Fig. 4 is a diagram showing the arrangement of the pulse generator. be. 10-m-planned cycle setter 20-m-addition/subtraction device 30-
--Pulse generator 31-m-Parts that rotate in conjunction with the traveling body 32-m-Feed roll 40-11 force printer 5O-
--J[H60--Vertical address counter 70--
Image human power means 71- Line sensor camera 72-A/
D conversion 38〇-Horizontal address counter 90-m-Image memo IJ 100-Image display means 101---C
RT display 102---D/A converter 1)0---CRTl! Control means 1) 1---CRT controller 1) 2---
Clock 120---Window generation means 121-m-Window position setter 122---Window generator 123---Binarization circuit 124-m-Center detector 130-m-In-tow difference value detection means 131 -m-triangular wave generator 132, 133-m-sample hold 134--differential amplifier 1.35--A/D converter 136-
---Choice switch

Claims (4)

【特許請求の範囲】[Claims] (1)所定速度で移動する帯状物体の表面に一定の周期
で表される同一特徴体をラインセンサカメラで撮像し画
像メモリに取り込んだ後画像表示装置に静止画像として
表示する静止画像の位置決め方法において、前記一定の
周期の計画値と実測値とを比較し、一致した時前記画像
メモリの画像の上記帯状物体の移動方向を表示する垂直
方向のアドレスを開始アドレスにセットし、所定の値を
前記計画値に加減算するようにしたことを特徴とする走
行体の静止画像の位置決め方法。
(1) A still image positioning method in which a line sensor camera captures images of the same features expressed at a constant period on the surface of a strip-shaped object moving at a predetermined speed, imports them into an image memory, and then displays them as still images on an image display device. , the planned value and the measured value of the constant period are compared, and when they match, a vertical address for displaying the moving direction of the strip-shaped object in the image of the image memory is set as the start address, and a predetermined value is set. A method for positioning a still image of a traveling object, characterized in that the method adds or subtracts from the planned value.
(2)前記画像表示装置に走査線に平行な基準線を有す
るウインドウを設定し、該ウィンドウ内の前記特徴体の
所定画像部と前記基準線との垂直方向の差値を求め、前
記ウィンドウの設定位置を移動することより前記差値を
前記所定の値にすることを特徴とする請求項1記載の走
行体の静止画像の位置決め方法。
(2) A window having a reference line parallel to the scanning line is set on the image display device, a vertical difference value between a predetermined image portion of the feature object in the window and the reference line is determined, 2. The method for positioning a still image of a traveling object according to claim 1, wherein the difference value is set to the predetermined value by moving a set position.
(3)前記所定画像部を2値画像としたことを特徴とす
る請求項2記載の静止画像の位置決め方法。
(3) The still image positioning method according to claim 2, wherein the predetermined image portion is a binary image.
(4)所定速度で移動する帯状物体の表面に表れる同一
特徴体の周期の計画値を設定する計画周期設定器と、該
計画周期設定器の出力に他の入力を加減算する加減算器
と、前記同一特徴体の表れる周期の実測値を計測しパル
スとして出力するパルス発生器と、該パルス発生器の出
力するパルスを計数するカウンタと、該カウンタの出力
と前記加減算器の出力とを比較し一致信号を出力する比
較器と、該一致信号によりリセットし前記パルス発生器
のパルスを計数する画像の垂直アドレスカウンタと、前
記同一特徴体を撮像して画像信号を出力するとともに水
平走査パルスを出力する画像入力手段と、該水平走査パ
ルスを計数する水平アドレスカウンタと、前記垂直アド
レスカウンタと前記水平アドレスカウンタの示すアドレ
スに前記画像入力手段の画像信号を格納する画像メモリ
と、該画像メモリの出力を表示する画像表示手段と、該
画像表示手段に前記画像メモリの所望の内容を表示する
ための表示用アドレスを発生するCRT制御手段と、該
表示用アドレスを用いてウィンドウを作成し前記画像メ
モリの表示画像と重ねて表示すると共に走査線に平行な
基準線をウィンドウに設定するウィンドウ発生手段と、
前記ウィンドウ内の前記特徴体の所定画像部と前記基準
線との垂直方向の差値を検出し、前記加減算器に出力す
るウィンドウ内差値検出手段とを備えたことを特徴とす
る走行体の静止画像の位置決め装置。
(4) a planned period setting device for setting a planned value of the period of the same characteristic object appearing on the surface of a strip-shaped object moving at a predetermined speed; and an adder/subtractor for adding or subtracting another input to the output of the planned period setting device; A pulse generator that measures the measured value of the period in which the same characteristic object appears and outputs it as a pulse, a counter that counts the pulses output from the pulse generator, and a comparison between the output of the counter and the output of the adder/subtractor to match. a comparator that outputs a signal, an image vertical address counter that is reset by the matching signal and counts the pulses of the pulse generator, and that images the same feature object and outputs an image signal and horizontal scanning pulses. an image input means, a horizontal address counter for counting the horizontal scanning pulses, an image memory for storing the image signal of the image input means at an address indicated by the vertical address counter and the horizontal address counter, and an image memory for storing the image signal of the image input means at an address indicated by the vertical address counter and the horizontal address counter; a CRT control means for generating a display address for displaying desired contents of the image memory on the image display means; and a CRT control means for generating a display address for displaying the desired contents of the image memory on the image display means; window generating means for displaying a display image overlappingly with the display image and setting a reference line parallel to the scanning line in the window;
A running object characterized by comprising: in-window difference value detection means for detecting a vertical difference value between a predetermined image part of the feature object in the window and the reference line and outputting the detected difference value to the adder/subtractor. Still image positioning device.
JP14193689A 1989-06-02 1989-06-02 Method and apparatus for positioning still picture of travelling object Pending JPH036982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14193689A JPH036982A (en) 1989-06-02 1989-06-02 Method and apparatus for positioning still picture of travelling object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14193689A JPH036982A (en) 1989-06-02 1989-06-02 Method and apparatus for positioning still picture of travelling object

Publications (1)

Publication Number Publication Date
JPH036982A true JPH036982A (en) 1991-01-14

Family

ID=15303591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14193689A Pending JPH036982A (en) 1989-06-02 1989-06-02 Method and apparatus for positioning still picture of travelling object

Country Status (1)

Country Link
JP (1) JPH036982A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS594911A (en) * 1982-07-02 1984-01-11 Fuji Electric Co Ltd Controlling method of loop of material to be rolled in multistage rolling mill
JPS59192943A (en) * 1983-04-15 1984-11-01 Hitachi Ltd Defect inspecting device repetitive pattern
JPS6064588A (en) * 1983-09-19 1985-04-13 Mitsubishi Electric Corp Position detector
JPS6118694A (en) * 1984-07-05 1986-01-27 株式会社 彦間製作所 Hanging mechanism for excavator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS594911A (en) * 1982-07-02 1984-01-11 Fuji Electric Co Ltd Controlling method of loop of material to be rolled in multistage rolling mill
JPS59192943A (en) * 1983-04-15 1984-11-01 Hitachi Ltd Defect inspecting device repetitive pattern
JPS6064588A (en) * 1983-09-19 1985-04-13 Mitsubishi Electric Corp Position detector
JPS6118694A (en) * 1984-07-05 1986-01-27 株式会社 彦間製作所 Hanging mechanism for excavator

Similar Documents

Publication Publication Date Title
CA2078374A1 (en) Method for displaying defect and apparatus therefor
US5107127A (en) Method and apparatus for precision location of a perforation
JP2011169842A (en) Flicker measuring method and device thereof
JPH036982A (en) Method and apparatus for positioning still picture of travelling object
JPH08313454A (en) Image processing equipment
JPS6114508A (en) Shape measuring instrument
JPS63128890A (en) Image detector for surface region of travelling goods route
JPH02194307A (en) Curvature shape measuring instrument for plate-like body
JPS6329202B2 (en)
JPH06567B2 (en) Raw material yard management device
JP3018208B2 (en) Method for detecting the position of a measurement target in an absolute type position detecting device
JPH0579123B2 (en)
JPS60194302A (en) Measuring apparatus for object to be photographed
JP2890435B2 (en) Flash point automatic detection device
JPS6180003A (en) Visual sense system with real length conversion and correction function
JPS606805A (en) Optical detection of edge position
JPS59155705A (en) Inspecting equipment of interval of lattice object
JPH0633361Y2 (en) Image reader
JPH0416706A (en) Image inspecting apparatus
JPS5846475A (en) Pattern recording device
JP3100144B2 (en) Image processing method and image processing apparatus
JPS59156078A (en) Inspecting method of display condition of color picture tube
JPS63267583A (en) Marking head monitoring device
JPS5851868B2 (en) Method for detecting defects on the surface of yarn rolls
JPS6381221A (en) Weight measuring instrument for moving vehicle