JPH02182078A - Binarized picture input signal correction circuit - Google Patents

Binarized picture input signal correction circuit

Info

Publication number
JPH02182078A
JPH02182078A JP1002304A JP230489A JPH02182078A JP H02182078 A JPH02182078 A JP H02182078A JP 1002304 A JP1002304 A JP 1002304A JP 230489 A JP230489 A JP 230489A JP H02182078 A JPH02182078 A JP H02182078A
Authority
JP
Japan
Prior art keywords
signal
correction
image
subject
brightness
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
JP1002304A
Other languages
Japanese (ja)
Inventor
Atsushi Yagisawa
淳 八木澤
Kazuo Nakamura
一夫 中村
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.)
Pentax Corp
Original Assignee
Asahi Kogaku Kogyo Co Ltd
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 Asahi Kogaku Kogyo Co Ltd filed Critical Asahi Kogaku Kogyo Co Ltd
Priority to JP1002304A priority Critical patent/JPH02182078A/en
Publication of JPH02182078A publication Critical patent/JPH02182078A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To discriminate the propriety of a picture accurately even lightness of an object is ununiform by inputting once a signal representing only the lightness of the object to a correction memory, comparing the signal with a picture signal for each picture element to obtain a corrected binarized data. CONSTITUTION:With a switch 3 thrown to the position 1' at first, an object such as a liquid crystal display device having no object to be tested as a character or a symbol is picked up by a video camera 1 to obtain a signal representing only the lightness of the object. The picture analog signal is converted into an n-bit digital signal by an A/D converter 2 and stored in a prescribed address of a correction memory 4 in response to the address output of a counter 7. Then the switch 3 is thrown to the position 2', the object having the sample 10 be tested is picked up by the video camera 1, the picture analog signal is converted into an n-bit digital signal by the A/D converter 2 and the digital signal is inputted to a B input of a digital comparator 5. Simultaneously, a correction signal representing only the lightness of the object stored in the correction memory 4 is inputted to an A input of the digital comparator 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は照明光が不均一な被写体の2値化画像入力信号
の補正回路に関し、特に画像信号から画素ごとに不均一
な明るさの影響を除くことにより、画像を正確に判定す
ることができる2値化画像入力補正回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a correction circuit for a binary image input signal of a subject with non-uniform illumination light, and in particular, the present invention relates to a correction circuit for a binary image input signal of a subject with non-uniform illumination light, and in particular, the present invention relates to a correction circuit for correcting a binary image input signal of a subject with non-uniform illumination light. The present invention relates to a binarized image input correction circuit that can accurately determine an image by removing .

〔従来の技術〕[Conventional technology]

最近、画像処理技術の発達に伴い、各種の被験物の検査
を、ビデオカメラにより画像信号化し、それをデジタル
処理することにより行うことができるようになってきた
。例えばカメラ等の液晶デイスプレィに表示される各種
の文字や数字等の記号が正確であるか否かをチエツクす
るために、目視にかえてビデオカメラが用いられるよう
になってきた。この場合、液晶デイスプレィ上の記号を
写した画像信号を画素ごとに境界値と比較し、各画素に
画像があるか否かに対応した2値化信号を作成し、これ
により画像を判定している。
Recently, with the development of image processing technology, it has become possible to inspect various test objects by converting image signals using a video camera and digitally processing the signals. For example, video cameras have come to be used instead of visual inspection to check whether symbols such as various letters and numbers displayed on a liquid crystal display such as a camera are accurate. In this case, the image signal representing the symbol on the liquid crystal display is compared with the boundary value for each pixel, a binary signal is created corresponding to whether or not there is an image in each pixel, and the image is determined based on this. There is.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、被写体上の照明光の明るさは常に一定で
あるとは限らず、付近にある機械装置の反射や人間の動
きにより、また照明器具自身の劣化による照明光の低下
等により、被写体上の照明光の明るさは変動する。これ
を完全に防止するためには、多数の照明器具により絶対
に被写体の明るさが変動しないようにしなければならな
い。しかし、これには大がかりな照明装置を必要すると
いう問題がある。
However, the brightness of the illumination light on the subject is not always constant, and may be affected by reflections from nearby mechanical equipment, human movement, or a decrease in the illumination light due to deterioration of the lighting equipment itself. The brightness of the illumination light varies. In order to completely prevent this, it is necessary to ensure that the brightness of the subject does not change due to the large number of lighting equipment. However, this has the problem of requiring a large-scale lighting device.

