JPS60214084A - Picture data processing system - Google Patents

Picture data processing system

Info

Publication number
JPS60214084A
JPS60214084A JP6916484A JP6916484A JPS60214084A JP S60214084 A JPS60214084 A JP S60214084A JP 6916484 A JP6916484 A JP 6916484A JP 6916484 A JP6916484 A JP 6916484A JP S60214084 A JPS60214084 A JP S60214084A
Authority
JP
Japan
Prior art keywords
memory
tracing
stored
vertex
boundaries
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
JP6916484A
Other languages
Japanese (ja)
Inventor
Ikuo Nakao
中尾 郁生
Katsuhira Matsumoto
松本 克平
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 Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6916484A priority Critical patent/JPS60214084A/en
Publication of JPS60214084A publication Critical patent/JPS60214084A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To detect vertexes with a high reliability in a short processing time by scanning only boundaries of an object in the eight-nearby point scanning system. CONSTITUTION:The position of scanning start position AS is set to coordinate positions X and Y in a memory. At this time, an initial value is stored in the position, where a parameter of the preceding tracing processing should be stored, of the memory. The tracing processing of nearby boundaries is performed, and it is checked whether a position obtained till then on the memory is maximum in the (y) direction or not. If it is maximum, a value YMAX on the memory is updated. If it is not maximum, tracing is terminated if tracing of boundaries goes beyond a frame in the (x) direction, and the control is returned to the tracing processing otherwise. When tracing is terminated, the value YMAX in the memory indicates an obtained vertex.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は1画像データ処理における物体の頂点検出力
式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a vertex detection power formula for an object in single image data processing.

〔従来技術〕[Prior art]

第1図に従来刀式により物体の先端を検出するデータ処
理装置のブロック図である。カメラ1により撮像さf′
Lfc図示なしの物体の映像信号に入力回路2によりデ
ィジタル的なデータに変換さn。
FIG. 1 is a block diagram of a data processing device that detects the tip of an object using a conventional sword method. Imaged by camera 1 f'
Lfc A video signal of an object (not shown) is converted into digital data by an input circuit 2.

物体の映像のX、y座標に対応さ几、第2図に示jよう
な配列でメモリ3に記憶さ几る。プロセッサ4は、リー
ドオンリメそりからなり、プログラム?記憶したメモリ
5及びランダムアクセスメモリからなるメモリ6から読
み出したプログラムに従ってメそり3のデータを読み出
し、物体の先端を第4図に示j流れ図に従って検出する
処理?する。
The coordinates corresponding to the X and Y coordinates of the image of the object are stored in the memory 3 in an arrangement as shown in FIG. The processor 4 consists of a read-only memory and a program? A process of reading out the data of the mesori 3 according to the program read out from the stored memory 5 and the memory 6 consisting of a random access memory, and detecting the tip of the object according to the flowchart shown in FIG. do.

第2図はメモリ3のデータの配列を示すメモリマング内
である。ASσメモリ30走歪の開始位置を示し、メモ
リ3はX軸の矢印方向に、順欠y軸上?走査さ扛る。A
点は、yF、めるべき物体の頂点である。
FIG. 2 shows the arrangement of data in the memory 3 inside the memory mange. ASσ memory 30 indicates the starting position of travel strain, and memory 3 is on the sequential y-axis in the direction of the arrow on the X-axis? Scanned. A
The point is yF, the vertex of the target object.

仄に、第4図に示’f Rf’L図に従ってプロセッサ
4による一連の処理を説明する。ここで、頂点へは、y
軸上で最大値乞示す点と足載する。ステップS1で開始
位置Asがセントさnると、ステップS2で矢印のよう
にy方向に定食が開始さn。
A series of processing by the processor 4 will be briefly described in accordance with the 'fRf'L diagram shown in FIG. Here, to the vertex is y
Place the point on the axis that indicates the maximum value. When the start position As is set at step S1, the set meal starts in the y direction as indicated by the arrow at step S2.

