Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0679329B2 - Image sensor read gradation inspection method - Google Patents
[go: Go Back, main page]

JPH0679329B2 - Image sensor read gradation inspection method - Google Patents

Image sensor read gradation inspection method

Info

Publication number
JPH0679329B2
JPH0679329B2 JP62284710A JP28471087A JPH0679329B2 JP H0679329 B2 JPH0679329 B2 JP H0679329B2 JP 62284710 A JP62284710 A JP 62284710A JP 28471087 A JP28471087 A JP 28471087A JP H0679329 B2 JPH0679329 B2 JP H0679329B2
Authority
JP
Japan
Prior art keywords
gradation
image sensor
test pattern
data
reading
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
Application number
JP62284710A
Other languages
Japanese (ja)
Other versions
JPH01125677A (en
Inventor
一弘 竹田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62284710A priority Critical patent/JPH0679329B2/en
Publication of JPH01125677A publication Critical patent/JPH01125677A/en
Publication of JPH0679329B2 publication Critical patent/JPH0679329B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Input (AREA)

Description

【発明の詳細な説明】 〔概要〕 測定データの平均値と登録した基準データの差分を求め
て良否を判定することのできるイメージセンサの読取階
調検査方法に関し、 精度良く読取階調検査を行うことができるイメージセン
サの読取階調検査方法を提供することを目的とし、 媒体上に記された画像をイメージセンサによって読み取
る読取装置のイメージセンサの読取階調検査方法であっ
て、段階を付けた複数レベルの階調を夫々所定幅に階調
レベルの順序に並べて印刷したテストパターンと、テス
トパターンの各階調レベルを測定した階調別基準データ
を記憶する記憶手段と、テストパターンをイメージセン
サによって主走査方向及び副走査方向へ所定面積に亙っ
て読み取った階調レベル別データの平均値を演算し、平
均値及び記憶手段に記憶された各階調レベルに対応する
階調別基準データの差分を演算する演算手段とを備え、
演算手段による演算結果に基いて合否を判定する構成と
する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] A reading gradation inspection method for an image sensor, which can judge the quality by obtaining a difference between an average value of measured data and registered reference data, and performs a reading gradation inspection with high accuracy. An image sensor reading gradation inspection method for reading an image written on a medium by an image sensor, the method being provided with steps. A test pattern in which gradations of a plurality of levels are arranged in a predetermined width in the order of gradation levels, a storage unit for storing gradation-specific reference data for measuring each gradation level of the test pattern, and the test pattern by an image sensor The average value of the data for each gradation level read over a predetermined area in the main scanning direction and the sub-scanning direction is calculated and stored in the average value and storage means. And a calculation unit that calculates the difference between the gradation-based reference data corresponding to each gradation level,
The configuration is such that pass / fail is determined based on the calculation result by the calculation means.

〔産業上の利用分野〕[Industrial application field]

本発明は光学式読取装置のイメージセンサの画素読取階
調検査方法に係り、特に測定データの平均値と登録した
基準データの差分を求めて良否を判定することのできる
イメージセンサの読取階調検査方法に関するものであ
る。
The present invention relates to a pixel reading gradation inspection method for an image sensor of an optical reading device, and in particular, a reading gradation inspection for an image sensor capable of determining pass / fail by obtaining a difference between an average value of measured data and registered reference data. It is about the method.

近来、媒体に記された文字,記号,コード等を読み取る
方法が広く利用されており、POSシステムにおけるバー
コード,ファクシミリの原稿読取り,銀行等の預金通帳
のページを示すコード,或いは光学式文字読取装置(Op
tical Character Reader:以下OCRという)の文字読取
り等に用いられている。このような装置の製造,保守時
にイメージセンサの読取性能の検査を精度良く行える方
法が望まれている。
Recently, a method of reading characters, symbols, codes, etc. written on a medium is widely used, and a bar code in a POS system, a manuscript reading of a facsimile, a code showing a page of a bankbook such as a bank, or an optical character reading. Device (Op
tical character reader: hereinafter referred to as OCR). There is a demand for a method capable of accurately inspecting the reading performance of an image sensor when manufacturing and maintaining such a device.

