JPS60256878A - Picture processor - Google Patents
Picture processorInfo
- Publication number
- JPS60256878A JPS60256878A JP11360784A JP11360784A JPS60256878A JP S60256878 A JPS60256878 A JP S60256878A JP 11360784 A JP11360784 A JP 11360784A JP 11360784 A JP11360784 A JP 11360784A JP S60256878 A JPS60256878 A JP S60256878A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- memory
- processing
- data
- counters
- 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
Links
- 230000015654 memory Effects 0.000 claims abstract description 53
- 230000004044 response Effects 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 12
- 238000007689 inspection Methods 0.000 description 9
- 238000012935 Averaging Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
- G06T7/001—Industrial image inspection using an image reference approach
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明は、デシ゛タル化された画像データを処理する装
置に関する。TECHNICAL FIELD The present invention relates to an apparatus for processing digitized image data.
背景技術
第1図は、先行技術を示す画像処理装置1のブロック図
である、工業用テレビカメラIによって撮像された被検
査物体の画像データは、デジタル化回路りによってデジ
タル化される。演算処理回路Pは、工業用テレビカメラ
Iの走査に同期してデジタル化回路りがらのデータを時
系列的に演算する。制御回路Cは工業用テレビカメラI
、デジタル化回路りおよび演算処理回路Pの制御を行な
う。このような、先行技術の画像処理回路1では、演算
処理回路Pが一般的に−っしかないため1種類の計算し
か行な、えないという欠点があった。BACKGROUND ART FIG. 1 is a block diagram of an image processing apparatus 1 showing a prior art. Image data of an object to be inspected captured by an industrial television camera I is digitized by a digitization circuit. The arithmetic processing circuit P calculates data from the digitization circuit in chronological order in synchronization with the scanning of the industrial television camera I. Control circuit C is industrial television camera I
, the digitization circuit and the arithmetic processing circuit P. The image processing circuit 1 of the prior art has a drawback in that it can only perform one type of calculation because there is generally only one arithmetic processing circuit P.
第2図は、他の先行技術を示めす画像処理装置2のブロ
ック図である。この先行技術は、前述の先行技術に類似
し、対応する部分には、同一の参照符を付す。この先行
技術の画像処理i置2は、デジタル化回路りによってデ
ジタ、ル化された一画面分の画像データをフレームメモ
リFに記憶したのちに制御装置Cによってフレームメモ
リFに記tされている画像データを処理する装置である
。FIG. 2 is a block diagram of an image processing device 2 showing another prior art. This prior art is similar to the prior art described above, and corresponding parts are given the same reference numerals. In the image processing system 2 of this prior art, image data for one screen digitized by a digitizing circuit is stored in a frame memory F, and then written in the frame memory F by a control device C. This is a device that processes image data.
このような画像路3!!!装置2は、一度フレームメモ
リFに画像データを記憶するため、処理時間が長くなり
リアルタイム処理が行なえないという欠点があった。ま
たこのような画像処理装置2では、工業用テレビカメラ
Iが複数台になったとき、工業用テレビカメラ・Iの台
数に対応した数の7ン一ムメモリFが必要となるため高
価になるとνtう欠点があった。さらにこのような画像
処理装置2では、デジタル化回路りによって、デジタル
化するレベルが2段以上必要なときには、多値化処理と
なるため、処理時間がさらに長くなるとν・う欠、dが
あった。Image path 3 like this! ! ! The device 2 has the disadvantage that since the image data is once stored in the frame memory F, the processing time is long and real-time processing cannot be performed. In addition, in such an image processing device 2, when there are a plurality of industrial television cameras I, a number of 7-frame memories F corresponding to the number of industrial television cameras I are required, which makes it expensive. There were some drawbacks. Furthermore, in such an image processing device 2, when two or more levels of digitization are required due to the digitization circuit, multi-level processing is performed, so if the processing time becomes longer, ν, defects, and d may occur. Ta.
目的
本発明の目的は、たとえば被検査物体の多画面、多検査
項目および多検査領域などの処理を尚速度で行なうこと
ができる画像処理装置を提供することである。OBJECT It is an object of the present invention to provide an image processing apparatus that can process, for example, multiple screens, multiple inspection items, and multiple inspection areas of an object to be inspected at a high speed.
実施例
第3図は、本発明の一実施例の画像処理装置10のブロ
ック図である。画像処理装置10は、第4図示のメモリ
データ11に応答して各種の処理を行なう。メモリデー
タ11は、たとえばウィンドウ番号ビット11a、論理
演算モードビット1!′1bおよび切替えピッ)llc
から成る。メモリデータの数量は、工業用テレビカメラ
TTV、〜ITVnのうちの1台の全画素の数量に対応
している。主記憶装置MSは、全面面分のメモリデータ
11を有している。制御装置CPUは、主記憶装置MS
に記憶されているメモリデータのうち一画面分だけのメ
モリデータ11を必要に応して、高速度で画像処理条件
メモl)PMに出力する。Embodiment FIG. 3 is a block diagram of an image processing apparatus 10 according to an embodiment of the present invention. The image processing device 10 performs various processes in response to the memory data 11 shown in FIG. Memory data 11 includes, for example, window number bit 11a, logical operation mode bit 1! '1b and switching pin)llc
Consists of. The quantity of memory data corresponds to the quantity of all pixels of one of the industrial television cameras TTV, to ITVn. The main memory device MS has memory data 11 for the entire surface. The control device CPU is connected to the main storage device MS.
Memory data 11 for one screen out of the memory data stored in is outputted to the image processing condition memory l) PM at high speed as required.
工業用テレビカメラITV、〜ITVnは、被検査物体
を撮像し、画像データをデジタル化回路DEに出力する
。デジタル化回路DEは比較回路COl−COnから成
る。比較回路CO1〜CODは、それぞれ設定される弁
別レベルに従って工業用テレビカメラITV、〜ITV
nからの画像データの2値化または多値化の処理を行な
う。比較回路CO1〜Conの弁別レベルは、画像処理
条件メそりPMに記憶されているメモリデータ11の切
替えピッ)11cによって決定する。論理演算回路LP
は、デジタル化回路DEからの出力を画像“処理条件メ
モリP’Mに記mされているメモリデー(劉
夕11の論理演算ビット11bに従って論理積S、、。The industrial television cameras ITV, to ITVn image the object to be inspected and output image data to the digitization circuit DE. The digitization circuit DE consists of comparison circuits COl-COn. The comparison circuits CO1 to COD select the industrial television cameras ITV, -ITV according to the respective set discrimination levels.
Performs binarization or multi-value processing of the image data from n. The discrimination level of the comparison circuits CO1 to Con is determined by the switching pin 11c of the memory data 11 stored in the image processing condition memory PM. Logic operation circuit LP
The output from the digitization circuit DE is converted into an image "memory data recorded in the processing condition memory P'M (logical product S, . . . according to the logical operation bit 11b of Liu Yu 11).
を行なう。論理演算回路LPは、たとえばAND。Do this. The logic operation circuit LP is, for example, AND.
OR,X−0Rなどの論理計算を行なう。リアルタイム
処理演算回路RPは、画像処理条件メモリPMに記!さ
れているメモリデータ11のウィンドウ番号ピッ)14
aの内容に応答して、ウィンドウ番号ごとの処理を行な
う。リアルタイム処理演算回路RPは、たとえば加減算
、掛算、割算、平均、相関の機能を持ち面積または重心
位置などの計算を行なう。デジタル北回路DE1論理演
算回路LPおよびリアルタイム処理演算回路RPは、工
業用テレビカメラITV、〜ITVnの走査に同期して
処理が行なわれる。このため画像処理装置10は、リア
ルタイム処理を行なうことができ、高速度で処理を行な
うことかできる。Performs logical calculations such as OR and X-0R. The real-time processing calculation circuit RP is recorded in the image processing condition memory PM! The window number of memory data 11 that is being displayed is 14
In response to the contents of a, processing is performed for each window number. The real-time processing arithmetic circuit RP has functions such as addition/subtraction, multiplication, division, averaging, and correlation, and performs calculations such as area or center of gravity position. The logic operation circuit LP of the digital north circuit DE1 and the real-time processing operation circuit RP perform processing in synchronization with the scanning of the industrial television cameras ITV to ITVn. Therefore, the image processing device 10 can perform real-time processing and can perform processing at high speed.
このように制御回路CPUは1.記JrB、装置MSに
記憶されている一画面分のメモリデータ11を選択的に
画像処理条件メモリPMに転送することによって、メモ
リデータ11に記憶されている条件で被検査物体の画像
データを即時処理することができる。In this way, the control circuit CPU 1. JrB, by selectively transferring one screen worth of memory data 11 stored in the device MS to the image processing condition memory PM, image data of the object to be inspected can be instantly generated under the conditions stored in the memory data 11. can be processed.
第5図は、制御手段CPUの動作を示す波形図である。FIG. 5 is a waveform diagram showing the operation of the control means CPU.
第5図(1)は、主記憶装置MSから一画面分のメモリ
データ11を画像処理条件メモljPMに転送する時間
を示している。第5図(2)は、論理演算回路LPおよ
びリアルタイム処理演算回路RPの処理時開を示してい
る。第5図(3)は、制御装置CPtJがリアルタイム
処理演算回路RPに記憶されている演算結果を読出す時
間を示している。期間W1において、一画面分のメモリ
データ11が画像処理条件メモljPMに転送される。FIG. 5(1) shows the time required to transfer one screen worth of memory data 11 from the main storage device MS to the image processing condition memory ljPM. FIG. 5(2) shows the logic operation circuit LP and the real-time processing operation circuit RP open during processing. FIG. 5(3) shows the time during which the control device CPtJ reads out the calculation results stored in the real-time processing calculation circuit RP. During the period W1, one screen worth of memory data 11 is transferred to the image processing condition memory ljPM.
期間W2は、論理演算回路LPおよびリアルタイム処理
演算回路RPの処理時間を示し、約16〜33+osで
ある。期間W3は、リアルタイム処理演算回路RPに記
憶されている演算結果の読出し時間を示している。期間
W4は、処理項目を変更するときにのみ要する。すなわ
ち前述の処理項目と同じ処理を行なうときは、期間W4
は必要としない。期間ws、w6は、期間W2、W3と
同様である。このように画像処理装置10は、即時処理
を行なうことができる。The period W2 indicates the processing time of the logic operation circuit LP and the real-time processing operation circuit RP, and is approximately 16 to 33+os. The period W3 indicates the readout time of the calculation results stored in the real-time processing calculation circuit RP. The period W4 is required only when changing the processing item. In other words, when performing the same process as the above-mentioned process item, period W4
is not required. The periods ws and w6 are similar to the periods W2 and W3. In this way, the image processing device 10 can perform instant processing.
、第6図は、本発明の他の実施例の画像処理装置20の
ブロック図である。主記憶装置21は、第7図に示され
るような、メモリデータ22の企画面分のデータか記憶
されている。制御回路23は、主記憶装置21に記憶さ
れている一画面分のメモリデータ22を選択的に画像処
理条件メモリ24に転送させる。工業用テレビカメラ2
5.26は、被検査物体を撮像する。工業用テレビカメ
ラ26から出力された画像データは、比較回路27.2
8に入力される。比V回路27.28の弁別レベルはそ
れぞれ異なっている。工業用テレビカメラ26から出力
された画像データは、比較回路2つに入力される。比較
回路27〜2つの弁別レベルは、制御回路23の制御に
よって弁別レベルを変化することができる。論理回路3
0は、画像処理条件メモリ24に記憶されるメモリデー
タ22の状態に応じて論理演算を行なう。カウンタCN
T1〜CNTnは、論理演算回路30がらの出力を、、
カウントする。ウィンドウ番号は、画像処理条件メモリ
24に記憶されている条件メモリデータ22のウィンド
ウ番号ビット22aをデコーダ31によって解読し、カ
ウンタCNT、−、〜CNTnに入力される。カウンタ
CNTl−CNTnは、テ゛コーグ31からの出力に応
答して能動化される。, FIG. 6 is a block diagram of an image processing device 20 according to another embodiment of the present invention. The main storage device 21 stores data for the plan side of the memory data 22 as shown in FIG. The control circuit 23 selectively transfers one screen worth of memory data 22 stored in the main storage device 21 to the image processing condition memory 24 . Industrial TV camera 2
5.26 images the object to be inspected. The image data output from the industrial television camera 26 is sent to a comparison circuit 27.2.
8 is input. The discrimination levels of the ratio V circuits 27 and 28 are different. Image data output from the industrial television camera 26 is input to two comparison circuits. The two discrimination levels of the comparison circuit 27 can be changed under the control of the control circuit 23. logic circuit 3
0 performs a logical operation according to the state of the memory data 22 stored in the image processing condition memory 24. Counter CN
T1 to CNTn are outputs from the logic operation circuit 30,
Count. The window number is decoded by the decoder 31 from the window number bit 22a of the condition memory data 22 stored in the image processing condition memory 24, and is input to the counters CNT, -, to CNTn. Counters CNT1-CNTn are activated in response to the output from clock 31.
カウンタCNT、〜CNTnからの出力は、マルチプレ
クサ32に入力される。マルチプレクサ32は、カウン
タCNT、〜CNTnからの出力を選択的に制御装置2
3に出力する。このように主記憶装置21に記1!され
ている企画面分のメモリデータ22のうち一画面分のメ
モリデータ22を画像処理条件メモリ24に転送するだ
けで被検査物体の多画面、多検査項目および多検査領域
の処理を行なうことができる。Outputs from counters CNT, -CNTn are input to multiplexer 32. The multiplexer 32 selectively outputs the outputs from the counters CNT to CNTn to the control device 2.
Output to 3. In this way, 1! is written in the main memory 21! It is possible to process multiple screens, multiple inspection items, and multiple inspection areas of an object to be inspected by simply transferring one screen's worth of memory data 22 out of the memory data 22 for planned planes to the image processing condition memory 24. can.
被検査物体の多画面の処理とは、前述の実施例における
工業用テレビカメラITV、〜ITVn。The multi-screen processing of the object to be inspected refers to the industrial television cameras ITV to ITVn in the above-mentioned embodiments.
25.26の撮像領域および時間的に切換わ撮像領域の
意味である。被検査物体の多検査項目とは、メモリデー
タ11.22の内容に従って処理項目が変化する論理演
算回路LP、30、リアルタイム処理演算回路RPおよ
びカウンタCNT、〜C1NTnの検査項目の意味であ
る。被検査物体の多検査領域とは、メモリデータ11,
22のウィンドウ番号ピッ)lla、22aで示される
処理領域の意味である。前述の実施では、企画面分のメ
モリデータ11,22を記憶してν・る主記憶装置MS
、21から必要に応じて一画面分のメモリデータil、
22を画像処理条件メモリPM、24に転送したけれど
も、各画面同一処理の場合は、最初から画像処理条件メ
モ’JPM、24に一画面分のメモリデータ11.12
を記憶しておいてもより1。25 and 26 and the temporally switched imaging regions. The multiple inspection items of the object to be inspected refer to the inspection items of the logical operation circuits LP, 30, the real-time processing operation circuit RP, and the counters CNT, to C1NTn, whose processing items change according to the contents of the memory data 11.22. The multi-inspection area of the object to be inspected is the memory data 11,
This is the meaning of the processing area indicated by window number 22, 22a, and 22a. In the above-mentioned implementation, the main storage device MS stores the memory data 11 and 22 for the planning side.
, 21 to one screen worth of memory data il as needed,
22 is transferred to the image processing condition memory PM, 24, but if each screen is processed the same, one screen's worth of memory data 11.12 is transferred to the image processing condition memo 'JPM, 24 from the beginning.
It is better to remember 1.
前述の実施例では、被検査物体を撮像したけれどもコン
ピュータなどのグラフィックデータを処理するようにし
てもよい。In the embodiments described above, the image of the object to be inspected is taken, but graphic data may be processed by a computer or the like.
また前述の実施例では、画素毎にメモリデータをイ・j
加して処理を行なったけれども、複数画素毎にメモリデ
ータを付加上て処理を行なうようにしてもよい。In addition, in the above-mentioned embodiment, memory data is stored for each pixel.
Although the processing is performed in addition, memory data may be added and processed for each plurality of pixels.
効果
以上のように本発明によれば、デノタル化手段および演
算処理手段の処理動作を制御する情報に従って、デノタ
ル化手段および演算処理手段の制御を行なうため、たと
えば被検査物体などの多画面、多検査項目および多検査
領域の処理を高速度で行なうことができる。Effects As described above, according to the present invention, the denotalizing means and the arithmetic processing means are controlled in accordance with the information for controlling the processing operations of the denotalizing means and the arithmetic processing means. Inspection items and multiple inspection areas can be processed at high speed.
第1図は先行技術を示す画像処理装置1のブロック図、
第2図・は他の先行技術の画像処理装置2のブロック図
、第3図は本発明の一実施例の画像処理装置10のブロ
ック図、第4図はメモリデータ11を説明するための図
、第5図は制御手段CPUの動作を示す波形図、@6図
は本発明の他の実施例画像処理装置20のブロック図、
第7図はメモリデータ22を示す図である。
10.20・・・画像処理装置、11.22・・メモリ
データ、21.MS・・・主記憶装置、23.CPU・
・・制御回路、24.PM・・・画像処理条件メモリ、
25.26.ITV、〜ITV口・・・工業用テレビカ
メラ、27〜29.CO,〜COn・・比較回路、30
、LP・・・論理回路、DE・・・デシ゛タル化回路、
RP・・・リアルタイム処理演算回路、CNT、〜CN
Tn・・・カウンタ
第5図
第6図FIG. 1 is a block diagram of an image processing device 1 showing the prior art;
2 is a block diagram of another prior art image processing device 2, FIG. 3 is a block diagram of an image processing device 10 according to an embodiment of the present invention, and FIG. 4 is a diagram for explaining memory data 11. , FIG. 5 is a waveform diagram showing the operation of the control means CPU, and FIG. 6 is a block diagram of an image processing device 20 according to another embodiment of the present invention.
FIG. 7 is a diagram showing the memory data 22. 10.20... Image processing device, 11.22... Memory data, 21. MS...main storage device, 23. CPU・
...control circuit, 24. PM...image processing condition memory,
25.26. ITV, ~ITV mouth...Industrial television camera, 27~29. CO, ~CON... Comparison circuit, 30
, LP... logic circuit, DE... digitization circuit,
RP... Real-time processing arithmetic circuit, CNT, ~CN
Tn...Counter Figure 5 Figure 6
Claims (1)
の処理゛条件を書替え可能にストアするメモリと、 メモリのストア内容に応答して、画像データを演算処理
する演算回路とを含むことを特徴とする画像処理装置。[Scope of Claims] A memory for rewritably storing processing conditions for at least one frame of digitized image data; and an arithmetic circuit for processing the image data in response to the contents stored in the memory. An image processing device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11360784A JPS60256878A (en) | 1984-06-01 | 1984-06-01 | Picture processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11360784A JPS60256878A (en) | 1984-06-01 | 1984-06-01 | Picture processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60256878A true JPS60256878A (en) | 1985-12-18 |
Family
ID=14616500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11360784A Pending JPS60256878A (en) | 1984-06-01 | 1984-06-01 | Picture processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60256878A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0321070A2 (en) * | 1987-12-15 | 1989-06-21 | Nortel Networks Corporation | Data/image acquisition system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53124946A (en) * | 1977-04-08 | 1978-10-31 | Agency Of Ind Science & Technol | Operation mask unit |
JPS5886587A (en) * | 1981-11-18 | 1983-05-24 | 株式会社日立製作所 | Cathode ray tube display |
JPS5944092A (en) * | 1982-09-07 | 1984-03-12 | 株式会社ピーエフユー | Indication control system for display |
-
1984
- 1984-06-01 JP JP11360784A patent/JPS60256878A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53124946A (en) * | 1977-04-08 | 1978-10-31 | Agency Of Ind Science & Technol | Operation mask unit |
JPS5886587A (en) * | 1981-11-18 | 1983-05-24 | 株式会社日立製作所 | Cathode ray tube display |
JPS5944092A (en) * | 1982-09-07 | 1984-03-12 | 株式会社ピーエフユー | Indication control system for display |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0321070A2 (en) * | 1987-12-15 | 1989-06-21 | Nortel Networks Corporation | Data/image acquisition system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5440648A (en) | High speed defect detection apparatus having defect detection circuits mounted in the camera housing | |
JPH01270177A (en) | Cellular picture segmenting and storing processor and method | |
JPS628072B2 (en) | ||
JPS60256878A (en) | Picture processor | |
JPS5967788A (en) | Still picture generator of television receiver | |
JPH0778720B2 (en) | Image synthesizer | |
JPH035628B2 (en) | ||
JPH0145667B2 (en) | ||
JP2501799B2 (en) | Image processing device | |
JPS61140270A (en) | Picture element density converter | |
RU2006942C1 (en) | System for image processing | |
JP2705052B2 (en) | Pattern inspection equipment | |
JPH0129643Y2 (en) | ||
KR0173246B1 (en) | Apparatus for processing binary image projection | |
JP2536183B2 (en) | Image processing method and apparatus | |
JPS63160486A (en) | Picture data compressor | |
Mcllroy et al. | Edge detection in real-time | |
JPH04216179A (en) | Picture processor | |
JPH04184576A (en) | Picture processor | |
JPH0670794B2 (en) | Pattern detector | |
JPH03278185A (en) | Picture processing device | |
JPS6072079A (en) | Area number storing circuit | |
JPH02228776A (en) | Picture processor | |
JPS6224374A (en) | Picture converting device | |
JPH0723875B2 (en) | Image display method in glass bottle inspection device |