従って、本発明の目的は、大がかりな照明装置を必要と
することなく、被写体上の照明光の明るさの変動による
影響を除去することができる2値化画像入力補正回路を
提供することである。
Therefore, an object of the present invention is to provide a binarized image input correction circuit that can eliminate the influence of fluctuations in the brightness of illumination light on a subject without requiring a large-scale illumination device. .

〔課題を解決するための手段〕[Means to solve the problem]

上記目的に温み鋭意研究の結果、本発明者は、画像信号
から被写体上の照明光の明るさの影響を除くためには、
被写体上の照明光の明るさだけを示す信号と画像信号と
を比較することにより2値化画像入力信号を作成すれば
よいことを発見し、本発明に想到した。
As a result of intensive research for the above purpose, the present inventor has determined that in order to remove the influence of the brightness of the illumination light on the subject from the image signal,
The inventors have discovered that a binary image input signal can be created by comparing an image signal with a signal indicating only the brightness of illumination light on a subject, and have come up with the present invention.

すなわち、本発明の2値化画像入力補正回路は、被写体
上の照明光の明るさの不均一に応じて2値化画像入力信
号を補正する回路であって、被写体上の照明光の明るさ
だけを表す信号を記憶する補正メモリと、前記被写体の
画像信号と前記補正メモリからの補正信号を比較するこ
とにより、画像から被写体上の照明光の明るさの影響を
除いた状態を表す信号を、補正法2値化データとして出
力するデジタルコンパレータと、前記補正法2値化デー
タを記憶する2値化データメモリとを有することを特徴
とする。
That is, the binarized image input correction circuit of the present invention is a circuit that corrects a binarized image input signal according to the non-uniformity of the brightness of the illumination light on the subject. By comparing the image signal of the subject and the correction signal from the correction memory, a signal representing a state in which the influence of the brightness of the illumination light on the subject is removed from the image is obtained. , a digital comparator that outputs the correction method binary data, and a binary data memory that stores the correction method binary data.

〔実施例及び作用〕[Examples and effects]

第1図は本発明の一実施例による2値化画像入力補正回
路を示す。
FIG. 1 shows a binarized image input correction circuit according to an embodiment of the present invention.

本発明の2値化画像入力補正回路において、被写体を撮
影し、画像アナログ信号を出力するビデオカメラ1は、
A/Dコンバータ2に接続し、A/Dコンバータ2の出
力はスイッチ3に接続している。
In the binarized image input correction circuit of the present invention, the video camera 1 that photographs a subject and outputs an image analog signal is
It is connected to an A/D converter 2, and the output of the A/D converter 2 is connected to a switch 3.

スイッチ3は■と■に切り替えることができるようにな
っており、スイッチ3を■側に倒したときにA/Dコン
バータ2からのデジタル信号は補正メモリ4に入力され
る。またデジタルコンパレータ5の入力端子Aは、スイ
ッチ3の端子■に接続しており、入力端子BはA/Dコ
ンバータ2とスイッチ3の端子■との間に分岐したライ
ンと接続している。またデジタルコンパレータ5の出力
は、2値化データメモリ6と接続している。
The switch 3 can be switched between ■ and ■, and when the switch 3 is turned to the ■ side, the digital signal from the A/D converter 2 is input to the correction memory 4. Further, the input terminal A of the digital comparator 5 is connected to the terminal (2) of the switch 3, and the input terminal B is connected to a line branched between the A/D converter 2 and the terminal (2) of the switch 3. Further, the output of the digital comparator 5 is connected to a binary data memory 6.