〔従来の技術〕[Conventional technology]

第5図に示すOCR1は、例えば電荷結合素子(CCD)で構
成されたイメージセンサ2aを備えた読取部3,読み取った
データを2値化する2値化回路4,2値化されたデータが
格納される画像バッファ5,文字を認識する文字認識部6,
ディスプレイ(以下CRTという)7a,プリンタ7b,及び制
御部8で構成されている。
The OCR 1 shown in FIG. 5 includes, for example, a reading unit 3 including an image sensor 2a composed of a charge-coupled device (CCD), a binarizing circuit 4 for binarizing the read data, and a binarized data. Image buffer 5 to be stored, character recognition unit 6 to recognize characters,
It is composed of a display (hereinafter referred to as CRT) 7a, a printer 7b, and a control unit 8.

従って文字等が記された原稿等からイメージセンサ2aに
よって読みとられたイメージデータは、2値化されて画
像バッファ5に格納される。文字認識部6は格納された
イメージデータから一文字毎のデータを切出して文字認
識を行ってCRT7aに表示され、必要によりプリンタ7bに
印字出力され、順次文字の認識が進められる。
Therefore, the image data read by the image sensor 2a from a document or the like on which characters or the like are written is binarized and stored in the image buffer 5. The character recognition unit 6 cuts out data for each character from the stored image data, recognizes the characters, displays them on the CRT 7a, prints them out to the printer 7b as necessary, and sequentially recognizes the characters.

このようにしてイメージセンサ2aによって読みとられた
イメージデータが認識されて、プリンタ7bによって文字
パターンとして印字出力されたり、或いは外部のデータ
処理装置へ送られて数値データとして処理される。
In this way, the image data read by the image sensor 2a is recognized and printed out as a character pattern by the printer 7b, or sent to an external data processing device and processed as numerical data.

ここにおいてOCR1の文字認識精度の向上に対する要請か
らイメージセンサの素子の構造は微小化の傾向が一層進
み、ビット数も多くなって読取データが多値化されてお
り、この多値化データの階調を正確に検査する必要が高
まっている。
Due to the demand for improvement of OCR1 character recognition accuracy, the structure of the image sensor element is becoming more and more miniaturized, the number of bits is increasing, and the read data is multi-valued. There is a growing need to inspect the key accurately.

本例のOCRの場合に限らず、バーコード読取りやファク
シミリ等の場合でもイメージセンサの読取階調の如何に
より、認識や文書再現上の良否が左右されるので、これ
らイメージセンサを使用する装置では、製造時,或いは
保守時にイメージセンサによる画素読取階調の検査とし
て次のような方法が行われている。
Not only in the case of OCR of this example, but also in the case of barcode reading, facsimile, etc., the quality of recognition and document reproduction depends on the read gradation of the image sensor. The following method is performed as an inspection of the pixel reading gradation by the image sensor at the time of manufacturing or maintenance.

即ち、段階を付けて所定の階調レベルで印刷したテスト
パターンをイメージセンサ2aによって読み取って、シン
クロスコープ等に出力されたアナログ値の階調を測定す
る。この場合出力されたデータは多値化されており、目
視によって階調平均値を測定している。
That is, the image sensor 2a reads a test pattern printed in stages with a predetermined gradation level, and the gradation of the analog value output to the synchroscope or the like is measured. In this case, the output data is multi-valued, and the gradation average value is visually measured.

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

