JPH04185077A - Image reader - Google Patents

Image reader

Info

Publication number
JPH04185077A
JPH04185077A JP2312927A JP31292790A JPH04185077A JP H04185077 A JPH04185077 A JP H04185077A JP 2312927 A JP2312927 A JP 2312927A JP 31292790 A JP31292790 A JP 31292790A JP H04185077 A JPH04185077 A JP H04185077A
Authority
JP
Japan
Prior art keywords
card
density
correction curve
gamma correction
circuit
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
JP2312927A
Other languages
Japanese (ja)
Inventor
Taketo Sekiguchi
関口 武人
Naohiro Watanabe
尚洋 渡辺
Shunji Sakai
俊二 坂井
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2312927A priority Critical patent/JPH04185077A/en
Publication of JPH04185077A publication Critical patent/JPH04185077A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Image Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To obtain clear image output by preparing the optimum gamma correction curve corresponding to several kinds of card from white to black and selecting the optimum gamma correction curve suitable for respective cards. CONSTITUTION:The density of an optical image of a cashing card 100 is digital- converted to be supplied to a frame memory 107 and a density detection part 108. The density detection part 108 accumulates and adds a digital signal to detect the average density of the cashing card 100, and a gamma correction curve selection part 109 outputs a control signal selecting the optimum gamma correction curve according to the average density to the gamma correction circuit 110. In the gammacorrection circuit 110, the optimum gamma correction curves suitable for from white to black cards are preliminarily prepared, and the gamma correction curve suitable for the card is selected. Thus, the clear image output for each card can be obtained.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、金融機関等で使用される自動取引装置(A
TM)におけるキャッシングカード等のイメージ読取り
装置に関するものである。
[Detailed Description of the Invention] (Industrial Application Field) This invention is an automatic transaction device (A
This invention relates to an image reading device for cashing cards and the like in TM).

(従来の技術) 一般に、銀行等の金融機関に設置されているATMやC
Dでは、キャッシングカードと呼ばれる磁気ストライプ
付きのカードを使用して、を引の際の顧客本人を照合し
ている。
(Conventional technology) Generally, ATMs and C
In D, a card with a magnetic stripe called a cash advance card is used to verify the identity of the customer at the time of withdrawal.

顧客がこのカードを使用してATM等を操作すると、カ
ードの磁気ストライプに記憶されている情報にもとすい
て、装置内部で顧客が希望する取引、すなわち、入金、
出金、振込み等が行われる。
When a customer uses this card to operate an ATM, etc., based on the information stored on the card's magnetic stripe, the device performs the customer's desired transaction, i.e., deposits, deposits, etc.
Withdrawals, transfers, etc. will be made.

その際、このを引業務と併せて、キャッシングカード上
の口座番号、氏名等の情報をもつエンメス文字領域を印
刷して、−枚を顧客に取引明細書として提供するほか、
もう−枚を取引の証として金融機関が保存している。一
般に、このエンデス文字の印刷は、エンがス文字に感圧
紙をあて、その上をローラ等で押し当てる感圧方式が採
用されていたが、最近では、エンぎス領域をイメージデ
ータとして光学的に銃砲り、このデータをプリンタで印
字するイメージ読取り装置の使用が主流となっている。
At that time, in addition to the transaction, we print the Enmes character area with information such as the account number and name on the cashing card and provide the customer with a copy of the card as a statement of transaction.
Financial institutions keep these coins as proof of transactions. Generally, the printing of these Endless characters used a pressure-sensitive method in which a pressure-sensitive paper was placed on the Endless characters and a roller or the like was pressed against the pressure-sensitive paper. As a result, the mainstream is to use an image reading device that prints out this data using a printer.

第2図は、従来のイメージ読取り装置の構成図を示した
ものである。図中、200はキャッシングカード、20
1はカードを照明するLEDアレイ等の光源、202は
、収束性ロッドレンズアレイ、203は一次元のイメー
ジセンサ、204はセンサ駆動部、205は増幅回路、
206はアナログ/デジタル変換回路(以下、A/D変
換回路と称する)、207はr(ガンマ)補正回路、2
08は2値化処理部、209は印字部である。また、A
/D変換回路206に接続されている210は白レベル
設定回路、211は黒レベル設定回路である。
FIG. 2 shows a configuration diagram of a conventional image reading device. In the diagram, 200 is a cashing card, 20
1 is a light source such as an LED array that illuminates the card; 202 is a convergent rod lens array; 203 is a one-dimensional image sensor; 204 is a sensor drive unit; 205 is an amplifier circuit;
206 is an analog/digital conversion circuit (hereinafter referred to as an A/D conversion circuit); 207 is an r (gamma) correction circuit;
08 is a binarization processing section, and 209 is a printing section. Also, A
210 is a white level setting circuit connected to the /D conversion circuit 206, and 211 is a black level setting circuit.

