[go: up one dir, main page]

JPH02198493A - Image processor - Google Patents

Image processor

Info

Publication number
JPH02198493A
JPH02198493A JP1019268A JP1926889A JPH02198493A JP H02198493 A JPH02198493 A JP H02198493A JP 1019268 A JP1019268 A JP 1019268A JP 1926889 A JP1926889 A JP 1926889A JP H02198493 A JPH02198493 A JP H02198493A
Authority
JP
Japan
Prior art keywords
gradation
windows
signal
brought
image pickup
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
JP1019268A
Other languages
Japanese (ja)
Inventor
Satoshi Yoneda
聡 米田
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP1019268A priority Critical patent/JPH02198493A/en
Priority to US07/469,351 priority patent/US5058181A/en
Priority to AT90101484T priority patent/ATE179007T1/en
Priority to EP90101484A priority patent/EP0380090B1/en
Priority to DE69033046T priority patent/DE69033046T2/en
Publication of JPH02198493A publication Critical patent/JPH02198493A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

PURPOSE:To independently extract an arbitrary gradation level at every plural windows so that the gradation level of an object to be brought to image pickup can be recognized more exactly by bringing a gradation signal of the object to be brought to image pickup to A/D conversion, and generating a gradation table extracted at every window at a prescribed address interval. CONSTITUTION:A gradation signal of an object to be brought to image pickup inputted from a camera 1 being a gradation input means is amplified by amplifiers 2a - 2c, replaced with a digital signal by A/D converters 3a - 3c, and stored in an image memory 4. Subsequently, a table for extracting independently an arbitrary gradation against plural pieces of windows which are set in one screen in table memories 6a - 6c is generated at a prescribed address interval, and a gradation signal for showing a gradation level of the object to be brought to image pickup is outputted. In such a way, the gradation level of the object to be brought to image pickup can be understood and recognized exactly even under the condition of any background.

Description

【発明の詳細な説明】 (発明の分野) この発明は、CCDカラーカメラ等で非検査対象物を撮
像して得られた画像データから、任意の階調を抽出する
画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of the Invention) The present invention relates to an image processing device that extracts arbitrary gradations from image data obtained by imaging a non-inspection object with a CCD color camera or the like.

(発明の概要) この発明は、CRT等のディスプレイの一画面内に複数
個のウィンドウを有し、その複数のウィンドウが独立に
任意の階調を抽出する階調処理方式を用いる画像処理装
置であって、被撮像物の階調信号をA/D変換し、各ウ
ィンドウ毎に抽出する階調テーブルを一定アドレス間隔
で作成することにより、任意の階調レベルを複数のウィ
ンドウ毎に独立して抽出し、被撮像物のより正確な階調
レベルを認識し得るとともに高速抽出を可能とし、かつ
、複数のウィンドウを重ねて設定することを可能にした
ものである。
(Summary of the Invention) The present invention is an image processing device that has a plurality of windows within one screen of a display such as a CRT, and uses a gradation processing method in which the plurality of windows independently extract arbitrary gradations. By A/D converting the gradation signal of the imaged object and creating a gradation table extracted for each window at fixed address intervals, any gradation level can be independently set for each of multiple windows. This makes it possible to recognize more accurate gradation levels of the imaged object, to perform high-speed extraction, and to set multiple windows in an overlapping manner.

(従来技術とその問題点) 従来、製品等の外観検査を自動化するための画像処理装
置として、CCDカメラ等で被検査撮像物(被撮像物)
を撮像し、その被検査撮像物の階調を正確に把握し均質
な階調レベルの製品を生産するようにした画像処理装置
が開発されてきている。
(Prior art and its problems) Conventionally, as an image processing device for automating the appearance inspection of products, etc., an imaged object to be inspected (imaged object) is used with a CCD camera, etc.
Image processing apparatuses have been developed that are capable of capturing an image of an object to be inspected, accurately grasping the gradation of the imaged object, and producing products with a uniform gradation level.