上記従来方法によれば、イメージセンサによる読取階調
の良否を判定する方法として、シンクロスコープ等のア
ナログ出力から多値データの平均値を目視で測定してい
るので、工数が掛かるばかりでなく、精度に限度があ
り、読取階調を正確に検査することが困難である。しか
もテストパターンの階調レベルの濃度は正確に印刷する
必要があるが、実際には印刷の濃度及びバラツキが不正
確に成り勝ちであるために平均値を出しても信頼できる
値とは言えないという問題点がある。
According to the above-mentioned conventional method, as a method of determining the quality of the read gradation by the image sensor, since the average value of multi-valued data is visually measured from the analog output of the synchroscope, not only the number of steps is required, The accuracy is limited, and it is difficult to accurately inspect the read gradation. Moreover, it is necessary to accurately print the density of the gradation level of the test pattern, but in reality the density and variations of the printing tend to be inaccurate, so even if an average value is given, it cannot be said to be a reliable value. There is a problem.

本発明は、精度良く読取階調検査を行うことができるイ
メージセンサの読取階調検査方法を提供することを目的
としている。
It is an object of the present invention to provide a read gradation inspection method for an image sensor that can perform a read gradation inspection with high accuracy.

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

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

図において、2はイメージセンサ、 9は段階を付けた複数レベルの階調を夫々所定幅に階調
レベルの順序に並べて印刷したテストパターン、 10はテストパターン9の各階調レベルを測定した階調別
基準データを記憶する記憶手段、 13はテストパターン9をイメージセンサによって主走査
方向及び副走査方向へ所定面積に亙って読み取った階調
レベル別データの平均値を演算し、平均値及び記憶手段
10に記憶された各階調レベルに対応する階調別基準デー
タの差分を演算する演算手段である。
In the figure, 2 is an image sensor, 9 is a test pattern in which gradations of a plurality of graded levels are arranged in a predetermined width in the order of gradation levels, and 10 is a gradation in which each gradation level of the test pattern 9 is measured. Storage means for storing different reference data, 13 calculates the average value of the gradation level-specific data obtained by reading the test pattern 9 over a predetermined area in the main scanning direction and the sub scanning direction by the image sensor, and stores the average value and the storage. means
The calculation means calculates the difference between the gradation-based reference data corresponding to each gradation level stored in 10.

従って演算手段13による演算結果に基いて合否を判定す
るように構成されている。
Therefore, the pass / fail judgment is made on the basis of the calculation result by the calculation means 13.

〔作用〕[Action]

段階を付けた複数レベルの階調が印刷されたテストパタ
ーン9をイメージセンサ2によって、主走査方向及び副
走査方向へ所定面積に亙って読み取り、演算手段13によ
って階調レベル別データの平均値を演算し、更にその平
均値と記憶手段10に記憶された各階調レベルに対応する
階調別基準データとの差分を演算し、演算結果に基いて
合否を判定する。
The image sensor 2 reads the test pattern 9 on which gradations of a plurality of levels are printed over a predetermined area in the main scanning direction and the sub-scanning direction, and the arithmetic means 13 averages the data for each gradation level. Is calculated, and the difference between the average value and the gradation-based reference data corresponding to each gradation level stored in the storage means 10 is calculated, and the pass / fail is determined based on the calculation result.

このようにしてテストパターン9の各階調レベルの測定
値とイメージセンサ2の各読取階調の平均値とを比較す
ることにより、テストパターン9の印刷の精度が緩和で
き、読取階調を自動的,且つ正確に検査することができ
る。
In this way, by comparing the measured value of each gradation level of the test pattern 9 and the average value of each read gradation of the image sensor 2, the printing accuracy of the test pattern 9 can be relaxed and the read gradation is automatically adjusted. , And can be accurately inspected.

〔実施例〕〔Example〕

以下本発明の一実施例を第2図〜第5図を参照して説明
する。全図を通じて同一符号は同一対象物を示す。第2
図で第1図に対応するものは1点鎖線で囲んで示してい
る。
An embodiment of the present invention will be described below with reference to FIGS. The same reference numerals denote the same objects throughout the drawings. Second
In the figure, those corresponding to FIG. 1 are shown surrounded by a one-dot chain line.