一方、クロック信号の入力ラインは、A/Dコンバータ
2に接続しているとともに、カウンタ7に接続しており
、カウンタ7のアドレス出力ラインは補正メモリ4及び
2値化データメモリ6にそれぞれ接続している。またリ
ード/ライ)  (R/W)信号の入力ラインは、スイ
ッチ3を動作する回路(図示せず)、補正メモリ4、及
び2値化データメモリ6にそれぞれ接続している。さら
にクリア信号入力ラインはカウンタ7に接続している。
On the other hand, the clock signal input line is connected to the A/D converter 2 and also to the counter 7, and the address output line of the counter 7 is connected to the correction memory 4 and the binarized data memory 6, respectively. ing. Further, the input line of the read/write (R/W) signal is connected to a circuit (not shown) for operating the switch 3, a correction memory 4, and a binary data memory 6, respectively. Further, the clear signal input line is connected to the counter 7.

以上の構成の回路において、2値化画像入力信号の補正
は以下のようにして行われる。まずスイッチ3を■に倒
した状態において、被験物、例えば文字や記号等が存在
しない状態の液晶デイスプレィ等の被写体をビデオカメ
ラ1により撮影し、被写体の明るさだけを表す信号を得
る。第2図の八に示すように、被写体の明るさだけを表
す信号は、被写体IOを構成する各々の画素の明るさを
表す信号により構成される。例えば、被写体10を0〜
n及び0〜mに等分割してAoo〜Amnのmxn個の
画素を作り、各画素の明るさを表す信号を画像アナログ
信号として、ビデオカメラ1より得る。
In the circuit configured as described above, correction of the binary image input signal is performed as follows. First, with the switch 3 turned to ■, a test object, such as a liquid crystal display without characters or symbols, is photographed by the video camera 1, and a signal representing only the brightness of the object is obtained. As shown at 8 in FIG. 2, the signal representing only the brightness of the object is composed of signals representing the brightness of each pixel constituting the object IO. For example, set the subject 10 to
n and 0 to m to create mxn pixels of Aoo to Amn, and a signal representing the brightness of each pixel is obtained from the video camera 1 as an image analog signal.

この画像アナログ信号は、^/Dコンバータ2によりn
ビットのデジタル信号となり、カウンタ7のアドレス出
力に応じて補正メモリ4の所定のアドレスに記憶される
This image analog signal is converted to n by the ^/D converter 2.
It becomes a bit digital signal and is stored at a predetermined address in the correction memory 4 according to the address output of the counter 7.

次に、スイッチ3を■の方に倒し、ビデオカメラlによ
り被験物のある被写体を撮影し、その画像アナログ信号
を^/Dコンバータ2を経て、nビットのデジタル信号
とし、デジタルコンパレータ5の已に入力する。それと
同時に、補正メモリ4に記憶された被写体の明るさだけ
を表す補正信号をデジタルコンパレータ5のAに入力す
る。ここで画像信号は、第2図已に示すように、被写体
10を構成する各画素の信号からなるので、被写体10
の明るさだけを表す信号と一対一に対応する。例えば被
写体10の明るさだけを表す信号の画素Aklの信号は
、画像信号の画素Bklと対応するので、AklとBk
lを比較すると、画像の有無が判定できる。
Next, turn the switch 3 toward ■, photograph the subject with the test object using the video camera l, convert the image analog signal into an n-bit digital signal through the ^/D converter 2, and output it to the digital comparator 5. Enter. At the same time, a correction signal representing only the brightness of the subject stored in the correction memory 4 is input to the digital comparator 5 A. Here, as shown in FIG.
corresponds one-to-one with a signal representing only the brightness of For example, the signal of pixel Akl, which is a signal representing only the brightness of the subject 10, corresponds to pixel Bkl of the image signal, so Akl and Bk
By comparing l, the presence or absence of an image can be determined.

ここで、被写体10の明るさの影響を完全に除去すると
ともに、画像の有無を正確に判定するためには、補正メ
モリ4からの補正信号を1/2のレベルにしてデジタル
コンパレータ5に入力するのが好ましい。そうすること
により、補正メモリ4からの補正信号は画像信号の“画
像あり°の場合と“画像なし”の場合の間に位置するこ
とになる。
Here, in order to completely eliminate the influence of the brightness of the subject 10 and to accurately determine the presence or absence of an image, the correction signal from the correction memory 4 is input to the digital comparator 5 at a level of 1/2. is preferable. By doing so, the correction signal from the correction memory 4 will be located between the case of "with image" and the case of "no image" of the image signal.

