JPH0436880A - Picture processor - Google Patents
Picture processorInfo
- Publication number
- JPH0436880A JPH0436880A JP2142971A JP14297190A JPH0436880A JP H0436880 A JPH0436880 A JP H0436880A JP 2142971 A JP2142971 A JP 2142971A JP 14297190 A JP14297190 A JP 14297190A JP H0436880 A JPH0436880 A JP H0436880A
- Authority
- JP
- Japan
- Prior art keywords
- frame memory
- period
- image data
- image
- cpu
- 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 38
- 238000012545 processing Methods 0.000 claims abstract description 35
- 238000000605 extraction Methods 0.000 claims abstract description 11
- 238000000034 method Methods 0.000 claims description 11
- 239000000284 extract Substances 0.000 abstract description 7
- 238000007689 inspection Methods 0.000 description 7
- 238000011179 visual inspection Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 241000282887 Suidae Species 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Processing (AREA)
- Closed-Circuit Television Systems (AREA)
- Image Analysis (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、製品の外観検査を行う検査装置等に用いられ
る画像処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an image processing device used in an inspection device or the like that performs an external appearance inspection of a product.
(従来の技術)
近年、製品の外観検査には、省人化等の要請から、画像
処理を用いた検査装置が用いられるようになってきた。(Prior Art) In recent years, inspection devices using image processing have come to be used to inspect the appearance of products due to demands for labor savings.
第3図はこのような検査装置に用いられる画像処理装置
の一例を示す図である。FIG. 3 is a diagram showing an example of an image processing device used in such an inspection device.
同図において、1はITVカメラ等の撮像部(図示省略
)により撮像された画像信号をディジタル信号に変換す
るA/D変換器、2はディジタル信号に変換された画像
データを1画面分蓄えるフレームメモリ、3はフレーム
メモリ2に蓄えられた画像データから外観検査のための
特徴を抽出する特徴抽出部である。また、4は統括的制
御を司るCPU、5はデータ出力のタイミング制御を行
うタイミング制御部である。In the figure, 1 is an A/D converter that converts an image signal captured by an imaging unit (not shown) such as an ITV camera into a digital signal, and 2 is a frame that stores one screen worth of image data converted to a digital signal. A memory 3 is a feature extraction unit that extracts features for visual inspection from the image data stored in the frame memory 2. Further, 4 is a CPU that performs overall control, and 5 is a timing control section that performs timing control of data output.
そして、第4図に示すように、A/D変換器1によりデ
ィジタル信号に変換された画像データを、Slの期間で
フレームメモリ2に蓄える。次に、S2の期間でCPU
4が画像の位置合せ処理を施し、S3の期間で特徴抽出
部3がフレームメモリ2に蓄えられた画像データから外
観検査のための特徴を抽出する。最後に、S4の期間て
CPU4が」二足抽出された特徴に基づき外観検査の判
定を行う。Then, as shown in FIG. 4, the image data converted into a digital signal by the A/D converter 1 is stored in the frame memory 2 for a period of Sl. Next, during the S2 period, the CPU
4 performs image alignment processing, and in a period of S3, the feature extraction unit 3 extracts features for visual inspection from the image data stored in the frame memory 2. Finally, during a period of S4, the CPU 4 makes a judgment on the appearance inspection based on the extracted features.
ところが、このような画像処理装置においては、S2及
びS3の期間、フレームメモリ2に画像ブタを蓄えてお
く必要があるため、フレームメモリ2にはS4の期間に
なって始めて次の画像ブタの入力が可能となる。このた
め、上述した各種処理には待ち状態が生じ、処理効率が
悪いという問題かあった。However, in such an image processing device, since it is necessary to store the image data in the frame memory 2 during the periods S2 and S3, the next image data is not input to the frame memory 2 until the period S4. becomes possible. For this reason, a waiting state occurs in the various processes described above, resulting in a problem of poor processing efficiency.
(発明が解決しようとする課題)
このように複数の段階的な処理を必要とする従来の画像
処理装置においては、各種処理には待ち状態が生じ、処
理効率が悪いという問題があった。(Problems to be Solved by the Invention) In conventional image processing apparatuses that require a plurality of stepwise processes as described above, there is a problem that various processes involve waiting states, resulting in poor processing efficiency.
本発明は、このような事情に基づき成されたもので、各
種処理の待ち状態をなくし処理効率を向上させた画像処
理装置を提供することを目的としている。The present invention was made based on the above circumstances, and an object of the present invention is to provide an image processing apparatus that eliminates waiting states for various processes and improves processing efficiency.
[発明の構成]
(課題を解決するだめの手段)
本発明は、−」二連17た課題を解決するために、少な
くとも、画像データをフレームメモリに蓄積する期間と
、この蓄積された画像データの画像の位置合せ処理を施
す期間と、この位置合せ処理の施された画像データから
所定の特徴を抽出する期間と、この抽出された特徴から
所定の判定を行う期間とか必要とされる画像処理装置に
おいて、前記画像データを蓄積するフレームメモリを少
なくとも3組備えるとともに前記位置合せ処理を独立に
施す手段を備え、上記蓄積、位置合せ、特徴抽出及び判
定を独立にかつ連続して行うようにしたことを特徴とす
るものである。[Structure of the Invention] (Means for Solving the Problems) In order to solve the two problems, the present invention provides at least a period for storing image data in a frame memory, and a period for storing the stored image data. The period for performing image alignment processing, the period for extracting predetermined features from the image data that has been subjected to this alignment processing, and the period for making predetermined judgments from these extracted features, and other necessary image processing. The apparatus includes at least three sets of frame memories for storing the image data, and means for independently performing the alignment process, so that the accumulation, alignment, feature extraction, and determination are performed independently and continuously. It is characterized by this.
(作 用)
本発明では、画像データを蓄積するフレームメモリを少
なくとも3組備えるとともに位置合せ処理を独立に施す
手段を備え、蓄積、位置合せ、特徴抽ti1及び判定を
独立にかつ連続して行うようにしたので、各種処理の待
ち状態をなくし処理効率を向上させることができる。(Function) The present invention is provided with at least three sets of frame memories for storing image data, and is also provided with means for independently performing alignment processing, and performs accumulation, alignment, feature extraction ti1, and determination independently and continuously. This makes it possible to eliminate waiting states for various processes and improve processing efficiency.
(実施例) 以下、本発明の実施例の詳細を図面に基づき説明する。(Example) Hereinafter, details of embodiments of the present invention will be explained based on the drawings.
第1図は本発明の一実施例に係る画像処理装置の構成を
示す図である。FIG. 1 is a diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention.
同図において、6はITVカメラ等の撮像部(図示省略
)により撮像された画像信号をディジタル信号に変換す
るA/D変換器、7〜9はディジタル信号に変換された
画像データをそれぞれ]画面性蓄える第1〜第3のフレ
ームメモリ、10は第1〜第3のフレームメモリ7〜9
に蓄えられた画像データから外観検査のための特徴を抽
出する特徴抽出部である。In the figure, 6 is an A/D converter that converts an image signal captured by an imaging unit (not shown) such as an ITV camera into a digital signal, and 7 to 9 are screens for converting image data converted into digital signals, respectively. 10 is the first to third frame memories 7 to 9 for storing data.
This is a feature extraction unit that extracts features for visual inspection from image data stored in the image data.
また、11は統括的制御を司るメインCPU。Further, 11 is a main CPU that performs overall control.
12はデータ出力のタイミング制御を行うタイミング制
御部、]3は画像の位置合ぜの処理と、第1〜第3のフ
レームメモリ7〜9のアクセスに使用されるCPUであ
る。なお、ここにいう画像の位置合せの処理とは、撮像
部により撮像された画像から被撮像物の中心等を求め、
この中心から検査範囲を限定することをいい、第1〜第
33のフレームメモリ7〜9のアクセスとは、第1〜第
3のフレームメモリの空きを検出して画像データの蓄え
を行うフレームメモリの選定を行うことをいり 0
次に、このように構成された画像処理装置の動作を第2
図に示すタイミングチャートに基づき説明する。Reference numeral 12 represents a timing control unit for controlling the timing of data output; and 3 represents a CPU used for image alignment processing and accessing the first to third frame memories 7 to 9. Note that the image alignment process referred to here refers to determining the center of the object to be imaged from the image captured by the imaging unit, and
This refers to limiting the inspection range from this center, and accessing the first to 33rd frame memories 7 to 9 refers to the frame memories that store image data by detecting empty spaces in the first to third frame memories. 0 Next, the operation of the image processing device configured in this way is explained in the second section.
This will be explained based on the timing chart shown in the figure.
まず、A 、/ D変換器6によりディジタル信号に変
換された第1の画像データを、Slの期間でCPU1B
によりアクセスされた第1のフレームメモリ7に蓄える
。First, the first image data converted into a digital signal by the A/D converter 6 is sent to the CPU 1B in a period of Sl.
The data is stored in the first frame memory 7 accessed by.
次に、S2の期間てサブCP U ]、 3が第1のフ
レームメモリ7に蓄えられた第1の画像データの画像の
位置合せ処理を施すとともに、A/D変換器6によりデ
ィジタル信号に変換された第2の画像データをCPU1
3によりアクセスされた第2のフレームメモリ8に蓄え
る。Next, during the period S2, the sub CPU ], 3 performs image alignment processing of the first image data stored in the first frame memory 7, and converts it into a digital signal by the A/D converter 6. The second image data that has been
The data is stored in the second frame memory 8 accessed by 3.
次に、S3の期間で特徴抽出部]0が第1のフレームメ
モリ7に蓄えられた第1の画像データから外観検査のた
めの特徴を抽出するとともに、ザブCPU13が第2の
フレームメモリ8に蓄えられた第2の画像データの画像
の位置合せ処理を施し、かつA/D変換器6によりディ
ジタル信号に変換された第3の画像データをCP U
]、 3によりアクセスされた第3のフレームメモリ9
に蓄える。Next, in the period of S3, the feature extraction unit]0 extracts features for visual inspection from the first image data stored in the first frame memory 7, and the sub CPU 13 extracts features for visual inspection from the first image data stored in the first frame memory 8. The stored second image data is subjected to image alignment processing, and the third image data converted into a digital signal by the A/D converter 6 is sent to the CPU.
], the third frame memory 9 accessed by 3
Store in.
次に、S4の期間でCPU6が第1の画像ブタから抽出
された特徴に基づき外観検査の判定を行う第1のフレー
ムメモリ7の画像データはクリアされ、特徴抽出部]0
が第2のフレームメモリ8に蓄えられた第2の画像デー
タから外観検査のための特徴を抽出し、かつサブCP
U ]、 3が第3のフレームメモリ9に蓄えられた第
3の画像ブタの画像の位置合せ処理を施し、さらにA/
D変換器6によりディジタル信号に変換された第4の画
像データをCP U 13によりアクセスされた第1の
フレームメモリ7に蓄える。Next, in the period of S4, the image data of the first frame memory 7, in which the CPU 6 makes a judgment on appearance inspection based on the features extracted from the first image pig, is cleared, and the image data of the feature extraction section]0
extracts features for visual inspection from the second image data stored in the second frame memory 8, and
U], 3 performs alignment processing on the third image pig image stored in the third frame memory 9, and further A/
The fourth image data converted into a digital signal by the D converter 6 is stored in the first frame memory 7 accessed by the CPU 13.
以下、このような動作を繰り返す。Hereafter, such operations are repeated.
このように本実施例の画像処理装置は、3組のフレ−ム
メモリを有し、位置合せ処理フレームメモリのアクセス
をサブCPUにより行うようにしたので、各種処理の待
ち状態がなくなり処理効率か高い。As described above, the image processing apparatus of this embodiment has three sets of frame memories, and the alignment processing frame memory is accessed by the sub CPU, so that there is no waiting state for various processes and the processing efficiency is high. .
[発明の効果]
以上説明したように本発明によれば、画像ブタを蓄積す
るフレームメモリを少なくとも3組備えるとともに位置
合せ処理を独立に施す手段を備え、蓄積、位置合せ、特
徴抽出及び判定を独立にかつ連続して行うようにしたの
で、各種処理の待ぢ状態をなくし処理効率を向上させる
ことができる。[Effects of the Invention] As explained above, according to the present invention, at least three sets of frame memories for storing image pigs are provided, and a means for independently performing alignment processing is provided, and storage, alignment, feature extraction, and determination are carried out. Since the processes are performed independently and continuously, it is possible to eliminate waiting states for various processes and improve processing efficiency.
第1図は本発明の一実施例に係る画像処理装置の構成を
示す図、第2図この実施例装置の動作を説明するための
タイミングチャート、第3図は従来の画像処理装置の構
成を示す図、第4図は従来装置の動作を説明するための
タイミングチャートである。
6・・A/D変換器、7〜9・・・第1〜第3のフレム
メモリ、]O・・・特徴抽出部、11−・・・メインC
PU、12・・・タイミング制御部、13・・・サブC
P出願人 東芝エンジニアリング株式会社FIG. 1 is a diagram showing the configuration of an image processing device according to an embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of this embodiment of the device, and FIG. 3 is a diagram showing the configuration of a conventional image processing device. The figure shown in FIG. 4 is a timing chart for explaining the operation of the conventional device. 6... A/D converter, 7-9... 1st to 3rd frame memories, ]O... Feature extraction section, 11-... Main C
PU, 12...timing control unit, 13...sub C
P applicant Toshiba Engineering Corporation
Claims (1)
間と、この蓄積された画像データの画像の位置合せ処理
を施す期間と、この位置合せ処理の施された画像データ
から所定の特徴を抽出する期間と、この抽出された特徴
から所定の判定を行う期間とが必要とされる画像処理装
置において、前記画像データを蓄積するフレームメモリ
を少なくとも3組備えるとともに前記位置合せ処理を独
立に施す手段を備え、上記蓄積、位置合せ、特徴抽出及
び判定を独立にかつ連続して行うようにしたことを特徴
とする画像処理装置。At least a period of accumulating image data in a frame memory, a period of performing image alignment processing on the accumulated image data, and a period of extracting predetermined features from the image data subjected to this alignment processing; An image processing apparatus that requires a period of time for making a predetermined determination based on the extracted features is provided with at least three sets of frame memories for storing the image data and means for independently performing the alignment process, An image processing device characterized in that storage, alignment, feature extraction, and determination are performed independently and continuously.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2142971A JPH0436880A (en) | 1990-05-31 | 1990-05-31 | Picture processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2142971A JPH0436880A (en) | 1990-05-31 | 1990-05-31 | Picture processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0436880A true JPH0436880A (en) | 1992-02-06 |
Family
ID=15327922
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2142971A Pending JPH0436880A (en) | 1990-05-31 | 1990-05-31 | Picture processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0436880A (en) |
-
1990
- 1990-05-31 JP JP2142971A patent/JPH0436880A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6629161B2 (en) | Data processing system and data processing method | |
| JPS628072B2 (en) | ||
| JPS60159973A (en) | Picture processing device | |
| JP2004304387A (en) | Image processing device | |
| US6690378B1 (en) | Image processor and image processing method | |
| EP1080447A1 (en) | Image processing inspection apparatus | |
| JPS626273B2 (en) | ||
| JPH0436880A (en) | Picture processor | |
| KR20050006489A (en) | Image processing method and apparatus in image forming system | |
| JP2003046939A (en) | Electronic camera and control IC for electronic camera | |
| JP3007824B2 (en) | Motion detection device | |
| RU2158959C2 (en) | Computer vision system for controlling shape of articles | |
| JPS63274279A (en) | Moving picture processor | |
| KR100189894B1 (en) | The control method of vision application testing system | |
| Zheng et al. | A High Speed and Low Cost Data and Image Processing System using DSP TMS320C25 and an IBM-PC | |
| JPH07141500A (en) | Image processing device | |
| JPS6314391B2 (en) | ||
| JPH039485A (en) | Image processor | |
| KR100286103B1 (en) | Image data processing method | |
| JPH0385681A (en) | Picture processor | |
| JPS61251972A (en) | Image processing device | |
| JPH01185776A (en) | Picture processor | |
| JPH03196232A (en) | Multiprocessor and its abnormality diagnostic method | |
| JPS6318474A (en) | Image processor | |
| JPH11132899A (en) | Inspection method of solid-state imaging device |