カード200が何らかの手段で矢印212の方向に搬送
されてイメージセンサ203の下にくると、光源201
からの照射光によりカードが照射され、カードからの反
射光がロッドレンズアレイ202を介してイメージセン
サ203上に結像され、センサ駆動部204の制御によ
り光電変換が行われる。
When the card 200 is conveyed by some means in the direction of the arrow 212 and comes under the image sensor 203, the light source 201
The card is irradiated with the irradiation light from the card, and the reflected light from the card is imaged on the image sensor 203 via the rod lens array 202, and photoelectric conversion is performed under the control of the sensor drive unit 204.

光電変換された読゛を多信号は、増幅回路205で所定
のレベルに増幅され、次段のA / D変換回路206
に供給される。このA / D変換回路206では、−
増幅された読をり信号(アナログ信号)が、白レベル設
定回路210と、黒レベル設定回路211とから供給さ
れる白黒基準電圧の関係から、例えば、1画素8ピツ)
(256階調)の多値の濃度を表すデジタル信号に変換
され、次段のr補正回路207に供給される。
The photoelectrically converted reading signal is amplified to a predetermined level by an amplifier circuit 205, and then sent to the next stage A/D conversion circuit 206.
supplied to In this A/D conversion circuit 206, -
The amplified reading signal (analog signal) is determined based on the relationship between the black and white reference voltages supplied from the white level setting circuit 210 and the black level setting circuit 211, for example, 8 pixels per pixel).
The digital signal is converted into a digital signal representing multi-level density (256 gradations), and is supplied to the r correction circuit 207 at the next stage.

このr補正回路は、読をシに使用されたキャッシングカ
ード本体の印刷品位と、上記のイメージ読をり装置から
得られる印字イメージの品位との濃度バランスの違いを
電気的に補正するための回路である。
This r correction circuit is a circuit for electrically correcting the difference in density balance between the print quality of the cashing card body used for reading and the quality of the print image obtained from the above-mentioned image reading device. It is.

一般に使用されているr補正回路は、第3図に示すよう
な演算ROMのルックアップテーブルを用いて、イメー
ジ読暖シ装置から得られる印字イメージ品位から逆算さ
れたところの第4図に示すような装置固定のr補正曲線
をもとに補正処理を行う。
A generally used r correction circuit uses a look-up table in an arithmetic ROM as shown in FIG. Correction processing is performed based on an r correction curve fixed to the device.

とのr補正曲線とは、演算ROMの入力階調レベルに対
する出力階調レベルの関係をグラフにしたものである。
The r correction curve is a graph of the relationship between the output gradation level and the input gradation level of the arithmetic ROM.

つまり、1画素8ピツトの階調数(256階調)をもつ
読を多信号を演算ROMに入力し、これに対応した出力
信号として1画素6ピツトの階調数(64階調)の信号
に変換する際に階調数を犠牲にしてr補正処理を行い、
プリンタから出力される印字イメージ品位が読砲りに使
用されたキャッシングカード本体の印刷品位に最も近づ
くような処理がなされる。
In other words, a multi-signal reading with 8 pits per pixel (256 gradations) is input into the calculation ROM, and the corresponding output signal is a signal with 6 pits per pixel (64 gradations). Perform r correction processing at the expense of the number of gradations when converting to
Processing is performed so that the print image quality output from the printer comes closest to the print quality of the cashing card body used for reading.

r補正処理された信号は、次段の2値化処理部208で
擬似階調処理、例えば、デイザ処理、誤差拡散処理等に
より2値化処理が行われた後、印字部209で、例えば
感熱記録方式等によるプリンタにより印字しこれをカー
ドのイメージ出力として利用している。
The r-corrected signal is subjected to pseudo gradation processing, such as dither processing, error diffusion processing, etc., in the next-stage binarization processing unit 208, and then to the printing unit 209, for example, thermal It is printed by a printer using a recording method and used as an image output for the card.