メモリ3の内容な読み出す。ステップS3でメモリ3の
内容に変化があるか否か(例えばlから0となる変化が
あるか否か)、即ち境界であるか否か乞判断し、ステッ
プS4で最終yアドレスか否か乞判断し、否のときにス
テップ8.2に戻り、走査が終了したときはステップS
5において、現在最大値を頂点Aとしてセントし、ステ
ップS6で最P:xアドレスであnば処理を終了し、そ
うでたけnばステップS2に戻る。ステップS6で否と
なったときはステップS7に進み、境界の値を現在最大
値と比較し、こnよフ大きけnばこn’にステップS8
で現在最大値?これにより更新する。
Read the contents of memory 3. In step S3, it is determined whether there is a change in the contents of the memory 3 (for example, whether there is a change from l to 0), that is, whether there is a boundary, and in step S4, it is determined whether or not it is the final y address. If the judgment is negative, the process returns to step 8.2, and if the scanning is completed, the process returns to step S.
In Step 5, the current maximum value is set as the vertex A, and in Step S6, if it is the highest P:x address, the process ends, and if it is, the process returns to Step S2. If the result in step S6 is negative, the process proceeds to step S7, where the boundary value is compared with the current maximum value, and if the value is larger than n', the process proceeds to step S8.
What is the current maximum value? This will update.

最後にセントさf′Lyc現在最大値が頂点Aである。Finally, the current maximum value of f'Lyc is the vertex A.

従来の方式は1以上のように画像メモリをアクセスする
回数が多いため、処理時間が貴く、また単に最大値?検
出することにより頂点を検出′1−るので、値の大きな
誤データ(例えば第3図に示す3点)があると、こnは
頂点乞誤判別乞する欠点かあった。
In the conventional method, the number of times the image memory is accessed is large (1 or more), so processing time is precious, and the number of times the image memory is accessed is high. Since the vertex is detected by detecting the vertex, if there is erroneous data with a large value (for example, the three points shown in FIG. 3), this method has the disadvantage that the vertex may be incorrectly determined.

〔発明の概要〕[Summary of the invention]

この発明は、上記のような従来のものの欠点を除去する
ためになさnだもので、物体の境界だけを、8近傍方式
によって走査することに、J、す、短い処理時間で、信
頼性の高い頂点の検出が得ら几る画像データ処理方式?
提供すること?目的としている。
This invention was made in order to eliminate the drawbacks of the conventional methods as described above, and by scanning only the boundaries of objects using the 8-neighborhood method, it is possible to achieve high reliability with a very short processing time. An image data processing method that can detect high vertices?
What to offer? The purpose is

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例乞図について説明する。第5
図は、この発明方式による一連の処理を示す流n図であ
る。このような処理を行なうデータ処理装置は第1−に
示すもので、プロセンサ4により制御さnる。メモリ3
の走査の概要は、第6図のメモリマツプ図に矢印で示す
ように、最初に検出さn7’(境界を走査の開始位置A
sとし、境界に沿って進めら几る。
Hereinafter, an embodiment of the present invention will be described. Fifth
The figure is a flowchart showing a series of processes according to the method of this invention. A data processing device that performs such processing is shown in No. 1-, and is controlled by a processor 4. memory 3
The outline of scanning is as shown by the arrow in the memory map diagram of FIG.
s and proceed along the boundary.

第5図においてステップP1ではプログラムによってメ
モリ3土に格納さnているパラメータエCX、X及びY
vメモリ3からロードする。ここで、X、Yは第7図に
示すようにメモリ3における注目画素I、Jの座標位置
?示す。’F7C,ICXは、前回の境界追跡処理にお
いて注目画素工。
In FIG. 5, in step P1, parameters CX, X and Y are stored in memory 3 by the program.
v Load from memory 3. Here, X and Y are the coordinate positions of the target pixels I and J in the memory 3 as shown in FIG. show. 'F7C and ICX were the pixel works of interest in the previous boundary tracking process.

Jの座標位置を示すパラメータである。ステップP2〜
P8においては、パラメータICXの値に応じて8近傍
内の走査開始位置(第10図において1で示す場P)r
)乞与える処理に分岐する。ステップP9〜P16の処
理は、注目画素周辺の8近傍ぞなすメモリ3上の位置を
与える計算処理である。XT 、YTは8近傍?な丁メ
モリ3土の位置を示すパラメータであり、メ七り6に格
納さnる。
This is a parameter indicating the coordinate position of J. Step P2~
At P8, the scanning start position within 8 neighborhoods (field P indicated by 1 in FIG. 10) r
) Branches to the begging process. The processing in steps P9 to P16 is a calculation process for providing the positions on the memory 3 of eight neighbors around the pixel of interest. Are XT and YT near 8? This is a parameter indicating the position of the memory 3, and is stored in the memory 6.

ステップP17〜P24では、ステップP9〜P16で
与えらnたXT 、YTで示さ扛るメモリ3上の内容が
0であるかどうか?チェックする。もし。
In steps P17 to P24, whether the contents in the memory 3 indicated by XT and YT given in steps P9 to P16 are 0 or not? To check. if.