第2図において、テストパターン9aは、階調に段階を付
けて複数レベルの階調パターンを横方向に所定長さで、
縦方向に夫々所定幅,例えば2mm幅(画素幅0.125mm×1
6)に階調レベルの順序に並べて印刷されている。
In FIG. 2, the test pattern 9a is a gradation pattern having a plurality of levels and a predetermined length in the horizontal direction.
Each has a predetermined width in the vertical direction, for example 2 mm width (pixel width 0.125 mm x 1
It is printed in 6) in order of the gradation level.

基準データメモリ10aは、テストパターン9aの各階調レ
ベルを濃度計等によって測定した値を基準データとして
記憶している。基準データは図示省略したキーボードか
ら入力される。
The reference data memory 10a stores, as reference data, a value obtained by measuring each gradation level of the test pattern 9a with a densitometer or the like. The reference data is input from a keyboard (not shown).

変換部11は、テストパターン9aから読み取られた階調パ
ターンのイメージデータ(例えば主走査方向に16ビッ
ト,副走査方向に16ライン)の各ビットの階調を,例え
ば16段階に変換してデータメモリ12へ送る。第3図
(a)にデータの一部を例示しており、イメージデータ
の各ビットの階調の数値を配列している。階調は16段階
の階調レベルとし0〜9,A〜F(A=10,…,F=15)で表
されている。
The conversion unit 11 converts the gradation of each bit of the image data (for example, 16 bits in the main scanning direction and 16 lines in the sub scanning direction) of the gradation pattern read from the test pattern 9a into, for example, 16 steps, and then converts the data. Send to memory 12. Part of the data is illustrated in FIG. 3 (a), and the numerical values of the gradation of each bit of the image data are arranged. The gradation has 16 gradation levels and is represented by 0 to 9, A to F (A = 10, ..., F = 15).

演算部13aは、テストパターン9aをイメージセンサ2aに
よって主走査方向及び副走査方向へ所定面積に亙って読
み取った階調パターン別データ,第3図で16×16=256
画素のデータの平均値xを演算し、更に平均値xと基準
データメモリ10aに記憶された階調別基準データSとの
差分,最多階調と最低階調の差(偏差),及び最多階調
の%を演算する。
The operation unit 13a reads the test pattern 9a by the image sensor 2a in the main scanning direction and the sub-scanning direction over a predetermined area by gradation pattern data, 16 × 16 = 256 in FIG.
The average value x of the pixel data is calculated, and the difference between the average value x and the reference data S for each gradation stored in the reference data memory 10a, the difference (deviation) between the highest gradation and the lowest gradation, and the highest rank Calculates the key%.

判定部14は、判定基準値Lが設定された設定部15を備
え、演算部13aによって演算された差分δを判定基準値
Lと比較して、δ≦Lなら合格とし、δ>Lであれば不
合格と判定する。
The determination unit 14 includes a setting unit 15 in which a determination reference value L is set, compares the difference δ calculated by the calculation unit 13a with the determination reference value L, and if δ ≦ L, it is determined to be acceptable, and δ> L. If it is judged to be unacceptable.

データ処理部16は、各階調パターン毎に、判定部14によ
って判定された結果と共に、階調別基準データS,平均値
x,差分δ,偏差,最多階調とその%等を編集してプリン
タ7bへ送る。
The data processing unit 16 includes, for each gradation pattern, the result determined by the determination unit 14, the reference data S for each gradation, and the average value.
The x, the difference δ, the deviation, the maximum gradation and its percentage, etc. are edited and sent to the printer 7b.

このような構成及び機能を有するので、第4図のフロー
チャートによりテスト時の作用を説明する。
Since it has such a configuration and functions, the operation at the time of testing will be described with reference to the flowchart of FIG.

まず、予めテストパターン9aを濃度計によって測定し
た各階調パターンのデータを階調別基準データSとして
基準データメモリ10aに記憶する。
First, the data of each gradation pattern obtained by measuring the test pattern 9a with a densitometer in advance is stored in the reference data memory 10a as gradation-specific reference data S.