この装置は、従来人間が目視確認によって行なっていた
製品の外観検査を機械化することにより、検査の処理能
力を向上させることができる。
This device can improve the inspection throughput by mechanizing the visual inspection of products, which was conventionally performed by humans through visual inspection.

しかしながら、従来の画像処理装置にあっては、あるし
きい値レベルを設定し、そのレベルに対する製品の濃淡
により2値化する階調認識方式が取られているため、次
のような問題がある。
However, conventional image processing devices use a gradation recognition method that sets a certain threshold level and binarizes the product based on the shading of the product relative to that level, resulting in the following problems. .

すなわち、非検査撮像物たる製品と背景の濃淡差が少な
い(例えば、背景が白で製品が黄色などの場合)場合に
、製品の外観の抽出が困難になったり、任意の階調が抽
出できなかったり、さらに−画面内に複数のウィンドウ
がる場合には2値化レベルを各々に独立して設定するに
は回路が複雑となるなどの問題があった。
In other words, if there is a small difference in shading between the product (non-inspection imaged object) and the background (for example, when the background is white and the product is yellow), it may be difficult to extract the appearance of the product, or it may not be possible to extract arbitrary gradations. Furthermore, when there are multiple windows on the screen, there are problems such as a complicated circuit to independently set the binarization level for each window.

また、従来の技術では、ウィンドウを重ねて製品等の被
撮像物の階調を検査することは出来なかった。
Further, with the conventional technology, it is not possible to inspect the gradation of an imaged object such as a product by overlapping windows.

(発明の目的) この発明は、上述した問題を解決するためになされたも
ので、その目的とするところは、被撮像物が背景との関
係で識別しにくいような場合でも、被撮像物の階調レベ
ルを正確に認識・把握をすることができ、回路も簡単な
上に上記被撮像物の階調レベルの高速による抽出を可能
とし、かつ、複数のウィンドウを設定することを可能に
した画像処理装置を提供するところにある。
(Object of the Invention) This invention was made to solve the above-mentioned problem, and its purpose is to make it possible to easily identify the object to be imaged, even when the object is difficult to identify in relation to the background. The gradation level can be recognized and understood accurately, the circuit is simple, the gradation level of the imaged object can be extracted at high speed, and multiple windows can be set. The company provides an image processing device.

(発明の構成と効果) この発明は、上記目的を達成するために、CRT等のデ
ィスプレイの一画面内に複数個のウィンドウを有し、そ
の複数のウィンドウが独立に任意の階調を抽出する階調
抽出方式を用いる画像処理装置であって、 上記ディスプレイに被撮像物の階調信号を入力するカメ
ラ等の階調入力手段と、 その階調入力手段よって入力されるアナログ信号からな
る階調信号をデジタル信号に変換するA/D変換手段と
、 そのA/D変換手段によって入力される上記階調信号の
データをあらかじめ記憶させる画像メモリと、 上記−画面内に設定された複数個のウィンドウに対し独
立に任意の階調を抽出するテーブルを有し、かつ、その
テーブルを一定アドレス間隔で作成したテーブルメモリ
と、 から構成されたことを特徴とする。
(Structure and Effects of the Invention) In order to achieve the above object, the present invention has a plurality of windows within one screen of a display such as a CRT, and the plurality of windows independently extract arbitrary gradations. An image processing device using a gradation extraction method, comprising a gradation input means such as a camera that inputs a gradation signal of an object to be imaged to the display, and a gradation consisting of an analog signal input by the gradation input means. A/D conversion means for converting a signal into a digital signal; an image memory for storing in advance data of the gradation signal inputted by the A/D conversion means; and - a plurality of windows set within the screen. The present invention is characterized by comprising: a table memory that has a table for independently extracting arbitrary gradation levels from each other, and creates the table at constant address intervals;

