JPS6027084A - Window processing system of picture - Google Patents

Window processing system of picture

Info

Publication number
JPS6027084A
JPS6027084A JP58136239A JP13623983A JPS6027084A JP S6027084 A JPS6027084 A JP S6027084A JP 58136239 A JP58136239 A JP 58136239A JP 13623983 A JP13623983 A JP 13623983A JP S6027084 A JPS6027084 A JP S6027084A
Authority
JP
Japan
Prior art keywords
window
frame memory
data
window data
written
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
JP58136239A
Other languages
Japanese (ja)
Inventor
Mitsuo Hiraizumi
平泉 満男
Hiroshi Sugimura
杉村 洋
Bunichi Terawaki
寺脇 文一
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP58136239A priority Critical patent/JPS6027084A/en
Publication of JPS6027084A publication Critical patent/JPS6027084A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To correct the window data within a frame memory with designation of positions by a cursor while displaying the quantized picture of a subject to a display device after writing the window data to a frame memory. CONSTITUTION:A window pattern is written to the 1st frame memory 3 in the form of the binary coded window data in accordance with the write address which is supplied from an address generating circuit 5 via a switching circuit 7. An AND is obtained with the window data by an AND gate 11, and the above- mentioned binary coded data is written to the 2nd frame memory. Then a standard subject is put under a camera 1 and this binary coded picture data is written to the 2nd frame memory 4 and then displayed on a CRT. A correction of the window data is indicated to a CPU6 with push of a correction command key 13. Then a cursor key 14 is operated with reference to the subject on the screen. The cursor is shifted up to the corrected area of the window, and an addition command key 15, etc. are operated.

Description

【発明の詳細な説明】 発明の技術分野 本発明は9画像のウィンドウ処理方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a nine-image window processing method.

従来技術と問題点 従来、製品の欠陥検査等の目的で1画像の自動。Conventional technology and problems Traditionally, single-image automation was used for the purpose of inspecting product defects, etc.

処理が行われている。例えば、ヘルドコンベヤ上を搬送
される物品の画像を取込み、量子化し、細め処理等の前
処理、更には輪廓抽出、特徴抽出等の処理を行った後基
準データとの比較により欠陥の有無等を判定するものが
ある。このようなシステムでは、視覚センサにより捉え
た画像のうち画像処理に不要なものや不都合なものを除
去するため、ウィンドウを設けて、ウィンドウ内の画像
のみを処理対象とすることが多い。
Processing is taking place. For example, an image of an article being conveyed on a heald conveyor is captured, quantized, pre-processed such as thinning processing, and further processed such as edge extraction and feature extraction, and then compared with reference data to determine the presence or absence of defects. There is something to judge. In such systems, in order to remove unnecessary or inconvenient images from images captured by a visual sensor, a window is often provided and only the images within the window are processed.

従来、ウィンドウを設定するために、標準的な物品の量
子化画像をCRT上に表示させ、設定しようとするウィ
ンドウ領域の端点をカーソルキーで指定する方法が採ら
れてきた。しかしながらこの従来方法では、設定に要す
る手間等を考慮すれば、矩形や3角形等比較的単純な形
状のウィンドウしか設定できないと云う欠点がある。
Conventionally, in order to set a window, a method has been adopted in which a standard quantized image of an article is displayed on a CRT, and the end point of the window area to be set is specified using cursor keys. However, this conventional method has a drawback in that it is only possible to set windows with relatively simple shapes such as rectangular or triangular shapes, considering the time and effort required for setting.

他の方法として、ウィンドウ領域を折線や円弧の集合で
近似し、折線の端点や円弧の中心、半径等を入力し、C
PUで処理することによりウィンドウを設定する方法も
考えられるが、やはり、相当の手間を要することには変
りがなく、またシステムが複雑になるという問題もある
Another method is to approximate the window area with a set of broken lines or arcs, input the end points of the broken lines, the center of the arc, the radius, etc.
Although it is possible to set windows by processing in the PU, this still requires considerable effort and also has the problem of complicating the system.