(発明が解決しようとする課題) しかしながら、最近の金融機関等で使用されるキャッシ
ングカードは、白っぽいカードや、黒っぽいカードなど
多種多様なデザインカードが使用され始めておシ、r補
正曲線を装置固定とした従来のイメージ銃砲シ装置では
、−−m類のカードに対しては、満足されたイメージ出
力が得られるが、他の多種多様なデザインカードのすべ
てにわたって鮮明なイメージ出力を得ることは難しいと
いう問題が発生している。
(Problem to be solved by the invention) However, in recent years, cash cards used in financial institutions have started to come in a wide variety of designs, such as whitish cards and dark cards. Although the conventional image gun system can produce satisfactory image output for cards of the -m class, it is difficult to obtain clear image output for all other types of cards. A problem is occurring.

すなわち、中間的な濃度のデザインカー、ドに対しては
比較的良好なイメージ品位が得られる場合でも、白っぽ
いカードや黒っぽいカードに対しては充分なコントラス
トが得られなくなるために、例えば、黒っぽいカードを
読みをった場合には印刷の濃い部分の潰れが問題となっ
た夛、白を主体としたカードの場合には白い部分のイメ
ージが白〈飛んだ印字出力が現われるなどの問題があっ
た。
In other words, even if relatively good image quality can be obtained for medium-density design cards and cards, sufficient contrast cannot be obtained for whitish or dark cards. When reading a card, there was a problem with the dark areas of the print being crushed, and when using a card that was mainly white, there were problems such as the image of the white area appearing white (the printed output appeared blown out). .

本発明は、このような従来の問題を解決し、多種多様な
デザインカードに対して鮮明なイメージ出力を得ること
を可能にするイメージ銃砲り装置を提供することを目的
とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image shooting device that solves these conventional problems and makes it possible to obtain clear image output for a wide variety of design cards.

(課題を解決するための手段) 上記課題を解決するために、本発明に係るイメージ読取
り装置は、 キャッシングカード等の被読取り媒体の光学像を光電変
換し、さらに、多値の濃度を表すデ・ゾタル信号に変換
する手段と、 前記デジタル信号を蓄積するフレームメモリと、前記デ
ジタル信号に基づいて、被読取シ媒体の読取り全面にお
ける平均濃度を検出する濃度検出手段と、 検出された平均濃度に応じて最適なγ補正曲線を選択す
るための制御信号を出力するγ補正曲線選択手段と、 被読取り媒体の平均濃度に応じた複数のγ補正曲線デー
タを保有し、フレームメモリに蓄積されたデジタル信号
に対して、選択されたγ補正曲線により補正処理を施す
γ補正手段とを備えたことを特徴とする。
(Means for Solving the Problems) In order to solve the above problems, an image reading device according to the present invention photoelectrically converts an optical image of a medium to be read, such as a cash advance card, and further converts an optical image of a medium to be read, such as a cash advance card, into a digital image that represents a multi-value density. - means for converting into a zotal signal; a frame memory for storing the digital signal; a density detection means for detecting the average density over the entire surface of the read medium based on the digital signal; γ correction curve selection means that outputs a control signal for selecting an optimal γ correction curve according to the reading medium; The present invention is characterized by comprising a γ correction means for performing correction processing on the signal using a selected γ correction curve.

このとき、前記濃度検出手段は、前記デジタル信号の累
積加算により被読職り媒体の平均濃度を検出するように
構成すると好適である。
At this time, it is preferable that the density detection means is configured to detect the average density of the medium to be read by cumulatively adding the digital signals.

(作用) 上記のように構成されたイメージ読をり装置において、
被読をり媒体の光学像は光電変換され、さらに、多値の
濃度を表すデジタル信号に変換された後、フレームメモ
リに蓄積されると共に濃度検出手段にも供給される。濃
度検出手段は、上記デジタル信号を累積加算することに
より被読取り媒体の平均濃度を検出し、γ補正曲線選択
手段は、検出された平均濃度に応じて最適なγ補正曲線
を選択するための制御信号をγ補正手段に出力する。
(Operation) In the image reading device configured as above,
The optical image of the medium to be read is photoelectrically converted and further converted into a digital signal representing multi-level density, which is then stored in a frame memory and also supplied to the density detection means. The density detection means detects the average density of the medium to be read by cumulatively adding the digital signals, and the γ correction curve selection means controls to select an optimal γ correction curve according to the detected average density. The signal is output to the γ correction means.