Oであったなら、メモリ6上にあるXT 、YTの内容
をメモリ6上のX、Yの値が格絡さ几ている所に移し、
メモリ6土にあるICXの内容を更新するO もしOでなかったら、8近傍内の仄の位置ン計算する処
理に移行する。
If it is O, move the contents of XT and YT in memory 6 to the place in memory 6 where the values of X and Y are arranged,
Update the contents of ICX in memory 6. If it is not O, move on to the process of calculating the other position within the 8 neighborhood.

第10図は、ICXの値によって与えらnる。FIG. 10 is given by the value of ICX.

8近傍内の走査開始位置と走査をする順番を示している
It shows the scanning start position and scanning order within the 8-neighborhood.

図中において、Nは第5図においてX、Yのパラメータ
で与えらnる注目画素周辺し、0は前回の処理の注目画
素を示し、@ブロック内の数字1゜2〜7は走査する順
番ゲ示している。
In the figure, N is the vicinity of the pixel of interest given by the X and Y parameters in Fig. 5, 0 indicates the pixel of interest in the previous process, and the numbers 1゜2 to 7 in the block are the scanning order. It shows.

第9図はこの発明方式による処理の流n図である。ステ
ップS11では、第6図で示す開示位置ASの位置な、
第5図で用いたメモリ6中の座標位置X、Yにセントす
る。このときにメモリ6中のパラメータICXの格納先
に初期値を格納する。
FIG. 9 is a flowchart of the processing according to the method of this invention. In step S11, the position of the disclosure position AS shown in FIG.
Cent is placed at the coordinate positions X and Y in the memory 6 used in FIG. At this time, the initial value is stored in the storage location of the parameter ICX in the memory 6.

ステップS12では第5図で示した8近傍境界の追跡処
理?する。ステップS13でに、ステップS12でXめ
らfL7ICメモリ3上の位置がこnlでにxlってい
るメモリ3上の位置がy1回に対して最大(MAX)か
どうかチェックする。もし。
In step S12, the 8-neighbor boundary tracking process shown in FIG. do. In step S13, it is checked whether the position on the memory 3, which has been nl xl in step S12, is the maximum (MAX) for y1 times. if.

MAXであnはステップ814に進みメモリ6上のYM
AXの値を史新し、MAXでなけnばステップ815に
移る。ステップs15でに境界の追跡がX方向のわくか
らはみ出丁ときは追跡終了となり、もしそうでなけnば
ステップ812に戻る。
At MAX, an proceeds to step 814 and YM in memory 6 is
The value of AX is updated, and if n is not MAX, the process moves to step 815. In step s15, if the boundary tracking exceeds the frame in the X direction, the tracking ends, and if not, the process returns to step 812.

追跡終了となったときはメモリ6中にあるYMAXが京
めら−i’lた頂点Aである。
When the tracking ends, YMAX in the memory 6 is the vertex A that has been reached.

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

以上のように、この発明によnば、物体の境界について
だけ定食するようになるので1画像メモリケアクセスす
る回数も減り、処理時間が短縮さn、1−fCノイズも
影響さnる所が、物体に接するノイズに限ら扛、信頼性
の高い頂点が検出できるという効果がある。
As described above, according to the present invention, since only the boundaries of objects are fixed, the number of accesses to the memory for one image is reduced, processing time is shortened, and 1-fC noise is not affected. However, it has the effect of detecting highly reliable vertices only in noise that is in contact with objects.

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

第1図はデータ処理装置のブロック図、第2図及び第3
図は第1図に示すメモリのメモリマツプ図、第4図に従
来の画像データ処理力式の流れ図。 第5図はこの発明の一実施例による処理の流れ図。 第6図は定食方向を示したメモリのメモリマツプ図、第
7図は8近傍境界を示″′f座標図、第8図は71!食
刀回な示したメそりのメモリマツプ図、第9図はこの発
明による概喪流n図、第10図は8近傍の定食順序を示
す図である。 1・・・カメラ、2・・・入力回路、3,5.6・・・
メモリ、4・・・プロセッサ。なお1図中、同一符号は
同一部分馨示す。 特許出願人 三菱電機株式会社 (外2名) −:、’p 第3図 第6図 1 第8図 第9図 第10図 ICX=OICX=I ICX=3 KX=4 ICX=6 ICX=7 ICX = 2 ICX=5
Figure 1 is a block diagram of the data processing device, Figures 2 and 3
The figure is a memory map diagram of the memory shown in FIG. 1, and FIG. 4 is a flowchart of a conventional image data processing power formula. FIG. 5 is a flowchart of processing according to an embodiment of the present invention. Fig. 6 is a memory map diagram of the memory showing the set meal direction, Fig. 7 is a ``f coordinate diagram showing the 8 neighborhood boundaries, Fig. 8 is a memory map diagram of the mesori that shows the 71! is an outline flow n diagram according to the present invention, and FIG. 10 is a diagram showing the order of set meals in 8 neighborhoods. 1...Camera, 2...Input circuit, 3, 5.6...
Memory, 4... Processor. In Figure 1, the same reference numerals indicate the same parts. Patent applicant Mitsubishi Electric Corporation (2 others) -:,'p Figure 3 Figure 6 Figure 1 Figure 8 Figure 9 Figure 10 ICX=OICX=I ICX=3 KX=4 ICX=6 ICX=7 ICX=2 ICX=5