この発明によれば、あらかじめ被撮像物の階調レベルを
複数個のウィンドウにより画像メモリで記憶しておき、
その画像メモリに記憶された階調レベルに基づき複数の
ウィンドウに対し独立に任意の階調を抽出するテーブル
によって、被撮像物の階調レベルをいかなる背景の条件
の下でも正確に把握・認識し得、しかも画像メモリがC
PUからなるものであるから簡略化された回路構成で済
み、その」二高速処理は勿論のこと上記テーブルが一定
アドレス間隔で作成することにより複数のつイントウを
重ねて設定することも可能になる。
According to this invention, the gradation level of the object to be imaged is stored in advance in the image memory using a plurality of windows,
By using a table that independently extracts arbitrary gradations from multiple windows based on the gradation levels stored in the image memory, the gradation level of the imaged object can be accurately grasped and recognized under any background conditions. Moreover, the image memory is C.
Since it consists of a PU, it requires a simplified circuit configuration, and it not only allows for high-speed processing, but also allows multiple settings to be made overlapping each other by creating the above table at regular address intervals. .

(実施例の説明) 以下、この発明の実施例を図面に基づいて説明する。(Explanation of Examples) Embodiments of the present invention will be described below based on the drawings.

第1図は、この発明の一実施例を示す階調抽出方式を用
いた階調抽出方式によるカラー画像処理装置のブロック
図である。
FIG. 1 is a block diagram of a color image processing apparatus using a gradation extraction method according to an embodiment of the present invention.

第1図において、1は階調入力手段としてのカラーカメ
ラで、このカメラ1から入力された被撮像物(図示され
ていない)の赤R1緑G、青Bの階調信号は、それぞれ
アンプ(増幅器)2a〜2Cで増幅される。
In FIG. 1, reference numeral 1 denotes a color camera as a gradation input means, and gradation signals of red R, green G, and blue B of an object to be imaged (not shown) inputted from this camera 1 are sent to an amplifier ( Amplifiers) 2a to 2C amplify.

そしてアナログ信号として増幅された階調信号をデジタ
ル信号に変換するA/D変換手段であるA/D変換器3
a〜3Cによりデジタル信号に置き換えられる。
And an A/D converter 3 which is an A/D conversion means for converting the gradation signal amplified as an analog signal into a digital signal.
A to 3C are replaced with digital signals.

このA/D変換器3a〜3CでMビットのデジタル信号
に変換された階調信号は、画像メモリ5に記憶される。
The gradation signals converted into M-bit digital signals by the A/D converters 3a to 3C are stored in the image memory 5.

なお、第2図には各職階調レベルの一般的特徴が示され
ている。
Note that FIG. 2 shows the general characteristics of each job grade level.

また、同期信号(HD、VBD)はタイミング制御部9
へ入力される。
In addition, the synchronization signal (HD, VBD) is transmitted to the timing control section 9.
is input to.

一方、第3図に示したように、CRT等のディスプレイ
Aの一画面内には複数個のウィンドウW。〜2が設定さ
れている。
On the other hand, as shown in FIG. 3, there are multiple windows W within one screen of a display A such as a CRT. ~2 is set.

すなわち、ウィンドウW。では第4図に示すように、赤
R信号についてはR1−R2,緑G信号についてはg1
〜g2+青B信号についてはb1〜b2の階調のみを抽
出するように設定されている。
That is, window W. As shown in Figure 4, R1-R2 for the red R signal and g1 for the green G signal.
The ~g2+blue B signal is set to extract only the gradations b1 to b2.

なお、この抽出レベルは自由に設定が可能で、上記場合
に限定されず、さらに細かに階調の抽出を複数の範囲に
設定できるものである。
Note that this extraction level can be freely set, and is not limited to the above case, but it is possible to set more detailed gradation extraction in a plurality of ranges.

図中6a〜6bは、テーブルメモリで第4図に示すよう
に入力される被撮像物画像データの階調をアドレスとし
、抽出する階調の番地に$FF。
In the figure, 6a to 6b are table memories whose addresses are the gradations of the image data of the object to be imaged inputted as shown in FIG. 4, and $FF is set at the address of the gradation to be extracted.

それ以外は$00を書き込んでいる。Otherwise, $00 is written.