これにより、例えば画素AklとBklに注目すると、
被写体に画像がない場合、Bki!>A)Cj!となり
、画像がある場合にはBki”<Aki’となる。従っ
て、画像の有無を正確に判定することができる。
As a result, if we focus on pixels Akl and Bkl, for example,
If there is no image for the subject, Bki! >A) Cj! Therefore, if there is an image, Bki''<Aki'. Therefore, the presence or absence of an image can be accurately determined.

デジタルコンパレータ5の出力は、補正済2値化データ
であり、被写体10の画像を、各画素における画像の有
無(H又はL)により表示する。補正済2値化データは
、2値化データメモリ6に記憶され、判定回路(図示せ
ず)により被写体10中の画像の適否を判定する。画像
の判定が終了すると、クリヤ信号によりカウンタ7をク
リヤし、別の被写体の検査を開始する。
The output of the digital comparator 5 is corrected binary data, and the image of the subject 10 is displayed depending on the presence or absence (H or L) of the image at each pixel. The corrected binarized data is stored in the binarized data memory 6, and a decision circuit (not shown) decides whether or not the image in the subject 10 is appropriate. When the image determination is completed, the counter 7 is cleared by a clear signal, and inspection of another object is started.

以上に詳述した通り、本発明の2値化画像入力補正回路
においては、被写体の明るさのみを表す信号をいったん
補正メモリに入力し、その信号と画像信号とを各画素ご
とに比較して、補正済2値化データを得ているので、被
写体の明るさに不均一があっても、画像の適否を正確に
判定することができる。
As detailed above, in the binarized image input correction circuit of the present invention, a signal representing only the brightness of the subject is once input into the correction memory, and this signal is compared with the image signal for each pixel. Since the corrected binarized data is obtained, even if the brightness of the subject is uneven, it is possible to accurately determine whether the image is suitable or not.

また補正メモリ4からの補正信号を172のレベルとし
てデジタルコンパレータ5に入力しているので、画像信
号と被写体の明るさだけを表す信号との比較をする場合
、画像の有無の判定に誤差が入ることがない。
In addition, since the correction signal from the correction memory 4 is input to the digital comparator 5 at a level of 172, when comparing the image signal with a signal representing only the brightness of the subject, an error will occur in determining the presence or absence of an image. Never.

〔発明の効果〕〔Effect of the invention〕

以上に詳述した通り、本発明の2値化画像入力補正回路
により、各画素ごとの補正をするため、2値化データの
精度が著しく向上している。また適当な時期に補正デー
タを得ることにより、照明の経時変化にも対応すること
ができる。
As described in detail above, the binarized image input correction circuit of the present invention performs correction for each pixel, so the accuracy of the binarized data is significantly improved. Furthermore, by obtaining correction data at an appropriate time, it is possible to cope with changes in illumination over time.

このような特徴を有する本発明の2値化画像入力補正回
路を用いることにより、大がかりな照明装置を必要とす
ることなく、正確な画像の判定をすることができる。
By using the binarized image input correction circuit of the present invention having such characteristics, accurate image determination can be performed without requiring a large-scale illumination device.

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

第1図は、本発明の一実施例による2値化画像入力補正
回路を示すブロック図であり、第2図は、被写体を各画
素に分割した状態を表し、Aは被験物のない場合でBは
被験物のある場合である。 1・・・ビデオカメラ 2・・・^/Dコンバータ 3・・・スイッチ 4・・・補正メモリ 5・・・デジタルコンパレータ 6・・・2値化データメモリ 7・・・カウンタ 10・ ・被写体
FIG. 1 is a block diagram showing a binarized image input correction circuit according to an embodiment of the present invention, and FIG. 2 shows a state where an object is divided into pixels, and A is a case where there is no object. B is a case with a test object. 1...Video camera 2...^/D converter 3...Switch 4...Correction memory 5...Digital comparator 6...Binarization data memory 7...Counter 10...Subject

Claims (2)