Claims (1)

【特許請求の範囲】[Claims] 検出対象の頂点Y!する物体の画素データを上記物体の
観測形状に対応してメモリに配列して記憶し、上記メモ
リから読み出したデータから上記物体の境界を検出した
ときはその境界の8近傍点に対応するデータ乞上記メモ
リから読み出して隣接するメモリ位置における境界を検
出し、かつその境界が座標上で最大値を与えるか否かを
判定することにより上記頂点を検出するようにした画像
データ処理方式。
Vertex Y to be detected! The pixel data of the object is arranged and stored in a memory corresponding to the observed shape of the object, and when the boundary of the object is detected from the data read from the memory, the data corresponding to 8 neighboring points of the boundary is stored. An image data processing method that detects the vertex by reading from the memory, detecting a boundary at an adjacent memory location, and determining whether the boundary gives a maximum value on coordinates.
JP6916484A 1984-04-09 1984-04-09 Picture data processing system Pending JPS60214084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6916484A JPS60214084A (en) 1984-04-09 1984-04-09 Picture data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6916484A JPS60214084A (en) 1984-04-09 1984-04-09 Picture data processing system

Publications (1)

Publication Number Publication Date
JPS60214084A true JPS60214084A (en) 1985-10-26

Family

ID=13394790

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6916484A Pending JPS60214084A (en) 1984-04-09 1984-04-09 Picture data processing system

Country Status (1)

Country Link
JP (1) JPS60214084A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5282166A (en) * 1975-12-29 1977-07-09 Nec Corp Automatic decision unit for pattern center
JPS5778590A (en) * 1980-11-04 1982-05-17 Nippon Telegraph & Telephone Image contour tracking system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5282166A (en) * 1975-12-29 1977-07-09 Nec Corp Automatic decision unit for pattern center
JPS5778590A (en) * 1980-11-04 1982-05-17 Nippon Telegraph & Telephone Image contour tracking system

Similar Documents

Publication Publication Date Title
CN108875723B (en) Object detection method, device and system and storage medium
JPS62267610A (en) Detecting system for rotational angle of object pattern
JPH0312750B2 (en)
JP3298185B2 (en) Ophthalmic equipment
JPH03294976A (en) Reference mark pattern detecting device
CN107356213B (en) Optical filter concentricity measuring method and terminal equipment
JPH0810132B2 (en) Target pattern rotation angle detection method
JPS60179881A (en) Recognizing method of approximately circular outline
JPS60214084A (en) Picture data processing system
CN116152158A (en) Weld joint detection method and device, electronic equipment and storage medium
CN113971738A (en) Image detection method, image detection device, electronic equipment and storage medium
JP2000180138A (en) Calibration plate and calibration system for visual sensor utilizing it
CN109801213A (en) Picture Spot detection method, apparatus and terminal device is imaged in flake
JPH06208623A (en) Feature amount extracting device for binary image
CN113902610A (en) Data augmentation method and device for remote sensing image and electronic equipment
JPS634379A (en) Pattern matching device
JPS59108907A (en) Position detecting device for three dimensional body
KR960001753B1 (en) Directionally characteristic recognition system by binary image
CN117576215A (en) Obstacle position identification method, device, equipment and storage medium
CN117078734A (en) System and method for identifying cable structure size
CN118154630A (en) Target point contour extraction method, system, computer equipment and storage medium
CN117710352A (en) Image processing method and device, electronic equipment and storage medium
JPH01180072A (en) Schematic contour shape measuring method for graphic pattern
CN117274327A (en) Calibration pattern generation method, calibration pattern registration device and electronic equipment
JPH0718810B2 (en) Pattern inspection method