イメージセンサ2によって、テストパターン9aの1つ
の階調パターンの主走査方向へ16ビット,副走査方向へ
16ラインを読み取ってイメージデータ画像バッファ5へ
記憶する。
By the image sensor 2, one gradation pattern of the test pattern 9a is 16 bits in the main scanning direction and in the sub scanning direction.
16 lines are read and stored in the image data image buffer 5.

画像バッファ5から出力したイメージデータは変換部
11で16階調に変換されてデータメモリ12へ記憶される。
The image data output from the image buffer 5 is a conversion unit.
It is converted into 16 gradations in 11 and stored in the data memory 12.

演算部13aはデータメモリ12から読み出されたデータ
の平均値xを演算し、基準データメモリ10aから対応す
る階調別基準データSを読み出して、差分δ(=S−
x)を演算して判定部14へ送る。
The calculation unit 13a calculates the average value x of the data read from the data memory 12, reads the corresponding gradation-based reference data S from the reference data memory 10a, and calculates the difference δ (= S−
x) is calculated and sent to the determination unit 14.

判定部14は設定部15から判定基準値Lを読み出して、
差分δと比較し、δの絶対値が>Lであれば不合格と判
定する。
The determination unit 14 reads the determination reference value L from the setting unit 15,
The difference is compared with δ, and if the absolute value of δ is> L, it is determined as a failure.

データ処理部16は判定結果と共に、階調別基準データ
S,平均値x,差分δ,最多階調,及び最多階調の%等を編
集してプリンタ7bへ送って印字出力させる。第3図
(b)に印字フォーマットの一部を例示している。
The data processing unit 16 displays the judgment result and the reference data for each gradation.
S, the average value x, the difference δ, the maximum gradation, the% of the maximum gradation, etc. are edited and sent to the printer 7b for printing output. FIG. 3B illustrates a part of the print format.

かくてテストパターン9aのすべての階調レベルについ
て〜を繰り返す。係員は出力された全データに基い
て総合判定を行う。
Thus, to are repeated for all the gradation levels of the test pattern 9a. The clerk makes a comprehensive judgment based on all the output data.

このようにしてイメージセンサ2の読取階調を自動的,
且つ正確に検査することができる。
In this way, the reading gradation of the image sensor 2 is automatically
And it can be inspected accurately.