これらの書き込み量は画像処理装置のシステムによって
、書き込む数値、データビット数を自由に設定すればよ
い。
The amount of writing may be determined by freely setting the numerical value and number of data bits to be written depending on the system of the image processing apparatus.

同様にして、他のウィンドウに対しても抽出レベルを各
々設定することができ、第5図のメモリマツプに示すよ
うに下位アドレスを合わせ置き、一定範囲ごとに書き込
まれることになっている。
Similarly, extraction levels can be set for other windows, and as shown in the memory map of FIG. 5, the lower addresses are aligned and data is written in a certain range.

上記のテーブルメモリ6a〜6Cの設定は、第1図に示
すアドレス切換部5をCPUl0側に切換でおき、ウィ
ンド切換部8を抽出するウィンドウに切換ることにより
、画像メモリ4から出力された階調データが、赤R1緑
G、青Bのそれぞれがテーブルメモリ6a〜6Cに入力
され、被撮像物の階調レベルを示す階調信号が出力され
るようになっている。
The above table memories 6a to 6C can be set by switching the address switching section 5 shown in FIG. 1 to the CPU10 side and switching the window switching section 8 to the window for extraction. The tone data of red R1, green G, and blue B are input to table memories 6a to 6C, respectively, and a tone signal indicating the tone level of the object to be imaged is output.

なお、この抽出された階調信号による階調データに基づ
いて、被撮像物の正確な面積2重心などの計測が行われ
る。
Note that, based on the gradation data based on the extracted gradation signal, accurate measurement of the area, double center of gravity, etc. of the object to be imaged is performed.

ウィンドウ0の処理が終了した後、ウィンドウ切換部8
を切換ることにより、次々とウィンドウの計測が可能と
なるように設定されている。
After the processing of window 0 is completed, the window switching unit 8
The setting is such that by switching the window, it is possible to measure windows one after another.

このように、この実施例では、被撮像物が背景や日光、
あるいは同系色で濃淡が少しだけ異なっているような場
合でも、被撮像物の階調レベルが正確に認識でき、被撮
像物の全体像の把握が確実になされることなる。
In this way, in this example, the object to be imaged is the background, sunlight,
Alternatively, even if the colors are similar but have slightly different shading, the gradation level of the object to be imaged can be accurately recognized, and the overall image of the object to be imaged can be reliably grasped.

しかも、一画面の複数のウィンドウ毎に、被撮像物が認
識され、かつ、複数のウィンドウを重ねて設定していく
ことも可能なので、精度面や使用に際して有効である。
Moreover, the object to be imaged can be recognized for each of the plurality of windows on one screen, and it is also possible to set the plurality of windows in an overlapping manner, which is effective in terms of accuracy and use.

加えて、階調レベルの抽出がCPUにより求められてい
るため、高速抽出が可能な上に回路構成も簡略化された
ものになる。
In addition, since gradation level extraction is required by the CPU, high-speed extraction is possible and the circuit configuration is simplified.

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

第1図はこの発明に係るカラー画像処理装置の電気的構
成を示すブロック図、第2図は一般的な色の階調レベル
を示すパルス出力図、第3図は被撮像物を画面に表示し
た一実施例を示す正面図、第4図は階調抽出レベルが入
力される状態を示す階調レベルを表示した図、第5図は
テーブルメモリに書き込まれ記憶される内容を示すメモ
リマツプである。 A・・・カラー画像処理装置のディスプレイ1・・・カ
メラ(階調入力手段) 3 a 〜3 c−A/D変換器(A/D変換手段)4
・・・画像メモリ 6a〜6C・・・テーブルメモリ
Fig. 1 is a block diagram showing the electrical configuration of a color image processing device according to the present invention, Fig. 2 is a pulse output diagram showing general color gradation levels, and Fig. 3 shows an imaged object displayed on the screen. FIG. 4 is a diagram showing gradation levels indicating a state in which the gradation extraction level is input, and FIG. 5 is a memory map showing the contents written and stored in the table memory. . A... Display 1 of color image processing device... Camera (gradation input means) 3 a to 3 c-A/D converter (A/D conversion means) 4
...Image memory 6a to 6C...Table memory