γ補正手段には、白っぽいカードから黒っぽいカードま
での数種類のカードに対応した最適なγ補正曲線があら
かじめ数種類用意されており・前記制御信号により、そ
のカードに合った最適なγ補正曲線が選択され、上記フ
レームメモリに蓄積されたデジタル信号に対して最適な
r補正処理が行われる。
The γ correction means has several types of optimal γ correction curves corresponding to several types of cards, from whitish cards to dark cards, prepared in advance.The control signal selects the optimal γ correction curve suitable for the card. , optimal r correction processing is performed on the digital signal stored in the frame memory.

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

第1図は、本発明によるイメージ読取り装置の一実施例
の構成図である。図中、100は被読取シ媒体としての
キャッシングカード、101はカードを照明するLED
アレイ等の光源、102は収束性ロッドレンズアレイ、
103は一次元のイメージセンサ、104はセンサ駆動
部、105は増幅回路、106はA/D変換回路、10
2はフレームメモリ、108は濃度検出部、109はγ
補正曲線選択部、110はγ補正回路、11ノは2値化
処理部、112は印字部である。また、0変換回路に接
続されている113は白レベル設定回路、114は黒レ
ベル設定回路である・カード100が何らかの手段で矢
印115の方向に搬送されてイメージセンサ103の下
にくると、光源101からの照射光によりカードが照射
され、カードからの反射光がロッドレンズアレイ102
を介してイメージセンサ10g上に結像される。結像さ
れた反射光はセンサ駆動部104の制御の下にイメージ
センサにおいて光電変換が行われ、光電変換された読取
り信号は増幅回路105で所定のレベルに増幅される。
FIG. 1 is a block diagram of an embodiment of an image reading device according to the present invention. In the figure, 100 is a cash card as a medium to be read, and 101 is an LED that illuminates the card.
a light source such as an array; 102 is a convergent rod lens array;
103 is a one-dimensional image sensor, 104 is a sensor drive unit, 105 is an amplifier circuit, 106 is an A/D conversion circuit, 10
2 is a frame memory, 108 is a density detection unit, and 109 is γ.
A correction curve selection section, 110 is a γ correction circuit, 11 is a binarization processing section, and 112 is a printing section. Further, 113 connected to the 0 conversion circuit is a white level setting circuit, and 114 is a black level setting circuit. When the card 100 is conveyed by some means in the direction of the arrow 115 and comes under the image sensor 103, the light source The card is irradiated with light from the rod lens array 101, and the light reflected from the card is reflected from the rod lens array 102.
An image is formed on the image sensor 10g via the image sensor 10g. The imaged reflected light is photoelectrically converted in the image sensor under the control of the sensor driver 104, and the photoelectrically converted read signal is amplified to a predetermined level in the amplifier circuit 105.

増幅された読をり信号(アナログ信号)は、次段のA 
/ D変換回路106に供給され、白レベル設定回路1
13と、黒レベル設定回路114とから供給される白黒
基準電圧の関係から、例えば1画素8ピツ) (256
階調)の多値の濃度を表すデジタル信号に変換される。
The amplified reading signal (analog signal) is sent to the next stage A.
/ Supplied to the D conversion circuit 106 and white level setting circuit 1
13 and the black and white reference voltage supplied from the black level setting circuit 114, for example, one pixel has 8 pixels) (256
gradation) is converted into a digital signal representing the multi-value density.

デジタル信号に変換された読をりデータは、r補正処理
を施す前にフレームメモリ107に供給され、メモリへ
の書込が行わねると同時にカード全体の平均濃度を検出
するために濃度検出部108にも供給される。
The read data converted into a digital signal is supplied to the frame memory 107 before being subjected to r correction processing, and at the same time it is not written to the memory, a density detection unit 108 is used to detect the average density of the entire card. Also supplied.

濃度検出部10Bにはγ補正曲線選択部109が接続さ
れており、ここでは、濃度検出部108における平均濃
度の検出結果に応じて、次段のγ補正回路110に於い
て複数のγ補正曲線の中から最適なγ補正曲線を選択す
るための制御信。号を発生する。
A γ correction curve selection unit 109 is connected to the density detection unit 10B, and the γ correction curve selection unit 109 selects a plurality of γ correction curves in the next stage γ correction circuit 110 according to the detection result of the average density in the density detection unit 108. Control signal for selecting the optimal γ correction curve from among. generate a number.