従ってテストパターンの階調レベルの濃度の正確な印刷
を必要とせず、既存の印刷物を流用することも可能であ
る。
Therefore, it is possible to use an existing printed matter without requiring accurate printing of the density of the gradation level of the test pattern.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、テストパターンの
階調レベルの測定値を基準として検査を行うので、印刷
濃度の精度を必要とせずに、自動的に読取階調の検査を
正確に行うことができるという効果がある。
As described above, according to the present invention, the inspection is performed based on the measured value of the gradation level of the test pattern, so that the read gradation is automatically and accurately inspected without requiring the accuracy of the print density. The effect is that you can.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の原理ブロック図、 第2図は本発明による実施例を示すブロック図、 第3図は実施例の検査データの説明図、 第4図は実施例のフローチャート、 第5図は本発明が適用されるOCRのブロック図である。 図において、 2,2aはイメージセンサ、9,9aはテストパターン、 10は記憶手段、10aは基準データメモリ、 13は演算手段、13aは演算部を示す。 FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, FIG. 3 is an explanatory diagram of inspection data of the embodiment, FIG. 4 is a flowchart of the embodiment, and FIG. FIG. 3 is a block diagram of an OCR to which the present invention is applied. In the figure, 2 and 2a are image sensors, 9 and 9a are test patterns, 10 is storage means, 10a is reference data memory, 13 is operation means, and 13a is operation section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】媒体上に記された画像をイメージセンサ
(2)によって読み取る読取装置のイメージセンサの読
取階調検査方法であって、 段階を付けた複数レベルの階調を夫々所定幅に階調レベ
ルの順序に並べて印刷したテストパターン(9)と、 該テストパターン(9)の各階調レベルを測定した階調
別基準データを記憶する記憶手段(10)と、 該テストパターン(9)を該イメージセンサ(2)によ
って主走査方向及び副走査方向へ所定面積に亙って読み
取った階調レベル別データの平均値を演算し、該平均値
及び該記憶手段(10)に記憶された各階調レベルに対応
する階調別基準データの差分を演算する演算手段(13)
とを備え、 該演算手段(13)による演算結果に基いて合否を判定す
ることを特徴とするイメージセンサの読取階調検査方
法。
1. A reading gradation inspection method for an image sensor of a reading device for reading an image written on a medium by means of an image sensor (2), wherein gradations of a plurality of levels with steps are respectively arranged within a predetermined width. A test pattern (9) printed in the order of the gradation level; a storage unit (10) for storing gradation-specific reference data for measuring each gradation level of the test pattern (9); and the test pattern (9). The image sensor (2) calculates an average value of the gradation level-specific data read over a predetermined area in the main scanning direction and the sub scanning direction, and the average value and each floor stored in the storage means (10). Computation means (13) for computing the difference between the gradation-based reference data corresponding to the tonal level
And a read gradation inspection method for an image sensor, comprising the step of judging pass / fail based on a calculation result by the calculation means (13).
JP62284710A 1987-11-11 1987-11-11 Image sensor read gradation inspection method Expired - Lifetime JPH0679329B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62284710A JPH0679329B2 (en) 1987-11-11 1987-11-11 Image sensor read gradation inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62284710A JPH0679329B2 (en) 1987-11-11 1987-11-11 Image sensor read gradation inspection method

Publications (2)

Publication Number Publication Date
JPH01125677A JPH01125677A (en) 1989-05-18
JPH0679329B2 true JPH0679329B2 (en) 1994-10-05

Family

ID=17681978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62284710A Expired - Lifetime JPH0679329B2 (en) 1987-11-11 1987-11-11 Image sensor read gradation inspection method

Country Status (1)

Country Link
JP (1) JPH0679329B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112599084B (en) * 2020-12-31 2022-09-27 江苏生辉光电科技有限公司 Gray scale division method for matrix lighting system

Also Published As

Publication number Publication date
JPH01125677A (en) 1989-05-18

Similar Documents

Publication Publication Date Title
US5471549A (en) Method of detecting and correcting a direction of image data and document image filing system employing the same
EP1330111B1 (en) Automatic image quality evaluation and correction technique
US5373147A (en) Apparatus and method for detecting line segment direction
KR920001359A (en) Image Processing System and Method for Document Data
JP2003303315A (en) Form reading system, form reading method, and program therefor
KR920010482B1 (en) Method and apparatus for representing image elements of image in signal form
US6192153B1 (en) Image processing device
JPH0679329B2 (en) Image sensor read gradation inspection method
JPH06187496A (en) Method for discrimination of print-out
JPH0731717B2 (en) Optical reader
JPH0679330B2 (en) Pixel resolution inspection method for image sensor
JP7759161B2 (en) Information processing device, information processing method, and program
EP1703446A1 (en) Apparatus and method for generating bar code, and apparatus and method for reading out bar code
JP2002366899A (en) Character information recognition method and character information recognition device
JP6098065B2 (en) Image inspection apparatus, image inspection method, and program
JPH07134757A (en) Display with two-dimensional code and two-dimensional code reader
JP3163235B2 (en) Optical character reader
JP3559595B2 (en) Image processing apparatus and method
JPH0736607B2 (en) Image signal processing method
JPS63311584A (en) Method for testing reading of image sensor
JP2604922B2 (en) Length measuring machine
JP3559596B2 (en) Image processing apparatus and method
JPH0922457A (en) Method for determining slice level of image reading mechanism
JPH11301077A (en) Apparatus and method for evaluating dot code
JPH0831133B2 (en) Print interval judgment method