【特許請求の範囲】[Claims] (1)被写体上の照明光の明るさの不均一に応じて2値
化画像入力信号を補正する回路であって、被写体上の照
明光の明るさだけを表す信号を記憶する補正メモリと、
前記被写体の画像信号と前記補正メモリからの補正信号
を比較することにより、画像から被写体上の照明光の明
るさの影響を除いた状態を表す信号を、補正済2値化デ
ータとして出力するデジタルコンパレータと、前記補正
済2値化データを記憶する2値化データメモリとを有す
ることを特徴とする回路。
(1) A circuit that corrects a binary image input signal according to the non-uniformity of the brightness of the illumination light on the subject, and a correction memory that stores a signal representing only the brightness of the illumination light on the subject;
A digital camera that outputs, as corrected binary data, a signal representing a state in which the influence of the brightness of the illumination light on the subject is removed from the image by comparing the image signal of the subject with the correction signal from the correction memory. A circuit comprising a comparator and a binarized data memory that stores the corrected binarized data.
(2)請求項1に記載の2値化画像入力補正回路におい
て、前記補正信号の1/2のレベルの信号が前記デジタ
ルコンパレータに入力されることを特徴とする回路。
(2) The binarized image input correction circuit according to claim 1, wherein a signal having a level 1/2 of the correction signal is input to the digital comparator.
JP1002304A 1989-01-09 1989-01-09 Binarized picture input signal correction circuit Pending JPH02182078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1002304A JPH02182078A (en) 1989-01-09 1989-01-09 Binarized picture input signal correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1002304A JPH02182078A (en) 1989-01-09 1989-01-09 Binarized picture input signal correction circuit

Publications (1)

Publication Number Publication Date
JPH02182078A true JPH02182078A (en) 1990-07-16

Family

ID=11525622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1002304A Pending JPH02182078A (en) 1989-01-09 1989-01-09 Binarized picture input signal correction circuit

Country Status (1)

Country Link
JP (1) JPH02182078A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58202622A (en) * 1982-05-21 1983-11-25 Toshiba Corp Digital-analog converting circuit
JPS63151177A (en) * 1986-12-15 1988-06-23 Iwaki Denshi Kk Binarization processor for picture signal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58202622A (en) * 1982-05-21 1983-11-25 Toshiba Corp Digital-analog converting circuit
JPS63151177A (en) * 1986-12-15 1988-06-23 Iwaki Denshi Kk Binarization processor for picture signal

Similar Documents

Publication Publication Date Title
US8345950B2 (en) System and method for testing a multimeter
KR102204596B1 (en) Processor, image processing device comprising the same, and method for image processing
JPH1032810A (en) Image-processing inspecting device
JP2006074734A (en) Pixel testing method, method of correcting output voltage of pixel, device, program, and method for processing defective pixel, and recording medium with program recorded thereon
JP2006245891A (en) Chart for inspecting image of camera module, and image inspecting method and image inspecting device for the camera module using the chart for inspecting image
CN111383269A (en) Light sensing equipment applied to visible light communication system
JPH02182078A (en) Binarized picture input signal correction circuit
JPS58186291A (en) Gradation converting method of color video signal
CN113610779B (en) Vibrating mirror state detection method, device, equipment and computer readable storage medium
JP3352169B2 (en) Appearance inspection device
WO2020077513A1 (en) Method, apparatus, program and recording medium for processing image data
JP3392934B2 (en) Data symbol reading device
JPH0293871A (en) Uniformity checking method
JPH10206113A (en) Edge location detecting method and image measuring device
CN115623191A (en) Webcam testing method, electronic device and readable storage medium
JPH0679862A (en) Method for inspecting quality of printing paper surface and apparatus therefor
JP2000111447A (en) Image inspection device and method with improved calibration method
JPH08201228A (en) Apparatus for inspecting image quality of lcd panel with ccd defect correction function
JP2021158450A (en) Damaged pixel detection circuit
JPH118798A (en) Ccd camera system and image processing method
JP2001186417A (en) Defective pixel detector
JPH06303502A (en) Image pickup device
JP2001326951A (en) Digital camera and inspecting device
JPS62293133A (en) Mirror distortion measuring instrument
JP2014030145A (en) Image processor and control method of the same