カード全体の読取シが終了すると、フレームメモリに書
き込まれたデータの読出しが始まシ、読み出されたデー
タは、最適なγ補正処理を施すためにγ補正回路110
に供給される。このγ補正回路110で、最適なγ補正
処理が施されたデータは、次段の2値化処理部111で
擬似階調処理、例えば、デイザ処理、誤差拡散処理等に
より2値化処理が行われた後、印字部112で例えば感
熱記録方式等によるプリンタにより印字され、これを、
カードのイメージ出力として利用する。
When the reading of the entire card is completed, reading of the data written in the frame memory starts, and the read data is transferred to the γ correction circuit 110 in order to perform optimal γ correction processing
supplied to The data that has been subjected to optimal γ correction processing in the γ correction circuit 110 is subjected to binarization processing using pseudo gradation processing, such as dither processing, error diffusion processing, etc., in the next stage binarization processing section 111. After that, the printing unit 112 prints the image using, for example, a printer using a thermal recording method.
Use as image output for card.

ここで、本発明の特徴である、カードの平均濃度に応じ
て最適なγ補正処理を行う方法について第5図〜第7図
を用いて詳細に説明する。
Here, a method of performing optimal gamma correction processing according to the average density of the card, which is a feature of the present invention, will be explained in detail with reference to FIGS. 5 to 7.

第5図は、濃度検出部10Bと、γ補正曲線選択部10
9のi構成例を示したもので、濃度検出部10Bは、フ
ルアダー回路108m、ラッチ回路108bから構成さ
れ、r補正曲線選択部109は、デコーダ回路109h
、論理和回路109b。
FIG. 5 shows the concentration detection section 10B and the γ correction curve selection section 10.
9, the density detection section 10B is composed of a full adder circuit 108m and a latch circuit 108b, and the r correction curve selection section 109 is composed of a decoder circuit 109h.
, OR circuit 109b.

エンコーダ回路109cから構成されている。It is composed of an encoder circuit 109c.

濃度検出部10Bを構成するフルアダー回路108aの
A端子にはA/D変換回路106から出力される視読を
シ信号の上位3ビツトが入力され、B端子には次段のラ
ッチ回路108bから前読取り信号までの累積加算値が
フィードバックされている。その結果、このフルアダー
回路108aの出力には視読をり信号までの累積加算値
が現われ、これが次段のラッチ回路108bに入力され
ている。ラッチ回路108bは読*、b信号に対応した
ラッチ信号の入力により、視読をシ信号までの累積加算
値を保持すると共に、前述のフルアダー回路108aの
B端子へフィードバックされている。この信号処理の繰
り返しをカードの読取り開始から終了まで行う。すなわ
ち、カードの最後の読取り信号によるラッチ信号が入力
された時点でカードの読取平面全面における濃度の累積
加算値を求めることができる。
The upper 3 bits of the visual reading signal output from the A/D conversion circuit 106 are input to the A terminal of the full adder circuit 108a constituting the concentration detection section 10B, and the upper 3 bits of the visual reading signal output from the A/D conversion circuit 106 are input to the B terminal. The cumulative addition value up to the read signal is fed back. As a result, the cumulative addition value up to the visual reading signal appears at the output of the full adder circuit 108a, and this is input to the next stage latch circuit 108b. The latch circuit 108b receives latch signals corresponding to the reading* and b signals to hold the cumulative addition value from the visual reading to the shi signal, and feeds it back to the B terminal of the full adder circuit 108a. This signal processing is repeated from the start to the end of card reading. That is, the cumulative addition value of the density over the entire reading plane of the card can be determined at the time when the latch signal resulting from the last reading signal of the card is input.

ここで、処理される累積加算値の最大値は、扱う読取シ
信号の階調数(ここでは3ピット=8階調)と、主走査
、及び副走査方向のサンプリング画素数とに関係するこ
とは言うまでもない。
Here, the maximum value of the cumulative addition value to be processed is related to the number of gradations of the read signal to be handled (here, 3 pits = 8 gradations) and the number of sampling pixels in the main scanning and sub-scanning directions. Needless to say.

