JPS6238988A - Correction device for illuminance unevenness - Google Patents

Correction device for illuminance unevenness

Info

Publication number
JPS6238988A
JPS6238988A JP17856185A JP17856185A JPS6238988A JP S6238988 A JPS6238988 A JP S6238988A JP 17856185 A JP17856185 A JP 17856185A JP 17856185 A JP17856185 A JP 17856185A JP S6238988 A JPS6238988 A JP S6238988A
Authority
JP
Japan
Prior art keywords
image
recognized
threshold value
threshold
memory
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
JP17856185A
Other languages
Japanese (ja)
Inventor
Toshiaki Watanabe
俊昭 渡辺
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP17856185A priority Critical patent/JPS6238988A/en
Publication of JPS6238988A publication Critical patent/JPS6238988A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To obtain a binary-coded signal representing correctly an object to be recognized by providing a threshold memory that generates a threshold corresponding to the brightness of illumination on the object to be recognized at a threshold setting means. CONSTITUTION:An X-Y table 5 is moved so that the part A to be recognized of an object 3 to be recognized is image-formed at a center 12 on the image forming area 1a of an image pickup element 1, and a picture signal is written on a picture data memory 7 through a binary-coded circuit 6 and also, is stored on a memory within a picture process part 8 as a reference pattern. Next, the part A to be recognized is shifted to an original point 13 moving the X-Y table 5, and calculating the threshold having the best matching characteristic with the reference pattern against the image-formed part A to be recognized, it is written on a threshold memory 9. Following that, it is shifted in the same operation as the scan of a scanning line, the optimum threshold of the whole image-forming area 1a can be obtained. At the next, the content of the threshold memory 9 is impressed on the binary-coded circuit 6, and also, picture data impressed on it, and through the picture data memory 7, it is outputted after a prescribed conversion process at the picture process part 8.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は1画像処理装置における照度ムラを補正する
ための照度ムラ補正装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an illuminance unevenness correction device for correcting illuminance unevenness in an image processing device.

〔従来の技術〕[Conventional technology]

第3図は、被認識物上において文字が正しい位置に正し
く捺印されているかどかを認識する従来の画像処理装置
を示す代表的な概略構成図であり。
FIG. 3 is a typical schematic configuration diagram showing a conventional image processing apparatus that recognizes whether characters are correctly stamped at the correct position on an object to be recognized.