発明の目的 本発明は上記従来の問題点に鑑みてなされたものであり
、その目的は、比較的簡易な方法とシステムにより、複
雑な形状のウィンドウを設定できるウィンドウ処理方式
を提供することにある。
OBJECTS OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and its purpose is to provide a window processing method that can set windows with complex shapes using a relatively simple method and system. .

発明の構成 上記目的を達成する本発明は、所望のウィンドウを表示
する画像パターンを2値化したものをウィンドウデータ
としてフレームメモリに書込み。
Structure of the Invention The present invention achieves the above object by writing a binarized image pattern displaying a desired window into a frame memory as window data.

次いで対象物体の画像を量子化したものを前記フレーム
メモリから読出したウィンドウデータとの論理積を取る
ことによりウィンドウ処理するように構成されている。
Next, window processing is performed by performing a logical product on the quantized image of the target object and the window data read out from the frame memory.

更に9本発明の一好通実施例においては、フレームメモ
リへのウィンドウデータの書込後、対象物体の量子化画
像を表示装置に表示しつつカーソルキーの位置指定によ
りフレームメモリ内のウィンドウデータを修正するよう
に構成されている。。
Furthermore, in a preferred embodiment of the present invention, after writing the window data to the frame memory, while displaying the quantized image of the target object on the display device, the window data in the frame memory is written by specifying the position of the cursor key. configured to fix. .

以下1本発明の更に詳細を実施例により説明する。The present invention will be explained in more detail below using examples.

発明の実施例 図は2本発明の一実施例が適用される画像処理システム
の部分構成ブロック図であり、1はカメ元 2は2値化
回路、3,4は第1.第2のフレームメモリ、5はアド
レス発生回路、6はCPU、7,8,9.10は切替え
回路、11はアンドゲートである。
Embodiment of the Invention Figure 2 is a partial configuration block diagram of an image processing system to which an embodiment of the present invention is applied, in which 1 is a camera source, 2 is a binarization circuit, 3 and 4 are first . A second frame memory, 5 is an address generation circuit, 6 is a CPU, 7, 8, 9, 10 are switching circuits, and 11 is an AND gate.

まず、ウィンドウのパターンを白黒で描いた紙片20を
カメラ1の下方に置き、指令キー12を押下げてCPU
6に画像の取込みを指令する。これを受けたCPU6は
、アドレス発生回路5を起動し、切替え回路7と8に切
替え選択信号SELを供給しかつ第1のフレームメモリ
にライト信号Wを供給する。CPU6から起動されたア
ドレス発生回路5は2画像の取込みのだめの垂直、水平
同期信号SYNをカメラ1に供給すると共に、書込みの
ためのアドレス信号を切替え回路7を経て第1のフレー
ムメモリに供給する。カメラ1は。
First, place a piece of paper 20 on which a window pattern is drawn in black and white below the camera 1, and press down the command key 12 to control the CPU.
6 to capture the image. Upon receiving this, the CPU 6 activates the address generation circuit 5, supplies the switching selection signal SEL to the switching circuits 7 and 8, and supplies the write signal W to the first frame memory. The address generation circuit 5 activated by the CPU 6 supplies vertical and horizontal synchronization signals SYN for capturing two images to the camera 1, and also supplies address signals for writing to the first frame memory via the switching circuit 7. . Camera 1 is.