r補正曲線選択部109は、濃度検出部108で検出さ
れたカードの読取平面全面の累積加算値から、使用され
たカードに最適なγ補正曲線を選択するための制御信号
を出力するものである。ここでは、回路の規模を考慮し
て濃度検出部108で検出された累積加算値の上位3ビ
ツトのバイナリ信号(dat−ds3)を平均濃度とし
て扱っている。
The r correction curve selection section 109 outputs a control signal for selecting the most suitable gamma correction curve for the card used from the cumulative sum of the entire reading plane of the card detected by the density detection section 108. . Here, in consideration of the scale of the circuit, the binary signal (dat-ds3) of the upper three bits of the cumulative addition value detected by the density detection section 108 is treated as the average density.

゛ つまシ、累積加算値の上位3ビツトの平均濃度をデ
コーダ回路109aで8段階の濃度レベル(d1〜da
)に分割し、さらに、次の論理和回路109bで8段階
の濃度レベルを5段階の濃度レベル(濃度D1〜D5)
に変換すると共に、r補正用演算ROMのアドレス空間
に割当てられている5種類のγ補正曲線(rx−rs)
の中で最適な曲線が選択できるような選択信号(sl〜
85)を出力する・この選択信号が次段のエンコーダ回
路109cに於いて演算ROMのアドレス空間を制御す
る為の3ビツトの制御信号(C1〜as)に変換され、
γ補正回路110の演算ROMに供給される。
The decoder circuit 109a converts the average density of the upper three bits of the cumulative addition value into eight density levels (d1 to da).
), and the next OR circuit 109b divides the 8 density levels into 5 density levels (densities D1 to D5).
5 types of γ correction curves (rx-rs) assigned to the address space of the r correction calculation ROM.
A selection signal (sl~
85) This selection signal is converted into a 3-bit control signal (C1 to as) for controlling the address space of the arithmetic ROM in the encoder circuit 109c at the next stage,
The signal is supplied to the arithmetic ROM of the γ correction circuit 110.

第6図は、γ補正回路110に於いて使用する演算RO
Mの構成例でアシ、第7図は、演算ROMに格納される
γ補正曲線(γ1〜γ5)のデータの入出力関係を示し
たものである。図中、演算ROMの入力(A!〜As)
は、フレームメモリからの1画素8ビツトの階調レベル
をもつ読取り信号の入力端子であり、A! + AIO
+Allはγ補正曲線のデータが格納されているROM
のアドレス空間を切シ替えるための制御信号の入力端子
でr補正曲線選択部109に接続されている。ODo%
ODsはγ補正処理された出力データの出力端子である
。
FIG. 6 shows the calculation RO used in the γ correction circuit 110.
FIG. 7 shows the input/output relationship of the data of the γ correction curves (γ1 to γ5) stored in the arithmetic ROM. In the figure, the input of the calculation ROM (A!~As)
is an input terminal for a read signal having a gradation level of 8 bits per pixel from the frame memory, and A! + AIO
+All is a ROM in which the data of the γ correction curve is stored.
It is connected to the r correction curve selection section 109 at an input terminal for a control signal for switching the address space of the . ODo%
ODs is an output terminal for output data subjected to γ correction processing.

γ補正曲線のγ1〜r5は、一般に使用されているカー
ドについて、それらのカードの平均濃度を、白っぽいカ
ード(濃度D1)、少し白っぽいカード(濃度D2)、
中間的なカード(濃度D3)、少し黒っぽいカード(濃
度D4)、黒っぽいカード(濃度D5)等の5段階に分
類したときに、それぞれのカードで最適な印字品位が得
らねるように設定されている。これらのγ補正曲線は、
r補正曲線選択部109から出力される制御信号(ct
〜Ca)によって演算ROMのアドレス空間が切シ替え
られることにより、例えば、カードの平均濃度がD1以
上ならばrl、D1zD2ならばr2、D2〜D3なら
ばr3、D3〜D4ならばr4、D4以下ならばγ5の
ように選択され、読み取られたカードに最適なγ補正曲
線が自動的に選択されγ補正処理が行われる。
γ1 to r5 of the γ correction curve are the average density of commonly used cards, such as a whitish card (density D1), a slightly whitish card (density D2),
When the cards are classified into five levels, such as intermediate cards (density D3), slightly dark cards (density D4), and dark cards (density D5), the settings are made so that the optimum print quality cannot be obtained for each card. There is. These γ correction curves are
The control signal (ct
By switching the address space of the calculation ROM by ~Ca), for example, if the average density of the card is D1 or more, rl, if D1zD2, r2, if D2-D3, r3, if D3-D4, r4, D4. If it is below, γ5 is selected, and the optimum γ correction curve for the read card is automatically selected and γ correction processing is performed.