図において(/)は撮像素子、(コ)は後述する光を撮
像素子(1)に集束するためのVンズ(3)は上述の被
認識物、そして(qlは被認識物(、?)に光を与える
ための光源である。
In the figure, (/) is the image sensor, (c) is the V lens (3) for focusing the light to the image sensor (1), which will be described later, is the object to be recognized, and (ql is the object to be recognized (,?) It is a light source that provides light to the

さらに1図面には示されていないが、前述の第3図の画
像処理装置において、光学系機構であるレンズの設計及
び調整に時間を費やす手段、又は。
Furthermore, although not shown in the first drawing, in the image processing apparatus shown in FIG.

処理回路の閾値を撮像素子の画像信号レベルに応じて変
化させる手段等が採用されている。
A means for changing the threshold value of the processing circuit in accordance with the image signal level of the image sensor is employed.

従来の画像処理装置は上記のように構成され、被認識物
(3)は光源(4=1からの光によって明るく照射され
ている。被認識物(3)で反射されてレンズ(コ)を通
過した光は、ABCの文字と背景の各々の反射強度に対
応した分布を伴って撮像素子(ハに入光している。前記
撮像素子(1)は、順次この反射光をその受光面で受け
、この受光面を同期信号により走査して画像信号すなわ
ち電気出力信号に変換し、この画像信号が図示しない画
像処理部へ送られている。
The conventional image processing device is configured as described above, and the object to be recognized (3) is brightly illuminated by light from the light source (4=1). The passed light enters the image sensor (C) with a distribution corresponding to the reflection intensity of the letters ABC and the background.The image sensor (1) sequentially receives this reflected light on its light receiving surface. This light-receiving surface is scanned by a synchronizing signal and converted into an image signal, that is, an electrical output signal, and this image signal is sent to an image processing section (not shown).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の画像処理装置では、文字が正確に捺印されかつそ
の印字濃度が全体にわたり同一である時は1文字の画像
信号レベルは均一となるはずであるが、実際には、光源
の照明特性、レンズの光学的特性、撮像素子の感度特性
等の相互間の影響により、同一濃度の文字でも撮像素子
に結像する位置により信号レベルが変化していた。さら
に、前述のような場合、単一の一定な閾値で単純に2値
化すると、前述の各特性による影響によって撮像素子の
中心位置に結像した時と、中心からずれた周辺位置に結
像した時とでは一:l値化信号が変化してしまい、被認
識物に印字された文字とは異った画像として観測されて
いた。さらに、前述の従来構成における後者の手段を採
用した場合、閾値は撮像素子の画像信号の履歴によって
変化するため、被8識物の印字の内容によっては、コ値
化された結果の画像が正確に表わされていないという問
題点があった。
With conventional image processing devices, when a character is accurately printed and the printing density is the same throughout, the image signal level of one character should be uniform, but in reality, the illumination characteristics of the light source and the lens Due to mutual influences such as the optical characteristics of the image pickup device and the sensitivity characteristics of the image pickup device, the signal level changes depending on the position where the image is formed on the image pickup device even for characters of the same density. Furthermore, in the above-mentioned case, if you simply binarize with a single fixed threshold value, due to the influence of each of the characteristics mentioned above, the image will be formed at the center position of the image sensor and at a peripheral position shifted from the center. The 1:l value conversion signal changed from when the image was read, and the image was observed as different from the characters printed on the object to be recognized. Furthermore, if the latter method in the conventional configuration described above is adopted, the threshold value changes depending on the history of the image signal of the image sensor. The problem was that it was not represented in the

この発明は上記のような問題点を解決するためになされ
たもので、被認識物の画像が撮像素子上のどの位置に結
像しても、照度ムラに関係なく被認識物を正確に表わす
コ値化信号を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and it is possible to accurately represent the object to be recognized regardless of uneven illuminance, no matter where the image of the object is formed on the image sensor. The purpose is to obtain a co-valued signal.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る照度ムラ補正装置は、閾値設定手段の中
に閾値データ用の閾値メモリを設け、この閾値メモリに
、あらかじめ画像処理部によって求められた照度ムラを
補正するための閾値をあらかじめ記憶させ1画像読み込
み時にこれを順次取す出し閾値を可変にしたものである
In the illuminance unevenness correction device according to the present invention, a threshold value memory for threshold data is provided in the threshold value setting means, and a threshold value for correcting illuminance unevenness determined in advance by an image processing unit is stored in advance in this threshold value memory. The threshold value for sequentially extracting one image when reading one image is made variable.

〔作 用〕[For production]

この発明における照度ムラ補正装置は、撮像素子により
得られた被認識物のほぼ中心部の出力が基準パターンと
して底値化信号によって画像処理部に記憶され、この基
準パターンと整合性の良い閾値が撮像素子の全領域にお
いて画像処理部によって求められ、この閾値を閾値メモ
リに記憶させた後1画像を読み込む時に、順次取り出さ
れた可゛    変形の閾直によって照度ムラを補正し
、被認識物の画像を正確に表わすことが出来る。
In the illuminance unevenness correction device according to the present invention, the output of approximately the center of the object to be recognized obtained by the image sensor is stored as a reference pattern in the image processing unit using a bottom value signal, and a threshold value that is consistent with this reference pattern is imaged. The threshold value is calculated by the image processing unit in the entire area of the element, and after storing this threshold value in the threshold value memory, when reading one image, the illuminance unevenness is corrected by the threshold value of the deformation taken out sequentially, and the image of the object to be recognized is can be expressed accurately.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する・第1
図はこの発明の照度ムラ補正装置を含む画像処理装置を
、一部ブロック図で示す概略構成図である。図において
、(1)は撮像素子、(,2)はこの撮像素子(1)の
前方に置かれたレンズ、(3)はこのレンズ(2)を挾
んで対向する被認識物、(4)はこの被認識物(3)を
照らす光源、(S)は被認識物(3)をXY方向に移動
させると共に所定の位置に位置決め固定するためのX−
Yテーブル、〔t)は前記撮像素子(1)から出力され
た画像信号をユ値化信号とするためのコ値化回路、(7
)は前記2値化回路(6)に接続され2@化データを記
憶するための画像データメモIJ 、 (g’1は前記
画像データメモリ(4)に接続され各種画像処理を行う
ための画像処理部、(9)は前記画像処理部(rlから
印加される閾値データを記憶する閾値メモリ、(10)
は前記撮像素子(ハ、X−Yテーブル(!r)、画像デ
ータメモIJ (?)、画像処理部(gl及び閾値メモ
リ(9)等に接続され、これらの制′eIJを行うため
の制創部である。
Hereinafter, one embodiment of the present invention will be explained with reference to the figures.
The figure is a schematic configuration diagram partially showing a block diagram of an image processing device including an illuminance unevenness correction device of the present invention. In the figure, (1) is an image sensor, (, 2) is a lens placed in front of this image sensor (1), (3) is an object to be recognized that faces this lens (2), and (4) is a light source that illuminates the object to be recognized (3), and (S) is an
Y table, [t] is a co-value conversion circuit for converting the image signal output from the image sensor (1) into a U-value conversion signal, (7
) is an image data memo IJ connected to the binarization circuit (6) to store the 2@ conversion data, (g'1 is an image data memo IJ connected to the image data memory (4) and used to perform various image processing. A processing unit (9) is a threshold memory that stores threshold data applied from the image processing unit (rl); (10)
is connected to the image sensor (c, This is Sobe.

尚、前記コ値化回路C6)1画像データメモ1月7)。Incidentally, the above-mentioned co-value converting circuit C6) 1 image data memo January 7).

画像処理部(t)、閾値メモIJ (?1等により閾値
設定手段(//)を構成している。
The image processing unit (t), threshold value memo IJ (?1, etc.) constitute a threshold value setting means (//).

上記のように構成された照度ムラ補正装置においては、
まず1手動動作によって、被認識物(3)の被認識部(
刀が撮像素子(1)の結像領域(/d)の中心(第二図
で示す位置)に結像するように図示しない駆動モータを
操作してX−Yテーブル(&lを所定の位置に移動させ
る。この時の撮像素子(1)の画像信号は、λ値化回路
(6)ヲ介して画像データメモリ(7)に書き込1れる
と共に、前記撮像素子(1)の中心付近の2@化パター
ンが基準パターンとして画像処理部ffl内のメモリ(
図示せず)に記憶される。
In the illuminance unevenness correction device configured as above,
First, by 1 manual operation, the recognized part (
Operate the drive motor (not shown) to position the X-Y table ( The image signal of the image sensor (1) at this time is written to the image data memory (7) via the λ value conversion circuit (6), and the image signal of the image sensor (1) near the center of the image sensor (1) is written to the image data memory (7). The @ pattern is used as a reference pattern in the memory (
(not shown).

次に、制机部(10)からの側倒信号により、X−Yテ
ーブル(壇を移動させ、被認識物(3)の被認識部C蜀
が第2図に示す撮像素子(1)の結像領域(/a)にお
ける符号(/3)で示す原点位置に移動されると。
Next, in response to the tilting signal from the control unit (10), the X-Y table (stage) is moved so that the recognized part C of the recognized object (3) is aligned with the image sensor (1) shown in FIG. When it is moved to the origin position indicated by the symbol (/3) in the imaging area (/a).

この原点(/3)において結像した被認識部(Alに対
し、先に記憶した基準パターンと最も整合性の良い閾値
が画像処理部Ig)により求められて、閾値メモリ(9
)に書き込まれる。この閾値書込動作は、前記撮像素子
(1)の結像領域(/a)の全領域にわたって行う必要
があり、X−Yテーブル(S)を前記側(2)部(10
)によって、走査線の走査動作と同様の操作で、第2図
の符号(Al・・・・・・で示されるように移動させる
ことにより、結像領域(/a)全体における最適な閾値
が得られる。
The threshold value that has the best consistency with the previously stored reference pattern for the recognized part (Al) imaged at this origin (/3) is determined by the image processing unit Ig, and the threshold value in the threshold memory (9
) is written to. This threshold value writing operation needs to be performed over the entire imaging area (/a) of the image sensor (1), and the X-Y table (S) is
), the optimum threshold value for the entire imaging area (/a) can be determined by moving it as indicated by the symbol (Al...) in Figure 2 using the same operation as the scanning operation of the scanning line. can get.

次に1以上の閾値書込動作が終了した後、通常の認識動
作を行う時は、撮像素子(1)の走査周期に同期させて
、閾値メモリ(9)内に書き込まれる各閾値の内容ij
λ値化回路Alに印加すると共に、このλ値化回路(6
)に、被認識物(3)の画像に基づく画像データが印加
され、λ値化回路(Alの前記各閾値に基づく画像信号
は画像データメモリ(4)に書き込まれる。この画像デ
ータメモリ(7)の画像データはすでに照度ムラが補正
された画像データであり、画像処理部(r)ばこのデー
タを用いて所定の変換処理を行い、処理結果を図示しな
いディスプレイ機器に出力することにより、操作者は被
認識物(3)に形成された被認識部(刀と全く同じ濃淡
を有する画像を見ることが出来る。
Next, after one or more threshold value writing operations are completed, when performing a normal recognition operation, the contents of each threshold value ij are written into the threshold value memory (9) in synchronization with the scanning cycle of the image sensor (1).
In addition to applying the voltage to the λ value converting circuit Al, this λ value converting circuit (6
) is applied with image data based on the image of the object to be recognized (3), and image signals based on the threshold values of the λ value conversion circuit (Al) are written into the image data memory (4). ) is image data that has already been corrected for illuminance unevenness, and the image processing unit (r) performs a predetermined conversion process using the data and outputs the processing result to a display device (not shown). The person can see an image having exactly the same shading as the recognized part (sword) formed on the recognized object (3).

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

以上のようにこの発明によれば、被認識物を認識する前
に被認識物における照度ムラをあらかじめ補正する閾値
を求め、この閾値を閾値メモリに記憶させ、その後1通
常の認識処理時に撮像素子の走査動作と同期させて閾値
メモリの内容をλ値化回路に出力することにより、被認
識物が撮像素子上のいかなる位置に結像しようと正しい
2@化信号を得ることができ、精度の良い画像処理がで
きる効果がある。また光学系の設計・調整の時間を大巾
に短縮することもできる。
As described above, according to the present invention, before recognizing the object, a threshold value for correcting illuminance unevenness on the object to be recognized is determined in advance, this threshold value is stored in the threshold value memory, and then the image sensor is used during normal recognition processing. By outputting the contents of the threshold memory to the λ value converting circuit in synchronization with the scanning operation of This has the effect of allowing good image processing. Furthermore, the time required to design and adjust the optical system can be greatly reduced.

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

第1図はこの発明の一実施例を含む画像処理装置を、一
部ブ)ロック図で示す図、第2図はこの発明の一実施例
における閾値データ作成時のX−Yテーブルの動作を示
す動作説明図、第3図は従来の画像処理装置の要部の概
略を示す構成図である。 (ハは撮像素子、(3)は被認識物、 (!rlばX−
Yテーブル、(t)はλ値化回路、(7)は画像データ
メモリ。 (flは画像処理部、(9)は閾値メモリ、(10)は
mlJl部である。 なお1図中、同一符号は同−又は相当部分を示す。 制      −へのくぃ− 一                        
           −一家 ホ
FIG. 1 is a partial block diagram showing an image processing apparatus including an embodiment of the present invention, and FIG. 2 shows the operation of an X-Y table when creating threshold data in an embodiment of the present invention. FIG. 3 is a diagram schematically showing the main parts of a conventional image processing apparatus. (C is the image sensor, (3) is the object to be recognized, (!rl is X-
Y table, (t) is a λ value conversion circuit, and (7) is an image data memory. (fl is the image processing unit, (9) is the threshold memory, and (10) is the mlJl unit. In the figure, the same reference numerals indicate the same or equivalent parts.
−family ho

Claims (4)

【特許請求の範囲】[Claims] (1)撮像素子によつて得られた画像信号を、閾値設定
手段からの閾値により2値化する装置において、前記閾
値設定手段は、被認識物上の照明の明るさ分布に応じて
閾値を発生する閾値メモリを有することを特徴とする照
度ムラ補正装置。
(1) In a device that binarizes an image signal obtained by an image sensor using a threshold value from a threshold value setting means, the threshold value setting means sets a threshold value according to a brightness distribution of illumination on an object to be recognized. An illuminance unevenness correction device characterized by having a threshold value memory for generating.
(2)前記閾値設定手段は撮像素子により得られた被認
識物の画像信号出力を2値化回路を経て基準パターンと
して記憶するための画像処理部を有し、前記撮像素子の
結像領域において前記基準パターンと整合性の良い閾値
を前記画像処理部によつて求め、この閾値を前記閾値メ
モリに記憶させるように構成したことを特徴とする特許
請求の範囲第1項記載の照度ムラ補正装置。
(2) The threshold value setting means has an image processing unit for storing an image signal output of the object to be recognized obtained by the image sensor as a reference pattern through a binarization circuit, and The illuminance unevenness correction device according to claim 1, characterized in that the image processing unit determines a threshold value that is consistent with the reference pattern, and stores this threshold value in the threshold memory. .
(3)前記撮像素子からの画像信号を前記2値化回路を
経て書き込むための画像データメモリを有することを特
徴とする特許請求の範囲第2項記載の照度ムラ補正装置
(3) The illuminance unevenness correction device according to claim 2, further comprising an image data memory for writing an image signal from the image sensor through the binarization circuit.
(4)前記被認識物をX−Y方向に移動させるため制御
部により制御されるX−Yテーブルを有することを特徴
とする特許請求の範囲第1項記載の照度ムラ補正装置。
(4) The illuminance unevenness correction device according to claim 1, further comprising an X-Y table controlled by a control unit to move the object to be recognized in the X-Y direction.
JP17856185A 1985-08-15 1985-08-15 Correction device for illuminance unevenness Pending JPS6238988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17856185A JPS6238988A (en) 1985-08-15 1985-08-15 Correction device for illuminance unevenness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17856185A JPS6238988A (en) 1985-08-15 1985-08-15 Correction device for illuminance unevenness

Publications (1)

Publication Number Publication Date
JPS6238988A true JPS6238988A (en) 1987-02-19

Family

ID=16050633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17856185A Pending JPS6238988A (en) 1985-08-15 1985-08-15 Correction device for illuminance unevenness

Country Status (1)

Country Link
JP (1) JPS6238988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6734913B1 (en) 1999-10-28 2004-05-11 Hewlett-Packard Development Company, L.P. Method of automatically adjusting exposure in a shutterless digital camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6734913B1 (en) 1999-10-28 2004-05-11 Hewlett-Packard Development Company, L.P. Method of automatically adjusting exposure in a shutterless digital camera
US7304683B2 (en) 1999-10-28 2007-12-04 Hewlett-Packard Development Company, L.P. Method of automatically adjusting exposure in a shutterless digital camera

Similar Documents

Publication Publication Date Title
US5371610A (en) Image data processing apparatus
US4947444A (en) Image processing method and apparatus
JPS6238988A (en) Correction device for illuminance unevenness
JP2001036744A (en) Image reading method, image reader and image processor
JP3536165B2 (en) Image processing device and image output device
JPH03201774A (en) Multi-value picture input device
JPH0396171A (en) Picture read method
JP3168021B2 (en) Image reading device
JPS60254876A (en) Shading correcting device
JPS60200375A (en) Template matching system
JPS6263382A (en) Picture reading device
JPH0326591B2 (en)
KR970011858B1 (en) Digital image input method and apparatus using pressure sensor
JPH1198339A (en) Picture reader
JPS62115973A (en) Picture processing method and its device
JPH01100684A (en) Hand scanner type optical character reader
JPH047144B2 (en)
JP2926710B2 (en) Image processing device
JPS60150122A (en) Character pattern input device
JPS63261953A (en) Picture editing method
JPH02254851A (en) Picture reader
JP2000069238A (en) Control method for image reader
JPS5814670A (en) Image reader
JPH06105144A (en) Picture input device
JPH05307642A (en) Image reader