紙片20に描かれた白黒のウィンドウパターンをアドレ
ス発生回路5から供給される垂直2水平同期信号SYN
に同期して取込む。取込まれたウィンドウパターンは、
後段に配置された2値化回路2で2値化され、ウィンド
ウ領域内のめが“1゛で、他の部分がすべて“′0″で
あるような“1″/″0”の2値化ウインドウパターン
となる。このウィンドウパターンは、切替え回路8を経
由して第1のフレームメモリ3に供給される。更にこの
ウィンドウパターンは、アドレス発生回路5から切替え
回路7を経て供給されたP1込アドレスに従って2値化
ウインドウデークとして第1のフレームメモリに書込ま
れる。
The black and white window pattern drawn on the piece of paper 20 is transmitted to the vertical and horizontal synchronizing signals SYN supplied from the address generation circuit 5.
Import in sync with. The captured window pattern is
The binary value of "1"/"0" is binarized by the binarization circuit 2 placed in the latter stage, and the value in the window area is "1" and all other parts are "0". This window pattern is supplied to the first frame memory 3 via the switching circuit 8. Furthermore, this window pattern is supplied to the P1-containing window pattern supplied from the address generation circuit 5 via the switching circuit 7. It is written into the first frame memory as a binarized window disk according to the address.

このようにしで、ウィンドウデータのM積が終了すると
、カメラ1をベルトコンベヤ近傍等の所定の箇所に配置
する。カメラ】は、CPU6が所定のタイミングで起動
したアドレス発生回路5からの同期信号の下で、ヘルト
コンベヤ上を搬送されてゆく製品(対象物体)の画像を
取込み、2値化回路2に供給する。2値化回路2の出力
は、切替え回路8と9を経てアンドゲート11の一方の
入力端子に供給される。一方、第1のフレームメモリ3
には、これもCPU6の制御の下でリード信号Rとアド
レス信号が供給されており、読出されたウィンドウデー
タは切替え回路10を経てアントゲ−1−11の他方の
入力端子に結合する。アンドゲート11において、ウィ
ンドウデータとの論理積が取られた対象物体の2値化デ
ータは第2のフレームメモリに書込まれる。なお、第2
のフレームメモリには、CPU6からのライ(−指令W
とアドレス発生回路5からのアドレス信号が供給されて
いる。
In this manner, when the M product of window data is completed, the camera 1 is placed at a predetermined location such as near the belt conveyor. The camera] captures an image of the product (target object) being conveyed on the HELT conveyor under the synchronization signal from the address generation circuit 5 activated by the CPU 6 at a predetermined timing, and supplies it to the binarization circuit 2. . The output of the binarization circuit 2 is supplied to one input terminal of an AND gate 11 via switching circuits 8 and 9. On the other hand, the first frame memory 3
is also supplied with a read signal R and an address signal under the control of the CPU 6, and the read window data is coupled to the other input terminal of the ant game 1-11 via the switching circuit 10. In the AND gate 11, the binary data of the target object that has been logically ANDed with the window data is written into the second frame memory. In addition, the second
In the frame memory of
and an address signal from the address generation circuit 5 are supplied.

このようにして第2のフレームメモリに蓄積されたウィ
ンドウ処理済みデータは、CPUIからのリード指令と
アドレス発生回路5からのアドレス信号で読出され、後
段の画像処理装置において特徴抽出等の処理に供された
り、あるいは黙視検査のためにCRTに表示されたりす
る。また、切替え回路10の操作により、第1のフレー
ムメモリ3内のウィンドウデータをCRT上に表示する
こともできる。
The window-processed data accumulated in the second frame memory in this way is read out by a read command from the CPUI and an address signal from the address generation circuit 5, and is provided for processing such as feature extraction in the subsequent image processing device. or displayed on a CRT for silent inspection. Further, by operating the switching circuit 10, the window data in the first frame memory 3 can be displayed on the CRT.

本発明の一好適実施例においては、第1のフレームメモ
リ3内に書込まれたウィン1−ウデータがカーソルキー
の位置指定により修正される。
In a preferred embodiment of the invention, the window data written in the first frame memory 3 is modified by positioning the cursor keys.