なお、カート9の平均濃度による分類数、及びこれに対
応したγ補正曲線の種類等はここに挙げた5種類に限定
されるものではない。
Note that the number of classifications based on the average density of the cart 9 and the types of γ correction curves corresponding thereto are not limited to the five types listed here.

エンコーダ回路109cから構成し、濃度検出手段10
8から出力される被読取り媒体の平均濃度を表す3ビツ
トのバイナリ信号(ds1〜dss)から、演算ROM
の制御信号(el”−e3)を作成するようにしたが、
上記3ビツトのバイナリ信号を演算ROMの制御信号と
して用いることもできる。この場合には演算ROMの内
容は、上記3ビツトによって表される2進数O〜7に対
応して、例えば、8種類のγ補正曲線のデータを各々の
アドレス空間に格納するように構成すれば良く、濃度検
出手段108は前述のγ補正曲線選択部109の機能も
兼ねたものとなる。
Consisting of an encoder circuit 109c, the density detection means 10
From the 3-bit binary signal (ds1 to dss) representing the average density of the medium to be read output from
The control signal (el"-e3) was created, but
The above 3-bit binary signal can also be used as a control signal for the arithmetic ROM. In this case, the contents of the arithmetic ROM may be configured to store, for example, eight types of γ correction curve data in each address space, corresponding to the binary numbers O to 7 represented by the three bits. Preferably, the density detection means 108 also functions as the γ correction curve selection section 109 described above.

(発明の効果) 以上、詳細に説明したように、本発明に係るイメージ読
をり装置によれば、白っぽいカードから黒っt¥I″い
カードまでの多種多様なデザインカードに対応してあら
かじめ設定されているγ補正曲線の中から、カードの平
均濃度を検出することによって、そのカードに合ったγ
補正曲線を選択することにより最適なγ補正処理が行わ
れるようにしたので、すべてのカードに対して鮮明なイ
メージ読取を得ることができるという利点がある。また
本発明における濃度検出部は、多値のデジタル信号の累
積加算手段という簡単な構成によるものであジハード量
を少なく構成できるという利点もある。
(Effects of the Invention) As described above in detail, the image reading device according to the present invention can handle a wide variety of design cards, from whitish cards to black cards. By detecting the average density of the card from the set γ correction curve, the γ that matches the card is determined.
Since the optimum γ correction process is performed by selecting the correction curve, there is an advantage that clear image reading can be obtained for all cards. Further, the concentration detection section according to the present invention has a simple structure of cumulative addition means for multivalued digital signals, and has the advantage that the amount of jihad can be reduced.

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

第1図は本発明のイメージ読取り装置の構成図、第2図
は従来のイメージ読取シ装置の構成図、第3図は従来装
置における演算ROMの構成図、第4図は従来装置にお
けるγ補正曲線図、第5図は、本発明の装置における濃
度検出部とγ補正曲線選択部の一構成例を示す図、第6
図は本発明の装置における演算ROMの構成図、第7図
は本発明の装置における5種類のγ補正曲線図である。 図中、100・・・キャッシングカード、101・・・
光源、102・・・収束性ロッドレンズアレイ、103
・・・−次元のイメージセンサ、104・・・センサ駆
動部、105・・・増幅回路、106・・・A / D
変換回路、107・・・フレームメモリ、108・・・
濃度検出部、109・・・γ補正曲線選択部、110・
・・γ補正回路、111・・・2値化処理部、112・
・・印字部、113・・・白レベル設定回路、114・
・・黒レベル設定回路。 従律/)Mll:#“けるr補゛正曲婢図演J ROM
Fig. 1 is a block diagram of an image reading device of the present invention, Fig. 2 is a block diagram of a conventional image reading device, Fig. 3 is a block diagram of an arithmetic ROM in the conventional device, and Fig. 4 is a gamma correction in the conventional device. The curve diagram, FIG.
The figure is a block diagram of the arithmetic ROM in the device of the present invention, and FIG. 7 is a diagram of five types of γ correction curves in the device of the present invention. In the diagram, 100...Cashing card, 101...
Light source, 102... Convergent rod lens array, 103
...-dimensional image sensor, 104... sensor drive unit, 105... amplifier circuit, 106... A/D
Conversion circuit, 107... Frame memory, 108...
Concentration detection unit, 109...γ correction curve selection unit, 110.
...γ correction circuit, 111...binarization processing unit, 112.
...Printing section, 113...White level setting circuit, 114.
...Black level setting circuit. Conformity /) Mll: # “Keru r゛ correction kakuzuen J ROM

