JPH023230B2 - - Google Patents
Info
- Publication number
- JPH023230B2 JPH023230B2 JP57053291A JP5329182A JPH023230B2 JP H023230 B2 JPH023230 B2 JP H023230B2 JP 57053291 A JP57053291 A JP 57053291A JP 5329182 A JP5329182 A JP 5329182A JP H023230 B2 JPH023230 B2 JP H023230B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- signal
- processing
- input
- converter
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image 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)
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は高速に画像を入力・処理・記憶する画
像処理装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an image processing device that inputs, processes, and stores images at high speed.
従来の画像処理装置は例えば第1図に示すよう
にテレビジヨンカメラなどの画像入力装置1より
画像信号を入力し、その信号をA/D(アナログ
−デイジタル)変換器2でA/D変換し得られた
デイジタル信号を例えばコンピユータを用いた主
処理装置3に与える。主処理装置3は前記デイジ
タル信号を画像記憶部4に記憶し、画像処理部5
により予定の解析・処理を行なう。
For example, as shown in FIG. 1, a conventional image processing device inputs an image signal from an image input device 1 such as a television camera, and converts the signal into A/D using an A/D (analog-digital) converter 2. The obtained digital signal is given to a main processing unit 3 using a computer, for example. The main processing device 3 stores the digital signal in the image storage section 4 and outputs the digital signal to the image processing section 5.
Analyze and process the schedule.
このような画像処理装置において例えば一画面
が512×512画素(1画素は4ビツト、8ビツトな
どの2進数からなる多値データであらわされる。
このデータは各画素の階調を意味する)。で構成
される濃淡画像を実時間で入力し、解析処理し、
さらに処理結果を機械の制御情報として使用する
場合次に述べるような問題があつた。 In such an image processing device, for example, one screen has 512×512 pixels (one pixel is represented by multivalued data consisting of binary numbers such as 4 bits and 8 bits).
This data means the gradation of each pixel). Input grayscale images consisting of in real time, analyze and process them,
Furthermore, when the processing results are used as machine control information, there are problems as described below.
(イ) 512×512画素等で構成される一画面のデータ
量は膨大な量になる。そのため、一画面を解
析・処理するのに多くの時間を要し、実時間で
充分な処理をさせるのは困難であつた。
(b) The amount of data on one screen consisting of 512 x 512 pixels, etc. is enormous. Therefore, it takes a lot of time to analyze and process one screen, and it is difficult to perform sufficient processing in real time.
(ロ) 実時間で画像情報を入力するためには例えば
毎秒30画面のデータを処理しなければならな
い。しかし画像処理装置の画像処理を本当に必
要とする画面は装置に入力されるすべての画面
ではなく、目的とする対象物が画面内にあらわ
れている画面である場合が多かつた。この場
合、従来の画像処理装置においては対象物が画
面上にあらわれているか否かも画像処理部5で
画面毎に判定しなければならず画像処理部5に
とつて大きな負荷となつていた。(b) In order to input image information in real time, data must be processed at, for example, 30 screens per second. However, the screens that really require image processing by the image processing device are not all the screens that are input to the device, but are often the screens in which the desired object appears on the screen. In this case, in the conventional image processing apparatus, the image processing section 5 has to determine for each screen whether or not the object appears on the screen, which places a heavy load on the image processing section 5.
(ハ) 画像を解析する場合、解析・処理の内容が複
雑化し、処理時間に大きな影響を与えるという
問題もあつた。(c) When analyzing images, there was a problem in that the content of the analysis and processing became complicated, which had a large impact on the processing time.
これらの問題のため、画像処理装置を実時間で
処理する装置として使用する場合は、入力される
画面をすべて処理するのではなく、処理できる範
囲で画像データを間引いて処理したり、処理性能
をおとし簡単な解析手順で処理したりするなど、
かなり制限された条件で使用する以外に適当な方
法がなかつた。 Because of these problems, when using an image processing device as a device that processes in real time, it is necessary to thin out the image data to the extent that it can be processed, rather than processing all input screens, or to reduce processing performance. For example, it can be processed using a simple analysis procedure.
There was no other suitable method other than using it under very limited conditions.
本発明は主処理装置での画像解析・処理内容を
簡単化し、画像解析・処理時間を大幅に短縮し、
実時間処理が充分可能でしかも高い信頼性の得ら
れる画像処理装置を提供することを目的としてい
る。
The present invention simplifies the image analysis/processing content in the main processing unit, significantly shortens the image analysis/processing time,
It is an object of the present invention to provide an image processing device that is sufficiently capable of real-time processing and has high reliability.
本発明は画面単位の画像信号を入力する画像入
力装置と、この画像入力装置により入力された画
像信号をデイジタル信号に変換するA/D変換器
と、このA/D変換器から入力するデイジタルの
画像信号を一時保持する画像記憶部及びこの画像
記憶部に保持された画像信号に対して所定の解
析・処理を施す画像処理部からなる主処理装置
と、前記A/D変換器の出力に基きこの出力を含
む画面中における予め定めた特定階調範囲を弁別
し、当該弁別情報を前記主処理装置に前記A/D
変換器から信号入力する際の信号許可信号として
出力する前処理部を備えたものである。
The present invention includes an image input device that inputs an image signal in units of screens, an A/D converter that converts the image signal input by the image input device into a digital signal, and a digital signal input from the A/D converter. A main processing device consisting of an image storage section that temporarily holds image signals and an image processing section that performs predetermined analysis and processing on the image signals held in this image storage section; A predetermined specific gradation range in the screen including this output is discriminated, and the discrimination information is sent to the main processing unit to the A/D.
It is equipped with a preprocessing section that outputs a signal permission signal when a signal is input from the converter.
第2図に本発明の一実施例の構成を示す。 FIG. 2 shows the configuration of an embodiment of the present invention.
第2図において、撮像素子等からなる画像入力
装置1、A/D変換器2、コンピユータなどを用
いた画像を解析・処理する主処理装置3ならびに
主処理装置3を構成する画像記憶部4と画像処理
部については第1図の場合とおおむね同様であ
る。また6は本発明の特徴である前処理装置であ
り、デイジタル画像信号がA/D変換器2から入
力され、主処理装置3で画像を解析・処理するの
に有益な情報、例えば対象物が存在するか否か、
対象物の位置、解析パラメータなどのような情報
を抽出してこれらの情報を含む信号を主処理装置
3に前記A/D変換器2から信号入力する際の入
力許可信号として与える。 In FIG. 2, an image input device 1 consisting of an image sensor, etc., an A/D converter 2, a main processing device 3 that analyzes and processes images using a computer, etc., and an image storage section 4 constituting the main processing device 3. The image processing section is generally the same as that shown in FIG. Reference numeral 6 denotes a preprocessing device which is a feature of the present invention, in which digital image signals are input from the A/D converter 2, and information useful for analyzing and processing the image in the main processing device 3, such as information on the object. whether it exists or not
Information such as the position of the object and analysis parameters is extracted and a signal containing this information is given to the main processing device 3 as an input permission signal when inputting the signal from the A/D converter 2.
次にこのような構成における動作について説明
する。 Next, the operation in such a configuration will be explained.
まず、画像入力装置1により対象画像が入力さ
れ、A/D変換器2で画像がデイジタル信号に変
換され、この信号が主処理装置3と前処理装置6
に入力される。主処理装置3はこの画像デイジタ
ル信号の全部または予め設定された一部を画像記
憶部4に記憶する。この間、前処理装置6は前記
画像デイジタル信号から主処理装置3が画像を解
析・処理するのに有益な情報(この情報の種類は
予め設定しておく)を抽出し、さらにその情報を
主処理装置3に与える。画像処理部5は前処理装
置6から得られる情報に基づき画像記憶部4に記
憶されている画像データを解析・処理する。 First, the image input device 1 inputs a target image, the A/D converter 2 converts the image into a digital signal, and this signal is sent to the main processing device 3 and the preprocessing device 6.
is input. The main processing device 3 stores all or a preset part of this image digital signal in the image storage section 4. During this time, the preprocessing device 6 extracts information useful for the main processing device 3 to analyze and process the image (the type of this information is set in advance) from the image digital signal, and further uses that information for the main processing. to device 3. The image processing section 5 analyzes and processes the image data stored in the image storage section 4 based on information obtained from the preprocessing device 6.
ここで、対象物を例えば外周面の一部に黒い文
字が描かれた白い棒状の物体とする。そして背景
が黒であるとすれば画像入力装置1より得られる
画像は第3図に示すようになる。第3図におい
て、Aは白い棒、Bは黒い文字、Cは黒い背景で
ある。 Here, the object is assumed to be, for example, a white bar-shaped object with black letters drawn on a part of its outer circumferential surface. If the background is black, the image obtained from the image input device 1 will be as shown in FIG. In Figure 3, A is a white bar, B is a black letter, and C is a black background.
いま、黒い文字Bを主処理装置3で解析・処理
しようとする場合、背景Cは解析・処理に無関係
の必要のない画像データである。したがつて前処
理装置6では画像入力装置1の視野上に水平にサ
ンプリングラインDを設定し、このサンプリング
ラインD上の画像信号がA/D変換器2を通して
得られたときにそのデータを一時記憶する。第4
図にこの記憶されたデータの一例を示す。第4図
で縦軸は像の明るさに対応する濃度階調であり、
横軸は視野上の水平位置である。Eは背景Cに相
当する部分であり、Fは白い棒Aに相当する部分
である。このデータよりある濃度値Rを基準にと
れば、この基準を越えるか否かによつて白い棒A
の位置P1,P2に対応する情報を得ることができ
る。そして前処理装置6はこの位置P1,P2のデ
ータを主処理装置3に与える。主処理装置3はこ
れによつて白い棒Aの位置を知ることができ、画
面中から白い棒A部分の画像データをそれ以外の
不要な背景C部分の画像データと区別して選択す
ることが可能となる。つまり一画面全体(全画
面)を解析・処理する必要がなくなり、処理時間
が短縮できる。また黒い文字Bが棒Aの側端から
一定の距離にある場合には白い棒Aの位置P1,
P2の情報から文字Bの位置を算出することがで
き、画像を解析・処理するために極めて有効であ
る。 Now, when the main processing unit 3 attempts to analyze and process the black character B, the background C is unnecessary image data that is unrelated to the analysis and processing. Therefore, in the preprocessing device 6, a sampling line D is set horizontally on the field of view of the image input device 1, and when the image signal on this sampling line D is obtained through the A/D converter 2, the data is temporarily Remember. Fourth
The figure shows an example of this stored data. In Figure 4, the vertical axis is the density gradation corresponding to the brightness of the image,
The horizontal axis is the horizontal position on the field of view. E is a portion corresponding to background C, and F is a portion corresponding to white bar A. If a certain density value R is taken as a standard from this data, white bar A will be displayed depending on whether or not it exceeds this standard.
Information corresponding to the positions P 1 and P 2 can be obtained. The preprocessing device 6 then provides data on these positions P 1 and P 2 to the main processing device 3. The main processing unit 3 can thereby know the position of the white bar A, and can select the image data of the white bar A portion from the screen while distinguishing it from the image data of the unnecessary background C portion. becomes. In other words, it is no longer necessary to analyze and process an entire screen (full screen), and processing time can be shortened. Also, if the black character B is at a certain distance from the side edge of stick A, the position of white stick A is P 1 ,
The position of the character B can be calculated from the information of P2 , which is extremely effective for analyzing and processing images.
また、対象物としての白い棒Aが移動している
場合画像入力装置1の視野上に常時対象物が見え
ているとは限らない。例えば画像処理装置を工場
の検査ラインに適用し、製品のチエツクをする場
合、対象物が適宜間隔で連続的に画像入力装置1
の視野上に入つてくる。このような場合、主処理
装置3で毎画面を解析・処理すると非常に無駄が
多い。したがつて前処理装置6で対象物が見えて
いるか否かを常時判定しその結果を主処理装置3
に送れば主処理装置3は対象物が見えている画面
のみを解析・処理すればよいので処理時間に余裕
も生じ且つ画像解析・処理の内容も非常に簡単に
なる。 Further, when the white bar A as the object is moving, the object is not always visible in the field of view of the image input device 1. For example, when an image processing device is applied to an inspection line in a factory to check products, the object is continuously transferred to the image input device 1 at appropriate intervals.
comes into view. In such a case, it would be very wasteful if the main processing unit 3 analyzes and processes each screen. Therefore, the pre-processing device 6 constantly determines whether the object is visible or not, and the result is sent to the main processing device 3.
If the image is sent to the main processing unit 3, the main processing unit 3 only needs to analyze and process the screen on which the object is visible, which frees up the processing time and makes the content of the image analysis and processing very simple.
なお、本発明は上述し且つ図面に示す実施例に
のみ限定されることなく、その要旨を変更しない
範囲内で種々変形して実施することができる。 It should be noted that the present invention is not limited to the embodiments described above and shown in the drawings, but can be implemented with various modifications without changing the gist thereof.
例えばサンプリングラインを画面上に垂直方向
に複数本設定してもよく、また前処理装置で上述
以外の演算・処理等により主処理装置に有益な情
報を抽出するなどしてもよい。 For example, a plurality of sampling lines may be set vertically on the screen, or information useful to the main processing device may be extracted by a preprocessing device using calculations and processing other than those described above.
本発明によれば画像データの解析・処理時間を
著しく短縮でき、主処理装置の解析・処理内容を
簡単化でき、実時間での高度な処理の実現が可能
な信頼性の高い画像処理装置を提供することがで
きる。
According to the present invention, it is possible to significantly shorten the time for analyzing and processing image data, simplify the analysis and processing contents of the main processing unit, and provide a highly reliable image processing device that can realize advanced processing in real time. can be provided.
第1図は従来の画像処理装置の構成を示すブロ
ツク図、第2図は本発明の一実施例の構成を示す
ブロツク図、第3図は同実施例における処理画像
の一例を示す図、第4図は同実施例におけるサン
プリングライン上の画像データの一例を示す図で
ある。
1……画像入力装置、2……A/D(アナログ
−デイジタル)変換器、3……主処理装置、4…
…画像記憶部、5……画像処理部、6……前処理
装置。
FIG. 1 is a block diagram showing the configuration of a conventional image processing device, FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 3 is a diagram showing an example of a processed image in the same embodiment, and FIG. FIG. 4 is a diagram showing an example of image data on the sampling line in the same embodiment. 1... Image input device, 2... A/D (analog-digital) converter, 3... Main processing unit, 4...
...image storage unit, 5...image processing unit, 6...preprocessing device.
Claims (1)
と、この画像入力装置により入力された画像信号
をデイジタル信号に変換するA/D変換器と、こ
のA/D変換器から入力するデイジタルの画像信
号を一時保持する画像記憶部及びこの画像記憶部
に保持された画像信号に対して所定の解析・処理
を施す画像処理部からなる主処理装置と、前記
A/D変換器の出力に基づきこの出力を含む画面
中における予め定めた特定階調範囲を弁別し、当
該弁別情報を前記主処理装置に前記A/D変換器
から信号入力する際の入力許可信号として出力す
る前処理部とを具備したことを特徴とする画像処
理装置。1. An image input device that inputs an image signal for each screen, an A/D converter that converts the image signal input by the image input device into a digital signal, and a digital image signal input from the A/D converter. a main processing unit consisting of an image storage section that temporarily stores the image signal, and an image processing section that performs predetermined analysis and processing on the image signal stored in the image storage section; and a pre-processing unit that discriminates a predetermined specific gradation range in a screen including a predetermined gradation range and outputs the discrimination information as an input permission signal when inputting a signal from the A/D converter to the main processing unit. An image processing device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57053291A JPS58169670A (en) | 1982-03-31 | 1982-03-31 | Picture processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57053291A JPS58169670A (en) | 1982-03-31 | 1982-03-31 | Picture processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58169670A JPS58169670A (en) | 1983-10-06 |
| JPH023230B2 true JPH023230B2 (en) | 1990-01-22 |
Family
ID=12938614
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57053291A Granted JPS58169670A (en) | 1982-03-31 | 1982-03-31 | Picture processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58169670A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5342507B2 (en) * | 1973-09-27 | 1978-11-11 |
-
1982
- 1982-03-31 JP JP57053291A patent/JPS58169670A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58169670A (en) | 1983-10-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5073953A (en) | System and method for automatic document segmentation | |
| US4545070A (en) | Pattern discriminator | |
| US5680476A (en) | Method of classifying signals, especially image signals | |
| EP0156344B1 (en) | Image processing segmentation apparatus | |
| US4959869A (en) | Method for determining binary coding threshold value | |
| CA1316605C (en) | Method of searching binary images to find search regions in which straight lines may be found | |
| JP3772262B2 (en) | How to identify the type of an image | |
| GB1558676A (en) | Symbol recognition enhancing apparatus | |
| JPH023230B2 (en) | ||
| JPS6359272A (en) | Picture processor | |
| KR940010474B1 (en) | How to improve image quality | |
| JP2784059B2 (en) | Method and apparatus for removing noise from binary image | |
| JP2908451B2 (en) | Method and apparatus for processing scanned video images | |
| JP2800192B2 (en) | High-speed character / graphic separation device | |
| JP2504225B2 (en) | Image processing device | |
| JPH11308438A (en) | Image processing device | |
| JPS6383881A (en) | Image processor | |
| JPS6197788A (en) | Noise removing method | |
| JPH0727567B2 (en) | Area detection method of connected figure | |
| JPH04116777A (en) | Picture processor | |
| JPS6346875B2 (en) | ||
| JPH01158879A (en) | Binary picture forming device | |
| JPH05242245A (en) | Color picture extracting device | |
| JPH07245708A (en) | Black isolated point remover | |
| JPS62182603A (en) | Apparatus for detecting position of number plate |