即ち、」二連したと全く同様の方法によって第2のフレ
ームメモリ3内にウィンドウデータを書込んだ後、カメ
ラ1の下方に標準の物品を置き、その2値化画像データ
を、切替え回路8,9を経て、アント−ゲート11を介
することなく第2のフレームメモリ4に書込み、これを
更にCI? T上に表示させる。次に、修正指令キー1
3の押下げによりウィンドウデータの修正をCP U 
6に指令した後、CRTに表示中の物品の画面を参)!
Qしつつカーソルキー14を操作してウィンドウの修正
箇所までカーソルを移動させ、追加指令キー15又は削
除指令キー16を押下げることにより、ウィンドウ領域
の追加/削除を行う。追加されたウィンドウ領域では第
1のフレームメモリ3内の対応の領域のウィンドウデー
タが“0”から“1″に反、転され、これに対して削除
されたウィンドウ領域では第1のフレームメモリ3内の
対応の領域のウィンドウデータが“1゛から“0゛に反
転される。
That is, after writing the window data into the second frame memory 3 in exactly the same manner as in the case of "double series", a standard article is placed below the camera 1, and the binarized image data is transferred to the switching circuit 8. . Display it on T. Next, modify command key 1
By pressing 3, the window data can be modified by the CPU.
After commanding 6), see the screen of the item being displayed on the CRT)!
By operating the cursor key 14 while pressing the Q button to move the cursor to the modification point in the window, and pressing down the addition command key 15 or the deletion command key 16, window areas are added/deleted. In the added window area, the window data in the corresponding area in the first frame memory 3 is inverted from "0" to "1", and on the other hand, in the deleted window area, the window data in the corresponding area in the first frame memory 3 is inverted. The window data of the corresponding area within is inverted from "1" to "0".

上述の実施例では、バッファ用として第2のフレームメ
モリを使用したが、ウィンドウ処理済みデータを直ちに
処理又は表示する場合には、これを省略することもでき
る。
In the embodiments described above, the second frame memory is used as a buffer, but it can be omitted if the windowed data is to be processed or displayed immediately.

発明の効果 以上詳細に説明したように1本発明は、 所望のウィン
ドウを表示する画像パターンを2値化したものをウィン
ドウデータとしてフレームメモリに書込み1次いで対象
物体の画像を量子化したものを前記フレームメモリから
読出したウィンドウデータとの論理積を取ることにより
ウィンドウ処理するように構成されているので、比較的
簡易な方法とシステムにより、複雑な形状のウィンドウ
を設定できると云う利点がある。
Effects of the Invention As explained in detail above, the present invention has the following features: A binarized image pattern for displaying a desired window is written into a frame memory as window data. Since the window processing is performed by performing a logical product with the window data read from the frame memory, there is an advantage that a window with a complicated shape can be set using a relatively simple method and system.

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

図は2本発明の一実施例が適用される画像処理システム
の部分構成ブロック図である。 1・・カメラ、2・・2値化回路、3・・第1のフレー
ムメモリ、4・・第2のフレームメモリ、5・・アドレ
ス発生回路、6・・CPU、?乃至10・・切替え回路
、11・・アンドゲート。 特許出願人 ファナソク株式会社
2 is a partial configuration block diagram of an image processing system to which an embodiment of the present invention is applied. 1...Camera, 2...Binarization circuit, 3...First frame memory, 4...Second frame memory, 5...Address generation circuit, 6...CPU, ? 〜10...Switching circuit, 11...And gate. Patent applicant Fanasoku Co., Ltd.

Claims (1)