Claims (2)

【特許請求の範囲】[Claims] (1)キヤッシングカード等の被読取り媒体の光学像を
光電変換し、さらに、多値の濃度を表すデジタル信号に
変換する手段と、 前記デジタル信号を蓄積するフレームメモリと、前記デ
ジタル信号に基づいて、被読取り媒体の読取り全面にお
ける平均濃度を検出する濃度検出手段と、 検出された平均濃度に応じて最適なγ補正曲線を選択す
るための制御信号を出力するγ補正曲線選択手段と、 被読取り媒体の平均濃度に応じた複数のγ補正曲線デー
タを保有し、フレームメモリに蓄積されたデジタル信号
に対して、選択されたγ補正曲線により補正処理を施す
γ補正手段とを備えたことを特徴とするイメージ読取り
装置。
(1) A means for photoelectrically converting an optical image of a medium to be read, such as a cash card, and further converting it into a digital signal representing multi-level density; a frame memory for storing the digital signal; and a frame memory for storing the digital signal; , a density detection means for detecting the average density over the entire surface of the medium to be read; a γ correction curve selection means for outputting a control signal for selecting an optimal γ correction curve according to the detected average density; A gamma correction means that holds a plurality of gamma correction curve data corresponding to the average density of the medium and performs correction processing on the digital signal stored in the frame memory using the selected gamma correction curve. image reading device.
(2)前記濃度検出手段は、前記デジタル信号の累積加
算により被読取り媒体の平均濃度を検出する手段である
ことを特徴とする請求項1記載のイメージ読取り装置。
(2) The image reading device according to claim 1, wherein the density detection means detects the average density of the medium to be read by cumulatively adding the digital signals.
JP2312927A 1990-11-20 1990-11-20 Image reader Pending JPH04185077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2312927A JPH04185077A (en) 1990-11-20 1990-11-20 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2312927A JPH04185077A (en) 1990-11-20 1990-11-20 Image reader

Publications (1)

Publication Number Publication Date
JPH04185077A true JPH04185077A (en) 1992-07-01

Family

ID=18035150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2312927A Pending JPH04185077A (en) 1990-11-20 1990-11-20 Image reader

Country Status (1)

Country Link
JP (1) JPH04185077A (en)

Similar Documents

Publication Publication Date Title
US4593325A (en) Adaptive threshold document duplication
JP3313399B2 (en) Image processing device
US20020126313A1 (en) Image processing method and apparatus for varibly processing image based upon image characteristics
US5243445A (en) Picture processing apparatus
JPH07274000A (en) Automatic offset and gain control in document scanner
JPS60230767A (en) Binarizing system of picture signal
US4408343A (en) Image enhancement for optical character readers
US4672681A (en) Mail imaging method and apparatus
US6707953B1 (en) Image processing apparatus interpolating thin line included in input image data
US6359702B1 (en) Image processing apparatus
JP3994571B2 (en) Information code binarization method, optical information reading apparatus using the binarization method, and code quality judgment assisting apparatus using the binarization method
JPH03201774A (en) Multi-value picture input device
JPH06203206A (en) Card image reader
JP3234460B2 (en) Image data processing device
US5640465A (en) Method and apparatus for on-line tiled thresholding in scanners based on prescan
JPH05258103A (en) Card image reader
JPH05242295A (en) Card image reader
JPH05242296A (en) Card image reader
JPH04101162U (en) image reader
JPH04222065A (en) Image reader
JP3472289B2 (en) Image processing device
JPH01248873A (en) Picture reader
JPS62157470A (en) Information reader
JPH01128167A (en) Card image reader
EP0569063A1 (en) Automatic offset and gain control in a document scanner