Claims (1)

【特許請求の範囲】 1、CRT等のディスプレイの一画面内に複数個のウィ
ンドウを有し、その複数のウィンドウが独立に任意の階
調を抽出する階調抽出方式を用いる画像処理装置であっ
て、 上記ディスプレイに被撮像物の階調信号を入力するカメ
ラ等の階調入力手段と、 その階調入力手段によって入力されるアナログ信号から
なる階調信号をデジタル信号に変換するAD変換手段と
、 そのAD変換手段によって入力される上記階調信号のデ
ータをあらかじめ記憶させる画像メモリと、 上記一画面内に設定された複数個のウィンドウに対し独
立に任意の階調を抽出するテーブルを有し、かつ、その
テーブルを一定アドレス間隔で作成したテーブルメモリ
部と、 から構成されたことを特徴とする画像処理装置。
[Scope of Claims] 1. An image processing device that has a plurality of windows within one screen of a display such as a CRT, and uses a gradation extraction method in which the plurality of windows independently extract arbitrary gradations. a gradation input means such as a camera for inputting a gradation signal of an object to be imaged into the display; and an AD conversion means for converting the gradation signal consisting of an analog signal inputted by the gradation input means into a digital signal. , has an image memory that stores in advance the data of the gradation signal inputted by the AD conversion means, and a table that independently extracts arbitrary gradations from a plurality of windows set within the one screen. , and a table memory unit that creates the table at constant address intervals.
JP1019268A 1989-01-25 1989-01-27 Image processor Pending JPH02198493A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP1019268A JPH02198493A (en) 1989-01-27 1989-01-27 Image processor
US07/469,351 US5058181A (en) 1989-01-25 1990-01-24 Hardware and software image processing system
AT90101484T ATE179007T1 (en) 1989-01-25 1990-01-25 IMAGE PROCESSING SYSTEM
EP90101484A EP0380090B1 (en) 1989-01-25 1990-01-25 Image processing system
DE69033046T DE69033046T2 (en) 1989-01-25 1990-01-25 Machine vision system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1019268A JPH02198493A (en) 1989-01-27 1989-01-27 Image processor

Publications (1)

Publication Number Publication Date
JPH02198493A true JPH02198493A (en) 1990-08-06

Family

ID=11994700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1019268A Pending JPH02198493A (en) 1989-01-25 1989-01-27 Image processor

Country Status (1)

Country Link
JP (1) JPH02198493A (en)

Similar Documents

Publication Publication Date Title
JPH02140884A (en) Image processing method and apparatus
EP1615167A4 (en) METHOD AND DEVICE FOR MULTI-GRADING MONOCHROMATIC IMAGE DISPLAY, COMPUTER, MONOCHROMATIC DISPLAY DEVICE, RECONVERSION ADAPTER, AND VIDEO CARD
JPH0135295B2 (en)
JPS61123985A (en) Picture processor
JPH02198493A (en) Image processor
JPS63298578A (en) Image display device for surface analysis
JPS6112345A (en) Apparatus for inspecting printed matter
JPH04145309A (en) Fruition section length measuring method for corn
JP3785693B2 (en) Image processing inspection equipment
JPH01124064A (en) Image processing system
JPS5991324A (en) Color discrimination device
JPH089425A (en) Instrument and method for measuring vertical stripe noise of image signal
JPS62117080A (en) Picture processing device
JPS6118229B2 (en)
JPH07128018A (en) Binarization method
JPH0476057B2 (en)
JP2810867B2 (en) Specific color extraction device
SU1608565A2 (en) Converter of magnetic fields to flaw detector
KR970007581A (en) Improved graphics processing method and device
JPH0376406B2 (en)
JPH04250042A (en) Overlap amount measurement device of printed matter
JPS616991A (en) Picture processor
JPH06103224B2 (en) Specific color extraction device
KR940027124A (en) Lead inspection method of integrated circuit and its device
JPH01301130A (en) Color decision device