【特許請求の範囲】 量子化画像画像のウィンドウ処理方式において。 所望のウィンドウを表示する画像パターンを2値化した
ものをウィンドウデータとしてフレームメモリに書込み
。 該書込後、対象物体の量子化画像を表示装置に表示しつ
つカーソルキーの位置指定により該フレームメモリ内の
ウィンドラブ・−夕を修正し。 対象物体の画像を量子化したものを前記フレームメモリ
から読出したウィンドウデータとの論理積を取ることに
よりウィンドウ処理することを特徴とする画像のウィン
ドウ処理力式。 るムト4−をlY→攻宍旨匈−る祷卜齢l葦刊しの坤止
囲膚H=頃曙i禰lα剛軸扼刺七≠社÷姻穆坊春
[Claims] In a window processing method for quantized images. A binarized image pattern that displays the desired window is written to the frame memory as window data. After the writing, while displaying the quantized image of the target object on the display device, the wind rub in the frame memory is corrected by specifying the position of the cursor key. An image window processing power formula, characterized in that window processing is performed by performing a logical product of a quantized image of a target object with window data read from the frame memory. Rumuto 4- is lY → attack on the attack, the prayer age l, the reed publication, the gon stop surrounding H = around the dawn, Ine lα, the rigid axis, and the seven ≠ the company ÷ the marriage of Muboharu.
JP58136239A 1983-07-25 1983-07-25 Window processing system of picture Pending JPS6027084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58136239A JPS6027084A (en) 1983-07-25 1983-07-25 Window processing system of picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58136239A JPS6027084A (en) 1983-07-25 1983-07-25 Window processing system of picture

Publications (1)

Publication Number Publication Date
JPS6027084A true JPS6027084A (en) 1985-02-12

Family

ID=15170530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58136239A Pending JPS6027084A (en) 1983-07-25 1983-07-25 Window processing system of picture

Country Status (1)

Country Link
JP (1) JPS6027084A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62145489A (en) * 1985-12-20 1987-06-29 Omron Tateisi Electronics Co Picture recognition device
JPS62196777A (en) * 1986-02-24 1987-08-31 Shigumatsukusu Kk Object recognizing device
JPS62208180A (en) * 1986-03-10 1987-09-12 Yaskawa Electric Mfg Co Ltd Method for detecting center of incomplete circle
US4829454A (en) * 1985-08-08 1989-05-09 Fanuc Ltd Picture processing apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50144343A (en) * 1974-05-10 1975-11-20
JPS53124946A (en) * 1977-04-08 1978-10-31 Agency Of Ind Science & Technol Operation mask unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50144343A (en) * 1974-05-10 1975-11-20
JPS53124946A (en) * 1977-04-08 1978-10-31 Agency Of Ind Science & Technol Operation mask unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4829454A (en) * 1985-08-08 1989-05-09 Fanuc Ltd Picture processing apparatus
JPS62145489A (en) * 1985-12-20 1987-06-29 Omron Tateisi Electronics Co Picture recognition device
JPS62196777A (en) * 1986-02-24 1987-08-31 Shigumatsukusu Kk Object recognizing device
JPS62208180A (en) * 1986-03-10 1987-09-12 Yaskawa Electric Mfg Co Ltd Method for detecting center of incomplete circle

Similar Documents

Publication Publication Date Title
KR970073025A (en) PC and TV adaptive PIP video signal processing circuit
JPS6027084A (en) Window processing system of picture
JP2007248635A (en) Image data processor and image data display processing method
US5841445A (en) Image displaying apparatus
JPS61208578A (en) Image forming device
JP2897876B2 (en) Code data expansion processing method
JPS6113381A (en) Image processor
JPS5518745A (en) Hidden-line erasing system of display unit
JP2002271751A (en) Display control method and device
JPH0311145B2 (en)
JP2580815B2 (en) Semiconductor memory
JPH0564162A (en) Picture signal processing unit
JP2023167630A (en) Image processing apparatus and image processing method
JPH0129643Y2 (en)
JPS6365575A (en) Detecting method for singular point by image processing
WO1986001062A1 (en) Apparatus for correcting window data
JPH037178B2 (en)
JPH04142676A (en) Binary image conversion method
JPH08160903A (en) Method and device for displaying digital picture
JPH06309468A (en) Data display device
JPH0581948B2 (en)
JPS60110086A (en) Picture reducing system
KR940016094A (en) Moving picture restoration circuit
JPH04317174A (en) Parts registrating device
JPH10145716A (en) Data compressor