JPH11316868A - Method for detecting medium remaining in image reader - Google Patents

Method for detecting medium remaining in image reader

Info

Publication number
JPH11316868A
JPH11316868A JP10124389A JP12438998A JPH11316868A JP H11316868 A JPH11316868 A JP H11316868A JP 10124389 A JP10124389 A JP 10124389A JP 12438998 A JP12438998 A JP 12438998A JP H11316868 A JPH11316868 A JP H11316868A
Authority
JP
Japan
Prior art keywords
light
print medium
intensity
pixel
read
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.)
Withdrawn
Application number
JP10124389A
Other languages
Japanese (ja)
Inventor
Yoshihiro Watanabe
佳宏 渡辺
Masahito Ozawa
正仁 小澤
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 JP10124389A priority Critical patent/JPH11316868A/en
Publication of JPH11316868A publication Critical patent/JPH11316868A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To surely detect whether a print medium remain in a carrying path or not without being affected by the thickness of the print medium like paper money direct of the carrying path in an image reader. SOLUTION: A sampling and holding signal HLD whose pulse width is wider than that of normal image read is given to a CCD line sensor 16 to read a pixel signal PSG on a glass 11a. The signal PSG is converted to pixel data PDT by an A/D conversion part 20 and is stored in a RAM 24A as line data 24a. Thus, paper money 1 is detected even if the paper money overlap on the glass 11a. Further, line data 23a is masked with mask data 23c corresponding to the position of dirt of the glass 11a, and it is discriminated whether there is a remaining medium or not based on non-masked pixel data PDT. Thus, a remaining medium I is surely detected without being affected by dirt of the carrying path 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、紙幣等の印刷媒体
の裏面から光を照射し、その表面から放射される光の強
度を検出して印刷された画像を読み取る透過式の画像読
取装置において、読み取り位置に残留する印刷媒体を検
出する媒体残留検出方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission type image reading apparatus which irradiates light from the back side of a printing medium such as a bill and detects the intensity of the light radiated from the front side to read a printed image. The present invention relates to a medium remaining detection method for detecting a print medium remaining at a reading position.

【0002】[0002]

【従来の技術】図2は、従来の画像読取装置の概略の構
成図である。この画像読取装置は、例えば紙幣1の表裏
に印刷された画像を読み取ってその真贋を判定するもの
であり、読み取り対象の紙幣1を所定の方向に搬送する
ための搬送路11を有している。搬送路11には、紙幣
1を所定の速度で逐次搬送するためのガイドローラやス
テッピングモータ等で構成される搬送部12が取り付け
られている。また搬送路11の途中の所定の位置には、
搬送されてくる紙幣1の裏面から光を照射するために、
透明なガラス11aがはめ込まれている。搬送路11の
下側には、光源駆動部13で駆動される電灯14が配置
され、この搬送路11に対して約45゜の角度でガラス
11aに光が照射されるようになっている。ガラス11
aの真上には、レンズ15と電荷結合素子(以下、「C
CD」という)ラインセンサ16が配置され、このCC
Dラインセンサ16の受光面に、ガラス11a上に搬送
された紙幣1の画像の焦点が結ばれるようになってい
る。
2. Description of the Related Art FIG. 2 is a schematic configuration diagram of a conventional image reading apparatus. This image reading apparatus reads, for example, images printed on the front and back of a banknote 1 and determines authenticity thereof, and has a transport path 11 for transporting the banknote 1 to be read in a predetermined direction. . A transport section 12 including a guide roller, a stepping motor, and the like for sequentially transporting the banknotes 1 at a predetermined speed is attached to the transport path 11. Also, at a predetermined position in the middle of the transport path 11,
In order to irradiate light from the back of the bill 1 being conveyed,
A transparent glass 11a is fitted. An electric lamp 14 driven by a light source driving unit 13 is disposed below the transport path 11, and the glass 11 a is irradiated with light at an angle of about 45 ° with respect to the transport path 11. Glass 11
a, a lens 15 and a charge-coupled device (hereinafter referred to as “C
A line sensor 16 (referred to as “CD”) is provided.
The image of the bill 1 conveyed on the glass 11a is focused on the light receiving surface of the D line sensor 16.

【0003】この画像読取装置は、基準クロック信号C
LKを発生するクロック発生部17を有しており、この
クロック発生部17の出力側にCCD制御部18が接続
されている。CCD制御部18は、基準クロック信号C
LKに基づいて、CCDラインセンサ16の動作を制御
するためのサンプルホールド信号HLDとサンプリング
信号SPLとを生成するものである。CCDラインセン
サ16の出力側には、増幅部19を介してアナログ/デ
ィジタル(以下、「A/D」という)変換部20が接続
され、このA/D変換部20の出力側が、共通バス21
に接続されている。共通バス21には、A/D変換部2
0の他、読み出し専用メモリ(以下、「ROM」とい
う)22、随時読み書き可能メモリ(以下、「RAM」
という)23、及び中央処理装置(以下、「CPU」と
いう)24が接続されている。
This image reading apparatus uses a reference clock signal C
A clock generation unit 17 for generating LK is provided, and a CCD control unit 18 is connected to an output side of the clock generation unit 17. The CCD controller 18 receives the reference clock signal C
A sample hold signal HLD and a sampling signal SPL for controlling the operation of the CCD line sensor 16 are generated based on the LK. An analog / digital (hereinafter, referred to as “A / D”) converter 20 is connected to an output side of the CCD line sensor 16 via an amplifier 19, and the output side of the A / D converter 20 is connected to a common bus 21.
It is connected to the. The common bus 21 includes an A / D converter 2
0, a read-only memory (hereinafter, referred to as “ROM”) 22, and a readable / writable memory (hereinafter, referred to as “RAM”)
) 23 and a central processing unit (hereinafter, referred to as “CPU”) 24.

【0004】ROM22は、この画像読取装置の処理の
手順を規定するプログラムや、処理に必要な固定データ
が記憶されたメモリである。RAM23は、A/D変換
部20で変換された1ライン分の画素データPDTであ
るラインデータ23aや、複数ラインの画素データPD
Tとして読み取った紙幣1の画像データ23b等を格納
するためのメモリである。CPU24は、外部から動作
開始を指示するための起動信号STAや、CCD制御部
18からサンプルホールド信号HLD及びサンプリング
信号SPLが与えられるとともに、搬送部12に対する
搬送制御信号CCSや、光源駆動部13に対する光源制
御信号LCSを出力するようになっている。また、CP
U24は、ROM22に記憶されたプログラムに基づい
て、A/D変換部20で変換された画素データPDT
を、ラインデータ23a及び画像データ23bとしてR
AM23に格納するとともに、このラインデータ23a
を読み出して紙幣1が残留しているか否かを判定して媒
体残留信号RESを出力する機能を有している。更に、
CPU24は、画像データ23bに基づいて紙幣1の真
贋を判定して画像検出信号DETを出力する機能を有し
ている。
[0004] The ROM 22 is a memory that stores a program for defining the processing procedure of the image reading apparatus and fixed data necessary for the processing. The RAM 23 stores line data 23a, which is one line of pixel data PDT converted by the A / D converter 20, and pixel data PD of a plurality of lines.
This is a memory for storing image data 23b and the like of the banknote 1 read as T. The CPU 24 is supplied with a start signal STA for instructing an operation start from the outside, a sample hold signal HLD and a sampling signal SPL from the CCD control unit 18, a transport control signal CCS for the transport unit 12, and a light source drive unit 13. The light source control signal LCS is output. Also, CP
U24 is the pixel data PDT converted by the A / D converter 20 based on the program stored in the ROM 22.
Is R as the line data 23a and the image data 23b.
AM 23 and the line data 23a
And outputs a medium residual signal RES by determining whether or not the bill 1 remains. Furthermore,
The CPU 24 has a function of determining the authenticity of the bill 1 based on the image data 23b and outputting an image detection signal DET.

【0005】このような画像読取装置において、起動信
号STAが与えられると、CPU24の動作が開始し、
ROM22に記憶されたプログラムに基づいて、最初
に、搬送路11上の読み取り位置であるガラス11aの
部分に、紙幣1が残留していないかどうかをチェックす
る媒体残留検出処理が開始される。媒体残留検出処理に
おいて、まず、光源制御信号LCSがオンに設定され、
光源駆動部13によって電灯14が点灯される。電灯1
4から放射された光は、搬送路11のガラス11aに斜
めに照射されるので、このガラス11a上に紙幣1が存
在しなければ、CCDラインセンサ16には光が入射さ
れない。従って、CCDラインセンサ16の受光面の光
のレベルは黒レベルとなる。もしも、ガラス11a上に
紙幣1が残留していると、裏面から照射された光がこの
紙幣1を透過し、その表面から散乱光として放射され
る。そして、上方に放射された散乱光は、レンズ15で
集光されてCCDラインセンサ16の受光面に焦点を結
ぶ。
In such an image reading apparatus, when a start signal STA is given, the operation of the CPU 24 starts,
Based on the program stored in the ROM 22, first, a medium remaining detection process for checking whether or not the bill 1 remains on the portion of the glass 11a that is the reading position on the transport path 11 is started. In the medium residual detection process, first, the light source control signal LCS is set to ON,
The electric light 14 is turned on by the light source driving unit 13. Light 1
The light radiated from 4 irradiates the glass 11a of the transport path 11 obliquely. Therefore, if the banknote 1 does not exist on the glass 11a, the light does not enter the CCD line sensor 16. Therefore, the light level on the light receiving surface of the CCD line sensor 16 becomes the black level. If the bill 1 remains on the glass 11a, the light irradiated from the back surface passes through the bill 1 and is radiated as scattered light from the front surface. The scattered light emitted upward is condensed by the lens 15 and focuses on the light receiving surface of the CCD line sensor 16.

【0006】CCDラインセンサ16の受光面の光のレ
ベルは、サンプルホールド信号HLDによって保持さ
れ、サンプリング信号SPLに従って順次1画素づつア
ナログ電圧の画素信号PSGとして読み出され、増幅部
19を介してA/D変換部20に与えられる。A/D変
換部20でディジタル値に変換された画素データPDT
は、CPU24によって読み取られ、RAM23にライ
ンデータ23aとして格納される。1ライン分の画素デ
ータPDTが格納されると、CPU24によってライン
データ23aが読み出され、所定の値以上の画素データ
PDTの数がカウントされる。そして、カウントされた
画素データPDTの個数が一定数以上有れば、紙幣1が
残留していると判定されて、媒体残留信号RESが出力
される。このような媒体残留検出処理によって、紙幣1
が残留しないと判定されると、次に、画像読取処理が開
始される。
The light level on the light receiving surface of the CCD line sensor 16 is held by a sample hold signal HLD, and is sequentially read out as an analog voltage pixel signal PSG one pixel at a time in accordance with the sampling signal SPL. / D conversion unit 20. Pixel data PDT converted to digital values by A / D converter 20
Is read by the CPU 24 and stored in the RAM 23 as line data 23a. When the pixel data PDT for one line is stored, the line data 23a is read by the CPU 24, and the number of pixel data PDT having a predetermined value or more is counted. If the counted number of the pixel data PDT is equal to or more than a certain number, it is determined that the banknote 1 remains, and the medium residual signal RES is output. By such a medium remaining detection process, the banknote 1
If it is determined that does not remain, the image reading process is started next.

【0007】画像読取処理の開始により、CPU24か
ら出力される搬送制御信号CCSがオンとなり、読み取
り対象の紙幣1の搬送が開始される。搬送された紙幣1
が搬送路11のガラス11aに到達すると、この紙幣1
を透過してその表面から放射された光がCCDラインセ
ンサ16で検出され、1ラインを構成する複数の画素信
号PSGとして出力される。画素信号PSGは、残留媒
体検出処理と同様に、A/D変換部20で画素データP
DTに変換され、RAM23に画像データ23bとして
格納される。1枚の紙幣1の画像データ23bが格納さ
れると、CPU24によって、この画像データ23bが
読み出され、紙幣1の真贋が判定されてその判定結果が
画像検出信号DETとして出力される。
At the start of the image reading process, the transport control signal CCS output from the CPU 24 is turned on, and the transport of the bill 1 to be read is started. Conveyed banknote 1
Reaches the glass 11a of the transport path 11, the bill 1
The light emitted through the surface of the CCD is detected by the CCD line sensor 16 and output as a plurality of pixel signals PSG constituting one line. The pixel signal PSG is converted into pixel data P by the A / D converter 20 in the same manner as in the residual medium detection processing.
The data is converted to DT and stored in the RAM 23 as image data 23b. When the image data 23b of one banknote 1 is stored, the CPU 24 reads the image data 23b, determines the authenticity of the banknote 1, and outputs the determination result as an image detection signal DET.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
画像読取装置では、次のような課題があった。例えば、
残留する紙幣1等の印刷媒体が厚手の紙の場合や、複数
の印刷媒体が重なって残留している場合、透過光量が少
なくなり画素信号PSGのレベルが小さくなる。このよ
うな場合に、搬送路11のガラス11a面に汚れ等が付
着していると、CCDラインセンサ16に入射される光
量が更に少なくなり、印刷媒体が存在しない場合と同様
の状態となって、残留媒体検出精度が低下するという課
題があった。本発明は、前記従来技術が持っていた課題
を解決し、印刷媒体の厚さや搬送路11の汚れ等に影響
されず、残留する印刷媒体の有無を確実に検出すること
ができる画像読取装置における媒体残留検出方法を提供
するものである。
However, the conventional image reading apparatus has the following problems. For example,
When the print medium such as the remaining banknote 1 is thick paper, or when a plurality of print mediums are left over, the amount of transmitted light is reduced and the level of the pixel signal PSG is reduced. In such a case, if dirt or the like adheres to the surface of the glass 11a of the transport path 11, the amount of light incident on the CCD line sensor 16 is further reduced, and the state becomes the same as when there is no print medium. However, there has been a problem that the detection accuracy of the residual medium is reduced. The present invention solves the problems of the prior art described above, and is not affected by the thickness of the print medium, the contamination of the transport path 11, and the like, and is capable of reliably detecting the presence or absence of a remaining print medium. It is an object of the present invention to provide a method for detecting a residual medium.

【0009】[0009]

【課題を解決するための手段】前記課題を解決するため
に、本発明の内の第1の発明は、読み取り対象の印刷媒
体を所定の搬送路を搬送させてその裏面に第1の方向か
ら光を照射するとともに、該印刷媒体を透過してその表
面から該第1の方向とは異なる第2の方向に放射された
光の強度を、直線状に配列されたCCDによって画素毎
に検出し、該印刷媒体上の画像を読み取る画像読取装置
における媒体残留検出方法を次のような処理で行ってい
る。まず、前記搬送路に前記読み取り対象の印刷媒体を
搬送させずに前記第1の方向から光を照射し、前記第2
の方向の光の強度を前記CCDによって検出する検出処
理と、前記検出処理で検出された各画素毎の光の強度を
第1の基準値と比較し、該第1の基準値を越える画素数
に基づいて前記搬送路上に残留する印刷媒体の有無を判
定する第1の判定処理とを行う。
According to a first aspect of the present invention, a printing medium to be read is conveyed through a predetermined conveying path, and the back side of the medium is read from a first direction. While irradiating light, the intensity of light transmitted through the print medium and emitted from the surface thereof in a second direction different from the first direction is detected for each pixel by CCDs arranged linearly. A method for detecting a medium remaining in an image reading apparatus that reads an image on the print medium is performed by the following processing. First, light is irradiated from the first direction without transporting the print medium to be read to the transport path,
A detection process of detecting the light intensity in the direction of the above by the CCD, and comparing the light intensity of each pixel detected by the detection process with a first reference value, and determining the number of pixels exceeding the first reference value. And a first determination process for determining the presence or absence of a print medium remaining on the transport path based on the above.

【0010】次に、前記第1の判定処理によって印刷媒
体が無いと判定された場合に、前記検出処理で検出され
た画素の内で判定用マスクデータによってマスクされな
い画素の光の強度を前記第1の基準値よりも小さい第2
の基準値と比較し、該第2の基準値を越える画素数に基
づいて前記搬送路上に残留する印刷媒体の有無を判定す
る第2の判定処理を行う。更に、前記第2の判定処理に
よって印刷媒体が無いと判定された場合に、前記検出処
理で検出された各画素毎の光の強度に基づいて前記判定
用マスクデータを更新するマスクデータ更新処理を行
う。
Next, when it is determined by the first determination processing that there is no print medium, the light intensity of the pixels not masked by the determination mask data among the pixels detected by the detection processing is reduced by the first determination processing. 2nd smaller than the reference value of 1
And a second determination process for determining whether there is a print medium remaining on the conveyance path based on the number of pixels exceeding the second reference value. Further, when it is determined by the second determination process that there is no print medium, a mask data update process of updating the determination mask data based on the light intensity of each pixel detected in the detection process is performed. Do.

【0011】第1の発明によれば、以上のように媒体残
留検出方法を構成したので、次のような作用が行われ
る。検出処理により、印刷媒体が搬送されない状態での
光の強度が検出され、第1の判定処理により、その検出
された光の強度に基づいて残留する印刷媒体の有無が判
定され、有りと判定されれば媒体残留検出は終了する。
第1の判定処理で無しと判定されると、第2の判定処理
により、判定用マスクデータで画素毎のデータがマスク
され、マスクされないデータに基づいて残留する印刷媒
体の有無が判定され、有りと判定されれば媒体残留検出
は終了する。第2の判定処理の結果、残留が無いと判定
されると、検出処理で検出された各画素毎の光の強度に
基づいて判定用マスクデータを更新するマスクデータ更
新処理が行われ、媒体残留検出が終了する。
According to the first aspect of the present invention, since the method for detecting a residual medium is configured as described above, the following operation is performed. The detection processing detects the light intensity in a state where the print medium is not conveyed, and the first determination processing determines the presence or absence of the remaining print medium based on the detected light intensity, and determines that the print medium is present. Then, the detection of the remaining medium ends.
If it is determined that there is no print medium in the first determination process, the second determination process masks the data for each pixel with the mask data for determination, and determines the presence or absence of the remaining print medium based on the unmasked data. Is determined, the medium residual detection ends. As a result of the second determination process, when it is determined that there is no residual, a mask data update process of updating the determination mask data based on the light intensity of each pixel detected in the detection process is performed, and the medium remaining Detection ends.

【0012】第2の発明は、第1の発明と同様の画像読
取装置における媒体残留検出方法を次のような処理で行
っている。まず、前記搬送路に前記読み取り対象の印刷
媒体を搬送させずに前記第1の方向から光を照射すると
ともに、前記CCDに第1のパルス幅の読取パルスを与
え、前記第2の方向の光の強度を読み取って検出する第
1の検出処理と、前記第1の検出処理で検出された各画
素毎の光の強度を第1の基準値と比較し、該第1の基準
値を越える画素数に基づいて前記搬送路上に残留する印
刷媒体の有無を判定する第1の判定処理とを行う。次
に、前記第1の判定処理によって印刷媒体が無いと判定
された場合に、前記搬送路に前記読み取り対象の印刷媒
体を搬送させずに前記第1の方向から光を照射するとと
もに、前記CCDに前記第1のパルス幅よりも広い第2
のパルス幅の読取パルスを与え、前記第2の方向の光の
強度を読み取って検出する第2の検出処理を行う。更
に、前記第2の検出処理で検出された各画素毎の光の強
度を第2の基準値と比較し、該第2の基準値を越える画
素数に基づいて前記搬送路上に残留する印刷媒体の有無
を判定する第2の判定処理を行う。
According to a second aspect of the present invention, a method for detecting a remaining medium in an image reading apparatus similar to the first aspect of the invention is performed by the following processing. First, light is irradiated from the first direction without transporting the print medium to be read to the transport path, and a read pulse having a first pulse width is given to the CCD, and light in the second direction is emitted. A first detection process of reading and detecting the intensity of light, and comparing the intensity of light of each pixel detected in the first detection process with a first reference value, and determining whether a pixel exceeds the first reference value. A first determination process of determining whether there is a print medium remaining on the conveyance path based on the number of print media. Next, when it is determined by the first determination process that there is no print medium, light is irradiated from the first direction without transporting the print medium to be read to the transport path, and A second pulse width wider than the first pulse width.
And performs a second detection process of reading and detecting the intensity of light in the second direction. Further, the light intensity of each pixel detected in the second detection processing is compared with a second reference value, and the print medium remaining on the transport path is determined based on the number of pixels exceeding the second reference value. A second determination process for determining the presence or absence of is performed.

【0013】第2の発明によれば、次のような作用が行
われる。第1の検出処理により、印刷媒体が搬送されな
い状態で、CCDに第1のパルス幅の読取パルスが与え
られて光の強度が検出される。第1の判定処理により、
その検出された光の強度に基づいて残留する印刷媒体の
有無が判定され、有りと判定されれば媒体残留検出は終
了する。第1の判定処理で無しと判定されると、第2の
検出処理により、印刷媒体が搬送されない状態で、CC
Dに幅の広い第2のパルス幅の読取パルスが与えられて
光の強度が検出される。そして、第2の判定処理によ
り、その検出された光の強度に基づいて残留する印刷媒
体の有無が最終的に判定され、媒体残留検出は終了す
る。
According to the second aspect, the following operation is performed. By the first detection processing, a reading pulse having a first pulse width is given to the CCD in a state where the print medium is not conveyed, and the light intensity is detected. By the first determination processing,
The presence or absence of the remaining print medium is determined based on the detected light intensity, and if it is determined that the print medium remains, the medium residual detection ends. If it is determined that the print medium is not present in the first determination processing, the second detection processing is performed in a state where the print medium is not conveyed.
A read pulse having a wide second pulse width is applied to D, and the light intensity is detected. Then, by the second determination process, the presence or absence of the remaining print medium is finally determined based on the detected light intensity, and the medium residual detection ends.

【0014】第3の発明は、第1の発明と同様の画像読
取装置における媒体残留検出方法を次のような処理で行
っている。まず、第2の発明と同様の第1の検出処理
と、第1の判定処理と、第2の検出処理とを行い、次
に、前記第2の検出処理で検出された画素の内で判定用
マスクデータによってマスクされない画素の光の強度を
第2の基準値と比較し、該第2の基準値を越える画素数
に基づいて前記搬送路上に残留する印刷媒体の有無を判
定する第2の判定処理を行う。そして、前記第2の判定
処理によって印刷媒体が無いと判定された場合に、前記
第1または第2の検出処理で検出された各画素毎の光の
強度に基づいて前記判定用マスクデータを更新するマス
クデータ更新処理を行う。
According to a third aspect of the present invention, a method for detecting a medium remaining in an image reading apparatus similar to the first aspect of the invention is performed by the following processing. First, a first detection process, a first determination process, and a second detection process similar to those of the second invention are performed, and then a determination is made among the pixels detected in the second detection process. Comparing the light intensity of the pixels that are not masked by the mask data with the second reference value, and determining the presence or absence of a print medium remaining on the transport path based on the number of pixels exceeding the second reference value. Perform determination processing. When it is determined that there is no print medium in the second determination process, the mask data for determination is updated based on the light intensity of each pixel detected in the first or second detection process. Perform a mask data update process.

【0015】第3の発明によれば、次のような作用が行
われる。第1の検出処理により、印刷媒体が搬送されな
い状態で、CCDに第1のパルス幅の読取パルスが与え
られて光の強度が検出される。第1の判定処理により、
その検出された光の強度に基づいて残留する印刷媒体の
有無が判定され、有りと判定されれば媒体残留検出は終
了する。第1の判定処理で無しと判定されると、第2の
検出処理により、印刷媒体が搬送されない状態で、CC
Dに幅の広い第2のパルス幅の読取パルスが与えられて
光の強度が検出される。そして、第2の判定処理によ
り、判定用マスクデータで第2の検出処理で検出された
画素毎のデータがマスクされ、マスクされないデータに
基づいて残留する印刷媒体の有無が判定され、有りと判
定されれば媒体残留検出は終了する。第2の判定処理の
結果、残留が無いと判定されると、検出処理で検出され
た各画素毎の光の強度に基づいて判定用マスクデータを
更新するマスクデータ更新処理が行われ、媒体残留検出
が終了する。
According to the third aspect, the following operation is performed. By the first detection processing, a reading pulse having a first pulse width is given to the CCD in a state where the print medium is not conveyed, and the light intensity is detected. By the first determination processing,
The presence or absence of the remaining print medium is determined based on the detected light intensity, and if it is determined that the print medium remains, the medium residual detection ends. If it is determined that the print medium is not present in the first determination processing, the second detection processing is performed in a state where the print medium is not conveyed.
A read pulse having a wide second pulse width is applied to D, and the light intensity is detected. Then, in the second determination process, the data for each pixel detected in the second detection process is masked with the mask data for determination, and the presence or absence of the remaining print medium is determined based on the unmasked data. Then, the detection of the remaining medium ends. As a result of the second determination process, when it is determined that there is no residual, a mask data update process of updating the determination mask data based on the light intensity of each pixel detected in the detection process is performed, and the medium remaining Detection ends.

【0016】第4の発明は、読み取り対象の印刷媒体を
所定の搬送路を搬送させてその裏面に第1の方向から光
を照射するとともに、該印刷媒体を透過してその表面か
ら該第1の方向とは異なる第2の方向に放出された光の
強度を、直線状に配列された所定の分解能を有するCC
Dによって画素毎に検出して該印刷媒体上の画像を読み
取り、該読み取った画素の内の一定割合の画素に基づい
て画像を認識する画像読取装置における媒体残留検出方
法を次のような処理で行っている。まず、前記搬送路に
前記読み取り対象の印刷媒体を搬送させずに前記第1の
方向から光を照射し、前記第2の方向の光の強度を前記
CCDによって前記所定の分解能で画素毎に検出する検
出処理を行い、そして、前記検出処理で検出された各画
素の光の強度を基準値と比較し、該基準値を越える画素
数に基づいて前記搬送路上に残留する印刷媒体の有無を
判定する判定処理を行う。
According to a fourth aspect of the present invention, the printing medium to be read is conveyed through a predetermined conveyance path, and the back surface of the printing medium is irradiated with light from a first direction. The intensity of light emitted in a second direction different from the direction of
A method for detecting a medium remaining in an image reading apparatus that detects an image on the printing medium by detecting each pixel by D and recognizes an image based on a fixed percentage of the read pixels by the following processing. Is going. First, light is irradiated from the first direction without transporting the print medium to be read to the transport path, and the intensity of light in the second direction is detected by the CCD at the predetermined resolution for each pixel. And comparing the light intensity of each pixel detected in the detection processing with a reference value, and determining whether there is a print medium remaining on the transport path based on the number of pixels exceeding the reference value. Is performed.

【0017】第4の発明によれば、次のような作用が行
われる。検出処理により、印刷媒体が搬送されない状態
での光の強度が検出され所定の分解能の画素が得られ
る。判定処理により、その検出された各画素の光の強度
に基づいて残留する印刷媒体の有無が判定される。第5
の発明は、第4の発明と同様の画像読取装置における媒
体残留検出方法を次のような処理で行っている。まず、
第4の発明と同様の検出処理を行い、更に、前記検出処
理で検出された各画素の光の強度を第1の基準値と比較
し、該第1の基準値を越える画素数に基づいて前記搬送
路上に残留する印刷媒体の有無を判定する第1の判定処
理とを行う。次に、前記第1の判定処理によって印刷媒
体が無いと判定された場合に、前記CCDで検出された
画素の内で判定用マスクデータによってマスクされない
画素の光の強度を前記第1の基準値よりも小さい第2の
基準値と比較し、該第2の基準値を越える画素数に基づ
いて前記搬送路上に残留する印刷媒体の有無を判定する
第2の判定処理を行う。更に、前記第2の判定処理によ
って印刷媒体が無いと判定された場合に、前記検出処理
で検出された各画素毎の光の強度に基づいて前記判定用
マスクデータを更新するマスクデータ更新処理を行う。
According to the fourth aspect, the following operation is performed. By the detection processing, the intensity of light in a state where the print medium is not conveyed is detected, and pixels having a predetermined resolution are obtained. In the determination process, the presence or absence of the remaining print medium is determined based on the detected light intensity of each pixel. Fifth
According to the invention, a medium remaining detection method in an image reading apparatus similar to the fourth invention is performed by the following processing. First,
The same detection processing as in the fourth invention is performed, and further, the light intensity of each pixel detected in the detection processing is compared with a first reference value, and based on the number of pixels exceeding the first reference value. A first determination process for determining whether there is a print medium remaining on the transport path is performed. Next, when it is determined by the first determination process that there is no print medium, the light intensity of a pixel not masked by the determination mask data among the pixels detected by the CCD is determined by the first reference value. A second reference value smaller than the second reference value, and performing a second determination process of determining the presence or absence of a print medium remaining on the conveyance path based on the number of pixels exceeding the second reference value. Further, when it is determined by the second determination process that there is no print medium, a mask data update process of updating the determination mask data based on the light intensity of each pixel detected in the detection process is performed. Do.

【0018】第5の発明によれば、次のような作用が行
われる。検出処理により、印刷媒体が搬送されない状態
での光の強度が検出され所定の分解能の画素が得られ
る。第1の判定処理により、その検出された各画素の光
の強度に基づいて残留する印刷媒体の有無が判定され、
有りと判定されれば媒体残留検出は終了する。第1の判
定処理で無しと判定されると、第2の判定処理により、
判定用マスクデータで画素毎のデータがマスクされ、マ
スクされないデータに基づいて残留する印刷媒体の有無
が判定され、有りと判定されれば媒体残留検出は終了す
る。第2の判定処理の結果、残留が無いと判定される
と、検出処理で検出された各画素毎の光の強度に基づい
て判定用マスクデータを更新するマスクデータ更新処理
が行われ、媒体残留検出が終了する。
According to the fifth aspect, the following operation is performed. By the detection processing, the intensity of light in a state where the print medium is not conveyed is detected, and pixels having a predetermined resolution are obtained. In the first determination process, the presence or absence of the remaining print medium is determined based on the detected light intensity of each pixel,
If it is determined that the medium is present, the medium remaining detection ends. If it is determined that there is no result in the first determination process, the second determination process
The data for each pixel is masked with the mask data for determination, and the presence or absence of the remaining print medium is determined based on the unmasked data. If it is determined that the print medium remains, the medium residual detection ends. As a result of the second determination process, when it is determined that there is no residual, a mask data update process of updating the determination mask data based on the light intensity of each pixel detected in the detection process is performed, and the medium remaining Detection ends.

【0019】第6の発明では、第1〜第5の発明におけ
る検出処理を、前記搬送路に前記読み取り対象の印刷媒
体を搬送させずに前記第1の方向から光を照射し、前記
第2の方向の光の強度を前記電荷結合素子によって複数
回検出して、その複数回の検出における画素毎の光の強
度の平均値を検出結果とするようにしている。第6の発
明によれば、次のような検出処理が行われる。印刷媒体
が搬送されない状態で、CCDによって画素毎の光の強
度が複数回検出され、これらの画素毎の光の強度の平均
値が算出されて検出結果として出力される。
In the sixth invention, the detection processing in the first to fifth inventions is performed by irradiating light from the first direction without transporting the print medium to be read to the transport path. Is detected a plurality of times by the charge-coupled device, and an average value of the light intensity of each pixel in the plurality of detections is used as a detection result. According to the sixth aspect, the following detection processing is performed. In a state in which the print medium is not conveyed, the light intensity of each pixel is detected a plurality of times by the CCD, an average value of the light intensity of each pixel is calculated and output as a detection result.

【0020】[0020]

【発明の実施の形態】図1は、本発明の実施形態の媒体
残留検出方法で用いられる画像読取装置の概略の構成図
であり、図2の従来の画像読取装置における要素と共通
の要素には共通の符号が付されている。この画像読取装
置は、図2の画像読取装置と同様に、印刷媒体(例え
ば、紙幣)1の表裏両面に印刷された画像を一括して読
み取ってその真贋を判定するものであり、読み取り対象
の紙幣1を所定の方向に搬送するための搬送路11を有
している。搬送路11には、紙幣1を所定の速度で逐次
搬送するためのガイドローラやステッピングモータ等で
構成された搬送部12が取り付けられている。また搬送
路11の途中の所定の位置には、搬送されてくる紙幣1
の裏面から光を照射するために、透明なガラス11aが
はめ込まれている。搬送路11の下側には、光源駆動部
13で駆動される電灯14が配置され、この搬送路11
に対して約45゜の角度でガラス11aに光が照射され
るようになっている。ガラス11aの真上には、レンズ
15とCCDラインセンサ16が配置され、このCCD
ラインセンサ16の受光面に、ガラス11a上に搬送さ
れた紙幣1の画像の焦点が結ばれるようになっている。
FIG. 1 is a schematic block diagram of an image reading apparatus used in a residual medium detection method according to an embodiment of the present invention. The elements common to the elements in the conventional image reading apparatus of FIG. Are denoted by common symbols. This image reading apparatus, like the image reading apparatus in FIG. 2, reads images printed on both front and back sides of a printing medium (for example, banknote) 1 at a time to judge the authenticity of the images. It has a transport path 11 for transporting the banknote 1 in a predetermined direction. A transport section 12 including a guide roller, a stepping motor, and the like for sequentially transporting the banknotes 1 at a predetermined speed is attached to the transport path 11. At a predetermined position in the middle of the transport path 11, the transported banknote 1
A transparent glass 11a is fitted to irradiate light from the back of the device. An electric lamp 14 driven by a light source driving unit 13 is disposed below the transport path 11.
The glass 11a is irradiated with light at an angle of about 45 ° to the glass 11a. A lens 15 and a CCD line sensor 16 are arranged directly above the glass 11a.
The image of the bill 1 conveyed onto the glass 11a is focused on the light receiving surface of the line sensor 16.

【0021】CCDラインセンサ16は、例えば200
個のCCDが1列に配置されたものであり、読取パルス
(例えば、サンプルホールド信号)HLDのパルス幅に
応じて、各CCDに照射された光の強度に対応する電荷
を蓄積するものである。また、各CCDに蓄積された電
荷に応じた電圧が、サンプリング信号SPLに同期して
順次シフトされ、画素信号PSGとして出力されるよう
になっている。この画像読取装置は、基準クロック信号
CLKを発生するクロック発生部17を有しており、こ
のクロック発生部17の出力側には、CCD制御部18
Aが接続されている。CCD制御部18Aは、図2中の
CCD制御部18と同様に、基準クロック信号CLKに
基づいて、CCDラインセンサ16の動作を制御するた
めのサンプルホールド信号HLDとサンプリング信号S
PLとを生成するものであるが、パルス制御信号PCS
によってサンプルホールド信号HLDのパルス幅を制御
できるようになっている。即ち、パルス制御信号PCS
がオフの時には、通常のパルス幅(例えば、10μs)
のサンプルホールド信号HLDを生成し、このパルス制
御信号PCSがオンの時には、通常のパルス幅よりも広
いパルス幅(例えば、20μs)を有するサンプルホー
ルド信号HLDを生成するようになっている。
The CCD line sensor 16 is, for example, 200
The CCDs are arranged in one row, and accumulate charges corresponding to the intensity of light applied to each CCD in accordance with the pulse width of a read pulse (for example, a sample hold signal) HLD. . Further, a voltage corresponding to the charge stored in each CCD is sequentially shifted in synchronization with the sampling signal SPL, and is output as a pixel signal PSG. This image reading apparatus has a clock generator 17 for generating a reference clock signal CLK, and an output side of the clock generator 17 has a CCD controller 18
A is connected. The CCD control unit 18A includes a sample and hold signal HLD and a sampling signal S for controlling the operation of the CCD line sensor 16 based on the reference clock signal CLK, similarly to the CCD control unit 18 in FIG.
And a pulse control signal PCS
Thereby, the pulse width of the sample hold signal HLD can be controlled. That is, the pulse control signal PCS
When is off, normal pulse width (for example, 10 μs)
Is generated, and when the pulse control signal PCS is on, a sample hold signal HLD having a pulse width (for example, 20 μs) wider than a normal pulse width is generated.

【0022】CCDラインセンサ16の出力側には、増
幅部19を介してA/D変換部20が接続されている。
A/D変換部20は、入力された画素信号PSGの電圧
に応じて、例えば8ビットのディジタル値(即ち、0〜
255)を、画素データPDTとして出力するものであ
る。A/D変換部20の出力側は、共通バス21に接続
されている。共通バス21には、A/D変換部20の
他、ROM22A、RAM23A、及びCPU24Aが
接続されている。ROM22Aは、この画像読取装置の
処理の手順を規定するプログラムや、処理に必要な固定
データが記憶されたメモリである。RAM23Aは、A
/D変換部20で変換された1ライン分の200個の画
素データPDTであるラインデータ23aや、複数ライ
ンのラインデータ23aで構成される紙幣1の画像デー
タ23b等を格納するものである。更に、RAM23A
には、媒体残留判定時に、ラインデータ23aの内の一
部の画素データPDTをマスクするためのマスクデータ
23cが格納されるようになっている。
An A / D converter 20 is connected to an output side of the CCD line sensor 16 via an amplifier 19.
The A / D converter 20 outputs, for example, an 8-bit digital value (that is, 0 to 0) in accordance with the voltage of the input pixel signal PSG.
255) is output as pixel data PDT. The output side of the A / D converter 20 is connected to the common bus 21. The ROM 22A, the RAM 23A, and the CPU 24A are connected to the common bus 21 in addition to the A / D converter 20. The ROM 22A is a memory that stores a program that defines the processing procedure of the image reading apparatus and fixed data necessary for the processing. RAM 23A is A
The line data 23a, which is 200 pieces of pixel data PDT for one line converted by the / D conversion unit 20, and the image data 23b of the banknote 1 composed of a plurality of lines of line data 23a are stored. Further, RAM 23A
Stores the mask data 23c for masking a part of the pixel data PDT in the line data 23a at the time of the medium remaining determination.

【0023】CPU24Aは、外部から動作開始を指示
するための起動信号STAや、画素データPDTの読み
取りタイミングのために、CCD制御部18からサンプ
ルホールド信号HLD及びサンプリング信号SPLが与
えられるとともに、搬送部12に対する搬送制御信号C
CSや、光源駆動部14に対する光源制御信号LCSを
出力するようになっている。更に、CPU24Aは、C
CD制御部18Aに対するパルス制御信号PCSを出力
するようになっている。また、CPU24Aは、ROM
22Aに記憶されたプログラムに基づいて、A/D変換
部20で変換された画素データPDTを、ラインデータ
23a及び画像データ23bとしてRAM23Aに格納
するとともに、ラインデータ23a及びマスクデータ2
3cを参照して紙幣1が搬送路11上に残留しているか
否かを判定し、その判定結果の媒体残留信号RESを出
力する機能を有している。更に、CPU24Aは、RO
M22Aに記憶されたプログラムに従って、画像データ
23bに基づいて紙幣1の真贋を判定し、その判定結果
を画像検出信号DETとして出力する機能を有してい
る。
The CPU 24A is supplied with a sample hold signal HLD and a sampling signal SPL from the CCD controller 18 for the timing of reading the pixel data PDT from the start signal STA for externally instructing the start of the operation, and also provides a transport unit. 12 for the transport control signal C
It outputs a CS and a light source control signal LCS to the light source drive unit 14. Further, the CPU 24A
It outputs a pulse control signal PCS to the CD control unit 18A. Also, the CPU 24A has a ROM
The pixel data PDT converted by the A / D conversion unit 20 based on the program stored in the RAM 22A is stored in the RAM 23A as line data 23a and image data 23b, and the line data 23a and the mask data 2 are stored in the RAM 23A.
It has a function of determining whether or not the bill 1 remains on the transport path 11 with reference to 3c and outputting a medium residual signal RES as a result of the determination. Further, the CPU 24A sets the RO
According to the program stored in the M22A, it has a function of determining the authenticity of the banknote 1 based on the image data 23b and outputting the determination result as an image detection signal DET.

【0024】次に、図1の画像読取装置の動作を説明す
る。この画像読取装置に起動信号STAが与えられる
と、CPU24Aの動作が開始され、ROM22Aに記
憶されたプログラムに基づいて、最初に、搬送路11の
読み取り位置であるガラス11aの部分に、紙幣1が残
留していないかどうかをチェックする媒体残留検出処理
が開始される。
Next, the operation of the image reading apparatus of FIG. 1 will be described. When the activation signal STA is given to the image reading apparatus, the operation of the CPU 24A is started, and based on the program stored in the ROM 22A, the bill 1 is first placed on the glass 11a which is the reading position of the transport path 11. The medium remaining detection process for checking whether or not the medium remains is started.

【0025】図3は、本発明の実施形態の媒体残留検出
処理の手順を示すフローチャートである。媒体残留検出
処理が開始されると、図3のステップS1において、動
作条件設定が行われ、光源制御信号LCSがオンに、パ
ルス制御信号PCS及び搬送制御信号CCSがオフに、
それぞれ設定される。これにより、光源駆動部13によ
って電灯14が点灯される。パルス制御信号PCSがオ
フになっているので、CCD制御部18からCCDライ
ンセンサ16へ与えられるサンプルホールド信号HLD
は、通常の画像読取り時と同じパルス幅(例えば、10
μs)となっている。また、搬送制御信号CCSはオフ
となっているので、紙幣1の搬送は開始されない。ステ
ップS1の後、ステップS2〜S4の第1の検出処理へ
進む。
FIG. 3 is a flowchart showing the procedure of the medium residual detection process according to the embodiment of the present invention. When the medium residual detection process is started, in step S1 of FIG. 3, operating conditions are set, the light source control signal LCS is turned on, the pulse control signal PCS and the transport control signal CCS are turned off,
Each is set. Thereby, the electric lamp 14 is turned on by the light source driving unit 13. Since the pulse control signal PCS is turned off, the sample hold signal HLD supplied from the CCD control unit 18 to the CCD line sensor 16 is used.
Is the same pulse width as in normal image reading (for example, 10
μs). Also, the transport of the banknote 1 is not started because the transport control signal CCS is off. After step S1, the process proceeds to first detection processing of steps S2 to S4.

【0026】ステップS2において、1ライン分の画素
データPDTの読み取りが、次のように行われる。先
ず、CCD制御部18からCCDラインセンサ16にパ
ルス幅10μsのサンプルホールド信号HLDが与えら
れる。これにより、搬送路11のガラス11aの表面か
ら、レンズ15を通してCCDラインセンサ16の受光
面に集光された光の強度に応じた電荷が、このCCDラ
インセンサ16の200個のCCDに保持される。次
に、200個のサンプリング信号SPLがCCDライン
センサ16に与えられる。これにより、200個のCC
Dの電荷に応じた画素信号PSGがCCDラインセンサ
16から順次読み出され、増幅部19で増幅されてA/
D変換部20に入力される。A/D変換部20におい
て、200個の画素信号PSGは、256階調を有する
200個の画素データPDTに変換され、共通バス21
を介してCPU24Aに読み取られる。
In step S2, reading of one line of pixel data PDT is performed as follows. First, a sample hold signal HLD having a pulse width of 10 μs is supplied from the CCD controller 18 to the CCD line sensor 16. Thereby, charges corresponding to the intensity of light condensed on the light receiving surface of the CCD line sensor 16 from the surface of the glass 11a of the transport path 11 through the lens 15 are held by the 200 CCDs of the CCD line sensor 16. You. Next, 200 sampling signals SPL are supplied to the CCD line sensor 16. This allows 200 CCs
The pixel signal PSG corresponding to the charge of D is sequentially read from the CCD line sensor 16 and amplified by the amplifying unit 19 so that A / A
The data is input to the D conversion unit 20. In the A / D converter 20, the 200 pixel signals PSG are converted into 200 pixel data PDT having 256 gradations, and the common bus 21.
Is read by the CPU 24A via the.

【0027】ステップS3において、1ライン分の画素
データPDTの読み取りがn回(例えば、n=4)行わ
れたか否かが判定される。n回の読み取りが完了してい
なければステップS2へ戻り、完了していればステップ
S4へ進む。ステップS4において、4回の読み取りで
得られた画素データPDTの、各画素毎の平均値が算出
される。そして、算出された200個の画素データPT
Dが、RAM23Aにラインデータ23aとして格納さ
れる。ステップS4の後、ステップS5の第1の判定処
理へ進む。
In step S3, it is determined whether the reading of the pixel data PDT for one line has been performed n times (for example, n = 4). If the reading has not been completed n times, the process returns to step S2, and if completed, the process proceeds to step S4. In step S4, the average value of each pixel of the pixel data PDT obtained by four readings is calculated. Then, the calculated 200 pixel data PT
D is stored in the RAM 23A as line data 23a. After step S4, the process proceeds to a first determination process in step S5.

【0028】ステップS5において、ステップS4で得
られたラインデータ23aの値に基づいて、次のよう
に、残留する紙幣1の判定が行われる。即ち、電灯14
から出力された光は、搬送路11のガラス11aに斜め
方向から照射されるので、このガラス11a上に紙幣1
が存在しなければ、この電灯14の光はCCDラインセ
ンサ16には入射されない。従って、CCDラインセン
サ16の受光面の光のレベルは黒レベルとなり、200
個の画素データPDTの値は、すべて0となるはずであ
る。もしも、ガラス11a上に紙幣1が残留している
と、裏面から照射された光がこの紙幣1を透過し、この
紙幣1の表面から散乱光として放射される。そして、上
方に放射された散乱光は、レンズ15で集光されてCC
Dラインセンサ16の受光面に焦点を結ぶ。これによ
り、画素データPDTの値は、すべて0にはならず、紙
幣1の印刷に応じて様々な値となる。従って、ラインデ
ータ23aの200個の画素データPDTの内で、その
値が第1の基準値REF1(例えば、REF1=10)
を越えているものの個数CNT1がカウントされ、この
個数CNT1が、例えば20を越えていれば、紙幣1が
残留していると判定される。ステップS5で紙幣1が残
留していると判定された場合には、この媒体残留検出処
理は終了する。一方、ステップS5の判定基準で、紙幣
1が残留していると判定されなかった場合には、ステッ
プS6〜S9の第2の検出処理へ進む。
In step S5, the remaining bill 1 is determined as follows based on the value of the line data 23a obtained in step S4. That is, the light 14
Is emitted from the diagonal direction to the glass 11a of the transport path 11, so that the bill 1 is placed on the glass 11a.
Does not exist, the light of the electric lamp 14 does not enter the CCD line sensor 16. Therefore, the light level on the light receiving surface of the CCD line sensor 16 becomes a black level, and
All the values of the pixel data PDT should be 0. If the banknote 1 remains on the glass 11a, light emitted from the back surface passes through the banknote 1 and is emitted from the front surface of the banknote 1 as scattered light. The scattered light radiated upward is collected by the lens 15 and
Focus on the light receiving surface of the D line sensor 16. As a result, the values of the pixel data PDT do not become all 0, but become various values according to the printing of the banknote 1. Therefore, of the 200 pixel data PDT of the line data 23a, the value is the first reference value REF1 (for example, REF1 = 10).
Is counted, and if the number CNT1 exceeds, for example, 20, it is determined that the banknote 1 remains. If it is determined in step S5 that the banknote 1 remains, the medium remaining detection process ends. On the other hand, when it is not determined that the banknote 1 remains based on the determination criterion in step S5, the process proceeds to the second detection processing in steps S6 to S9.

【0029】第2の検出処理は、例えば紙幣1が複数枚
重なって残留している場合に、これらの紙幣1を透過す
る光が弱くなり、得られたラインデータ23aの各画素
データPDTの値が小さくなってステップS5の判定基
準を満たさない場合を想定して、更に厳密な検出を行う
ための処理である。ステップS6において、パルス制御
信号PCSがオンに設定される。これにより、CCD制
御部18からCCDラインセンサ16へ与えられるサン
プルホールド信号HLDは、通常の画像読取り時よりも
広い20μsのパルス幅に切り替えられ、ステップS7
へ進む。ステップS7において、1ライン分の画素デー
タPDTの読み取りが、ステップS2と同様に行われ
る。但し、CCDラインセンサ16に与えられるサンプ
ルホールド信号HLDのパルス幅が20μsとなってい
るので、このCCDラインセンサ16からサンプリング
信号SPLに同期して順次読み出された画素信号PSG
は、ステップS2のときよりも大きな電圧となってい
る。200個の画素信号PSGは、増幅部19で増幅さ
れてA/D変換部20に入力される。画素信号PSG
は、A/D変換部20において200個の画素データP
DTに変換され、共通バス21を介してCPU24Aに
読み取られる。
In the second detection process, for example, when a plurality of banknotes 1 remain in a pile, the light transmitted through these banknotes 1 becomes weak, and the value of each pixel data PDT of the obtained line data 23a is reduced. Is smaller and does not satisfy the determination criterion of step S5. In step S6, the pulse control signal PCS is set on. As a result, the sample hold signal HLD supplied from the CCD controller 18 to the CCD line sensor 16 is switched to a pulse width of 20 μs, which is wider than that during normal image reading, and step S7 is performed.
Proceed to. In step S7, reading of one line of pixel data PDT is performed in the same manner as in step S2. However, since the pulse width of the sample hold signal HLD applied to the CCD line sensor 16 is 20 μs, the pixel signals PSG sequentially read from the CCD line sensor 16 in synchronization with the sampling signal SPL.
Has a higher voltage than in step S2. The 200 pixel signals PSG are amplified by the amplifier 19 and input to the A / D converter 20. Pixel signal PSG
Are the 200 pixel data P in the A / D converter 20.
It is converted into DT and read by the CPU 24A via the common bus 21.

【0030】ステップS8において、1ライン分の画素
データPDTの読み取りがn回行われたか否かが判定さ
れ、n回の読み取りが完了していなければステップS7
へ戻り、完了していればステップS9へ進む。ステップ
S9において、4回の読み取りで得られた画素データP
DTの、各画素毎の平均値が算出される。そして、算出
された200個の画素データPTDが、RAM23Aに
ラインデータ23aとして格納される。ステップS9の
後、ステップS10〜S11の第2の判定処理へ進む。
ステップS10において、RAM23A中のマスクデー
タ23cによって、ラインデータ23aの一部の画素デ
ータPDTを判定対象から削除するマスク処理が行われ
る。即ち、マスクデータ23cは、各画素データPDT
毎に判定対象とするか否かを定めるためのデータであ
り、例えば、搬送路11のガラス11a上に付着した汚
れ等に対応する位置の画素データPDTを、判定対象か
ら排除するためのものである。マスクデータ23cは、
最初はすべての画素データPDTを判定対象とするよう
に設定されており、後述するように、この媒体残留検出
処理を繰り返して実行する間に、逐次更新して保存され
るようになっている。
In step S8, it is determined whether or not reading of the pixel data PDT for one line has been performed n times. If the reading of n times has not been completed, step S7 is performed.
The process returns to step S9 if completed. In step S9, pixel data P obtained by four readings
An average value of DT for each pixel is calculated. Then, the calculated 200 pieces of pixel data PTD are stored in the RAM 23A as the line data 23a. After step S9, the process proceeds to the second determination process of steps S10 to S11.
In step S10, a mask process of deleting a part of the pixel data PDT of the line data 23a from the determination target is performed by the mask data 23c in the RAM 23A. That is, the mask data 23c includes the pixel data PDT.
This is data for determining whether or not each pixel is to be determined for each determination. For example, the pixel data PDT at a position corresponding to dirt attached to the glass 11a of the transport path 11 is excluded from the determination target. is there. The mask data 23c is
Initially, all the pixel data PDT are set to be determined, and as will be described later, are repeatedly updated and stored while the medium residual detection processing is repeatedly executed.

【0031】ステップS11において、ステップS10
でマスクされなかったラインデータ23aの値に基づい
て、次のように、残留する紙幣1の判定が行われる。ま
ず、ラインデータ23aの200個の画素データPDT
の内で、マスクされなかった画素データPDTの値が、
第2の基準値REF2(例えば、REF2=8)を越え
ているものの個数CNT2がカウントされ、この個数C
NT2が、例えば20を越えていれば、紙幣1が残留し
ていると判定される。このステップS11で紙幣1が残
留していると判定された場合には、この媒体残留検出処
理は終了する。個数CNT2が20以下であれば、紙幣
1は残留していないと判定され、ステップS12のマス
クデータ更新処理へ進む。ステップS12において、ス
テップS4またはS9で得られたラインデータ23aの
200個の画素データPDTの内で、その値が第3の基
準値REF3(例えば、REF3=15)を越えている
ものに対応する画素の位置が、次回の媒体残留検出処理
のためのマスクデータ23cとして保存される。ステッ
プS12の終了により、この媒体残留検出処理は終了す
る。
In step S11, step S10
Based on the value of the line data 23a that has not been masked, the remaining banknote 1 is determined as follows. First, 200 pixel data PDT of the line data 23a
Of the pixel data PDT that is not masked is
The number CNT2 of the number exceeding the second reference value REF2 (for example, REF2 = 8) is counted, and this number C
If NT2 exceeds, for example, 20, it is determined that the banknote 1 remains. If it is determined in step S11 that the banknote 1 remains, the medium remaining detection process ends. If the number CNT2 is 20 or less, it is determined that the banknote 1 does not remain, and the process proceeds to the mask data updating process in step S12. In step S12, among the 200 pixel data PDT of the line data 23a obtained in step S4 or S9, the value corresponding to the one exceeding the third reference value REF3 (for example, REF3 = 15) corresponds. The position of the pixel is stored as mask data 23c for the next medium remaining detection process. By the end of step S12, the medium remaining detection process ends.

【0032】媒体残留検出処理の結果、残留する媒体が
存在すると判定されたときには、CPU24Aから媒体
残留信号RESが出力され、オペレータに対して、その
残留する媒体の除去を促すための表示等が行われる。一
方、残留する媒体が存在しないと判定されたときには、
引き続いて、CPU24AによってROM22Aに格納
された画像読取処理プログラムが読み出され、読み取り
対象の紙幣1の読取処理が開始される。
As a result of the medium residual detection processing, when it is determined that there is a residual medium, a medium residual signal RES is output from the CPU 24A, and a display or the like is displayed to prompt the operator to remove the residual medium. Will be On the other hand, when it is determined that there is no remaining medium,
Subsequently, the CPU 24A reads the image reading processing program stored in the ROM 22A, and starts reading processing of the bill 1 to be read.

【0033】このように、本実施形態の媒体残留検出処
理は、次の(1)〜(4)のような利点を有する。 (1) ステップS2〜S4、及びステップS7〜S9
の検出処理において、1ライン分の画素データPDT
を、それぞれn回読み取って、その平均値を算出してラ
インデータ23aを得るようにしている。これにより、
読み取り時の電気的な雑音等によるラインデータ23a
の誤りの影響を低減させることができ、精度の高い媒体
残留検出が可能になる。 (2) ステップS6において、通常の画像読み取り時
よりもパルス幅の広いサンプルホールド信号HLDを設
定し、ステップS7,S8においてこのサンプルホール
ド信号HLDを用いて画素信号PSGを検出するように
しているので、複数の紙幣1が重なって残留した場合で
も、それを検出することができる。
As described above, the medium residual detection processing of this embodiment has the following advantages (1) to (4). (1) Steps S2 to S4 and steps S7 to S9
In the detection process, the pixel data PDT for one line
Are read n times, and the average value is calculated to obtain the line data 23a. This allows
Line data 23a due to electrical noise or the like during reading
The effect of the error can be reduced, and highly accurate detection of the residual medium can be performed. (2) In step S6, a sample hold signal HLD having a wider pulse width than that in normal image reading is set, and in steps S7 and S8, the pixel signal PSG is detected using the sample hold signal HLD. Even if a plurality of banknotes 1 remain in an overlapping state, it can be detected.

【0034】(3) ステップS10において、汚れ等
の存在する読み取り位置の画素データPDTを残留検出
の判定対象の画素から削除するようにしているので、搬
送路11上の汚れ等に影響されずに、精度の高い媒体残
留検出が可能になる。 (4) ステップS12において、最新のラインデータ
23aに基づいてマスクデータ23cを更新して保存す
るようにしているので、最新の搬送路11の汚れ等の状
態を媒体残留検出に反映することができるという利点が
ある。
(3) In step S10, the pixel data PDT at the reading position where dirt or the like is present is deleted from the pixels to be determined for residual detection, so that the pixel data PDT is not affected by dirt or the like on the transport path 11. Thus, it is possible to detect the residual medium with high accuracy. (4) In step S12, since the mask data 23c is updated and stored based on the latest line data 23a, the latest state of the transfer path 11, such as contamination, can be reflected in the detection of the remaining medium. There is an advantage.

【0035】なお、本発明は、上記実施形態に限定され
ず、種々の変形が可能である。この変形例としては、例
えば、次の(a)〜(f)のようなものがある。 (a) ステップS2〜S4、及びステップS7〜S9
では、1ライン分の画素データPDTをn回(例えば、
4回)読み取って、その平均値をラインデータ23aと
しているが、雑音等のおそれが無い場合には、1回だけ
読み取ってその値をラインデータ23aとしても良い。 (b) ステップS6〜S9において、パルス幅の広い
サンプルホールド信号HLDによって、再度ラインデー
タ23aを読み取る処理を行っているが、これらのステ
ップS6〜S9を省略して、ステップS4で得られたラ
インデータ23aを用いて、ステップS10のマスク処
理を行うようにしても良い。 (c) ガラス11aに汚れ等が付着するおそれのない
場合には、ステップS10のマスク処理と、ステップS
12のマスクデータ更新処理を省略することができる。
It should be noted that the present invention is not limited to the above embodiment, and various modifications are possible. For example, there are the following modifications (a) to (f). (A) Steps S2 to S4 and steps S7 to S9
Then, the pixel data PDT for one line is n times (for example,
(4 times), and the average value is used as the line data 23a. However, if there is no possibility of noise or the like, the value may be read only once and the value may be used as the line data 23a. (B) In steps S6 to S9, the line data 23a is read again using the sample hold signal HLD having a wide pulse width. However, these steps S6 to S9 are omitted, and the line obtained in step S4 is omitted. The mask processing in step S10 may be performed using the data 23a. (C) When there is no possibility that dirt or the like adheres to the glass 11a, the mask processing in step S10 and the step S10
Twelve mask data update processes can be omitted.

【0036】(d) この画像読取装置は、画像読取処
理と同一の200画素の分解能で残留媒体検出処理を行
うようになっているが、例えば400画素の分解能を有
するCCDラインセンサを用い、残留媒体検出処理を4
00画素の分解能で行い、画像読取処理時には、1つお
きの200画素を用いて行うようにしても良い。これに
より、精度の高い残留媒体検出処理が可能になる。 (e) 画像読取装置の構成は図1に限定されず、CC
Dラインセンサを用いた透過式の画像読取装置であれ
ば、どのような画像読取装置に対しても適用可能であ
る。 (f) 実施形態の説明中の、CCDラインセンサ16
の画素数、基準値REF1等、及びサンプルホールド信
号HLDのパルス幅等の数値に限定されず、適用する画
像読取装置に応じて適切な数値を使用することができ
る。
(D) This image reading apparatus performs the residual medium detection processing at the same resolution of 200 pixels as the image reading processing. For example, a CCD line sensor having a resolution of 400 pixels is used and the residual medium detection processing is performed. Media detection processing is 4
The image reading may be performed at a resolution of 00 pixels, and the image reading processing may be performed using every other 200 pixels. This enables highly accurate residual medium detection processing. (E) The configuration of the image reading device is not limited to FIG.
The present invention can be applied to any image reading apparatus as long as it is a transmission type image reading apparatus using a D-line sensor. (F) CCD line sensor 16 in the description of the embodiment
Are not limited to numerical values such as the number of pixels, the reference value REF1, and the like, and the pulse width of the sample-and-hold signal HLD.

【0037】[0037]

【発明の効果】以上詳細に説明したように、第1の発明
によれば、判定用マスクデータで画素毎のデータをマス
クして、マスクされないデータに基づいて残留する印刷
媒体の有無を判定する第2の判定処理を設けたので、搬
送路の汚れ箇所等をマスクすることにより、汚れ等に影
響されずに媒体残留検出を行うことができる。第2の発
明によれば、第1の検出処理によって媒体が検出されな
い時に、更にパルス幅の広い読取パルスによって印刷媒
体を検出する第2の検出処理を設けている。これによ
り、重なって残留している印刷媒体の検出が可能にな
る。第3の発明によれば、第1の検出処理よりもパルス
幅の広い読取パルスによって印刷媒体を検出する第2の
検出処理と、判定用マスクデータで画素毎のデータをマ
スクして、マスクされないデータに基づいて残留する印
刷媒体の有無を判定する第2の判定処理とを設けてい
る。これにより、重なって残留している印刷媒体を、搬
送路の汚れ等に影響されずに確実に検出することができ
る。
As described above in detail, according to the first aspect, the data of each pixel is masked by the mask data for determination, and the presence or absence of the remaining print medium is determined based on the unmasked data. Since the second determination processing is provided, the residual medium can be detected without being affected by dirt or the like by masking dirt or the like on the transport path. According to the second aspect, the second detection processing is provided for detecting the print medium with a read pulse having a wider pulse width when the medium is not detected by the first detection processing. As a result, it is possible to detect the print medium remaining in an overlapped state. According to the third aspect, the second detection processing for detecting the print medium with a read pulse having a wider pulse width than the first detection processing, and masking the data for each pixel with the mask data for determination and not masking And a second determination process for determining the presence or absence of the remaining print medium based on the data. As a result, it is possible to reliably detect the print medium remaining in an overlapped state without being affected by the contamination of the transport path.

【0038】第4の発明によれば、画像読み取り時の分
解能よりも高い分解能で、残留する媒体の検出と判定を
行う検出処理と判定処理を設けている。これにより、残
留する印刷媒体を高い精度で検出することができる。第
5の発明によれば、画像読み取り時の分解能よりも高い
分解能で、残留する媒体を検出する検出処理と、判定用
マスクデータで画素毎のデータをマスクして、マスクさ
れないデータに基づいて残留する印刷媒体の有無を判定
する第2の判定処理とを設けている。これにより、残留
する印刷媒体を、搬送路の汚れ等に影響されずに、高い
精度で検出することができる。第6の発明によれば、画
素毎の光の強度を複数回検出して、これらの画素毎の光
の強度の平均値に基づいて、印刷媒体の残留の判定が行
われる。これにより、媒体検出時の雑音等による検出誤
りを防止することができる。
According to the fourth aspect, the detection processing and the determination processing for detecting and determining the remaining medium with a higher resolution than the resolution at the time of reading the image are provided. As a result, the remaining print medium can be detected with high accuracy. According to the fifth aspect, a detection process of detecting a remaining medium at a resolution higher than the resolution at the time of reading an image, masking data for each pixel with mask data for determination, and determining a remaining medium based on unmasked data. And a second determination process for determining the presence or absence of a print medium to be performed. As a result, the remaining print medium can be detected with high accuracy without being affected by contamination of the transport path. According to the sixth aspect, the light intensity of each pixel is detected a plurality of times, and the determination of the remaining print medium is performed based on the average value of the light intensity of each pixel. This can prevent a detection error due to noise or the like at the time of medium detection.

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

【図1】本発明の実施形態の媒体残留検出方法で用いら
れる画像読取装置の概略の構成図である。
FIG. 1 is a schematic configuration diagram of an image reading apparatus used in a residual medium detection method according to an embodiment of the present invention.

【図2】従来の画像読取装置の概略の構成図である。FIG. 2 is a schematic configuration diagram of a conventional image reading apparatus.

【図3】本発明の実施形態の媒体残留検出処理の手順を
示すフローチャートである。
FIG. 3 is a flowchart illustrating a procedure of a medium remaining detection process according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 紙幣 11 搬送路 11a ガラス 14 電灯 16 CCDラインセンサ 18 CCD制御部 20 A/D変換部 22A ROM 23A RAM 23a ラインデータ 23b 画像データ 23c マスクデータ 24A CPU DESCRIPTION OF SYMBOLS 1 Banknote 11 Conveyance path 11a Glass 14 Electric light 16 CCD line sensor 18 CCD control part 20 A / D conversion part 22A ROM 23A RAM 23a Line data 23b Image data 23c Mask data 24A CPU

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 読み取り対象の印刷媒体を所定の搬送路
を搬送させてその裏面に第1の方向から光を照射すると
ともに、該印刷媒体を透過してその表面から該第1の方
向とは異なる第2の方向に放射された光の強度を、直線
状に配列された電荷結合素子によって画素毎に検出し、
該印刷媒体上の画像を読み取る画像読取装置において、 前記搬送路に前記読み取り対象の印刷媒体を搬送させず
に前記第1の方向から光を照射し、前記第2の方向の光
の強度を前記電荷結合素子によって検出する検出処理
と、 前記検出処理で検出された各画素毎の光の強度を第1の
基準値と比較し、該第1の基準値を越える画素数に基づ
いて前記搬送路上に残留する印刷媒体の有無を判定する
第1の判定処理と、 前記第1の判定処理によって印刷媒体が無いと判定され
た場合に、前記検出処理で検出された画素の内で判定用
マスクデータによってマスクされない画素の光の強度を
前記第1の基準値よりも小さい第2の基準値と比較し、
該第2の基準値を越える画素数に基づいて前記搬送路上
に残留する印刷媒体の有無を判定する第2の判定処理
と、 前記第2の判定処理によって印刷媒体が無いと判定され
た場合に、前記検出処理で検出された各画素毎の光の強
度に基づいて前記判定用マスクデータを更新するマスク
データ更新処理とを、 行うことを特徴とする画像読取装置における媒体残留検
出方法。
1. A printing medium to be read is transported through a predetermined transport path, and the back surface is irradiated with light from a first direction. Detecting the intensity of light emitted in the different second direction for each pixel by a charge-coupled device arranged linearly;
In an image reading apparatus that reads an image on the print medium, the transfer path irradiates light from the first direction without transporting the print medium to be read, and reduces the intensity of light in the second direction. A detecting process for detecting by the charge-coupled device, and comparing a light intensity of each pixel detected in the detecting process with a first reference value, and comparing the light intensity on the transport path based on the number of pixels exceeding the first reference value. First determination processing for determining the presence or absence of a print medium remaining in the image data; and, when the first determination processing determines that there is no print medium, mask data for determination among pixels detected in the detection processing. Comparing the light intensity of the pixel not masked by the second reference value smaller than the first reference value;
A second determination process for determining whether there is a print medium remaining on the conveyance path based on the number of pixels exceeding the second reference value; and a case where the second determination process determines that there is no print medium. Performing a mask data update process of updating the mask data for determination based on the light intensity of each pixel detected in the detection process.
【請求項2】 読み取り対象の印刷媒体を所定の搬送路
を搬送させてその裏面に第1の方向から光を照射すると
ともに、該印刷媒体を透過してその表面から該第1の方
向とは異なる第2の方向に放射された光の強度を、直線
状に配列された電荷結合素子によって画素毎に検出し、
該印刷媒体上の画像を読み取る画像読取装置において、 前記搬送路に前記読み取り対象の印刷媒体を搬送させず
に前記第1の方向から光を照射するとともに、前記電荷
結合素子に第1のパルス幅の読取パルスを与え、前記第
2の方向の光の強度を読み取って検出する第1の検出処
理と、 前記第1の検出処理で検出された各画素毎の光の強度を
第1の基準値と比較し、該第1の基準値を越える画素数
に基づいて前記搬送路上に残留する印刷媒体の有無を判
定する第1の判定処理と、 前記第1の判定処理によって印刷媒体が無いと判定され
た場合に、前記搬送路に前記読み取り対象の印刷媒体を
搬送させずに前記第1の方向から光を照射するととも
に、前記電荷結合素子に前記第1のパルス幅よりも広い
第2のパルス幅の読取パルスを与え、前記第2の方向の
光の強度を読み取って検出する第2の検出処理と、 前記第2の検出処理で検出された各画素毎の光の強度を
第2の基準値と比較し、該第2の基準値を越える画素数
に基づいて前記搬送路上に残留する印刷媒体の有無を判
定する第2の判定処理とを、 行うことを特徴とする画像読取装置における媒体残留検
出方法。
2. A printing medium to be read is conveyed through a predetermined conveyance path, and the back surface is irradiated with light from a first direction. Detecting the intensity of light emitted in the different second direction for each pixel by a charge-coupled device arranged linearly;
An image reading apparatus that reads an image on the print medium, irradiating light from the first direction without transporting the print medium to be read to the transport path, and applying a first pulse width to the charge-coupled device. A first detection process for reading and detecting the intensity of light in the second direction, and detecting the intensity of light for each pixel detected in the first detection process as a first reference value. A first determination process of determining whether there is a print medium remaining on the transport path based on the number of pixels exceeding the first reference value, and determining that there is no print medium by the first determination process In this case, light is irradiated from the first direction without transporting the print medium to be read to the transport path, and a second pulse wider than the first pulse width is applied to the charge-coupled device. Give a read pulse of width A second detection process for reading and detecting the intensity of light in a second direction; and comparing the intensity of light for each pixel detected in the second detection process with a second reference value. Performing a second determination process of determining whether there is a print medium remaining on the conveyance path based on the number of pixels exceeding the reference value of (a).
【請求項3】 読み取り対象の印刷媒体を所定の搬送路
を搬送させてその裏面に第1の方向から光を照射すると
ともに、該印刷媒体を透過してその表面から該第1の方
向とは異なる第2の方向に放射された光の強度を、直線
状に配列された電荷結合素子によって画素毎に検出し、
該印刷媒体上の画像を読み取る画像読取装置において、 前記搬送路に前記読み取り対象の印刷媒体を搬送させず
に前記第1の方向から光を照射するとともに、前記電荷
結合素子に第1のパルス幅の読取パルスを与え、前記第
2の方向の光の強度を読み取って検出する第1の検出処
理と、 前記第1の検出処理で検出された各画素毎の光の強度を
第1の基準値と比較し、該第1の基準値を越える画素数
に基づいて前記搬送路上に残留する印刷媒体の有無を判
定する第1の判定処理と、 前記第1の判定処理によって印刷媒体が無いと判定され
た場合に、前記搬送路に前記読み取り対象の印刷媒体を
搬送させずに前記第1の方向から光を照射するととも
に、前記電荷結合素子に前記第1のパルス幅よりも広い
第2のパルス幅の読取パルスを与え、前記第2の方向の
光の強度を読み取って検出する第2の検出処理と、 前記第2の検出処理で検出された画素の内で判定用マス
クデータによってマスクされない画素の光の強度を第2
の基準値と比較し、該第2の基準値を越える画素数に基
づいて前記搬送路上に残留する印刷媒体の有無を判定す
る第2の判定処理と、 前記第2の判定処理によって印刷媒体が無いと判定され
た場合に、前記第1または第2の検出処理で検出された
各画素毎の光の強度に基づいて前記判定用マスクデータ
を更新するマスクデータ更新処理とを、 行うことを特徴とする画像読取装置における媒体残留検
出方法。
3. A printing medium to be read is conveyed through a predetermined conveyance path, and the back surface is irradiated with light from a first direction. Detecting the intensity of light emitted in the different second direction for each pixel by a charge-coupled device arranged linearly;
An image reading apparatus that reads an image on the print medium, irradiating light from the first direction without transporting the print medium to be read to the transport path, and applying a first pulse width to the charge-coupled device. A first detection process for reading and detecting the intensity of light in the second direction, and detecting the intensity of light for each pixel detected in the first detection process as a first reference value. A first determination process of determining whether there is a print medium remaining on the transport path based on the number of pixels exceeding the first reference value, and determining that there is no print medium by the first determination process In this case, light is irradiated from the first direction without transporting the print medium to be read to the transport path, and a second pulse wider than the first pulse width is applied to the charge-coupled device. Give a read pulse of width A second detecting process of detecting and reading the intensity of the light in the second direction, the intensity of light of the pixel that is not masked by the determined mask data among the pixels detected by the second detection processing second
And a second determination process of determining whether there is a print medium remaining on the conveyance path based on the number of pixels exceeding the second reference value. When it is determined that there is no mask data, a mask data update process of updating the mask data for determination based on the light intensity of each pixel detected in the first or second detection process is performed. Medium detection method in an image reading apparatus.
【請求項4】 読み取り対象の印刷媒体を所定の搬送路
を搬送させてその裏面に第1の方向から光を照射すると
ともに、該印刷媒体を透過してその表面から該第1の方
向とは異なる第2の方向に放射された光の強度を、直線
状に配列された所定の分解能を有する電荷結合素子によ
って画素毎に検出して該印刷媒体上の画像を読み取り、
該読み取った画素の内の一定割合の画素に基づいて画像
を認識する画像読取装置において、 前記搬送路に前記読み取り対象の印刷媒体を搬送させず
に前記第1の方向から光を照射し、前記第2の方向の光
の強度を前記電荷結合素子によって前記所定の分解能で
画素毎に検出する検出処理と、 前記検出処理で検出された各画素の光の強度を基準値と
比較し、該基準値を越える画素数に基づいて前記搬送路
上に残留する印刷媒体の有無を判定する判定処理とを、 行うことを特徴とする画像読取装置における媒体残留検
出方法。
4. A printing medium to be read is conveyed through a predetermined conveyance path, and the back surface is irradiated with light from a first direction. Reading the image on the print medium by detecting the intensity of the light emitted in the different second direction for each pixel by a charge-coupled device having a predetermined resolution linearly arranged,
In an image reading device that recognizes an image based on a fixed percentage of pixels among the read pixels, irradiating light from the first direction without transporting the print medium to be read to the transport path, A detection process for detecting the intensity of light in a second direction by the charge-coupled device at the predetermined resolution for each pixel; comparing the intensity of light of each pixel detected in the detection process with a reference value; Determining a presence or absence of a print medium remaining on the conveyance path based on the number of pixels exceeding the value.
【請求項5】 読み取り対象の印刷媒体を所定の搬送路
を搬送させてその裏面に第1の方向から光を照射すると
ともに、該印刷媒体を透過してその表面から該第1の方
向とは異なる第2の方向に放射された光の強度を、直線
状に配列された所定の分解能を有する電荷結合素子によ
って画素毎に検出して該印刷媒体上の画像を読み取り、
該読み取った画素の内の一定割合の画素に基づいて画像
を認識する画像読取装置において、 前記搬送路に前記読み取り対象の印刷媒体を搬送させず
に前記第1の方向から光を照射し、前記第2の方向の光
の強度を前記電荷結合素子によって前記所定の分解能で
画素毎に検出する検出処理と、 前記検出処理で検出された各画素の光の強度を第1の基
準値と比較し、該第1の基準値を越える画素数に基づい
て前記搬送路上に残留する印刷媒体の有無を判定する第
1の判定処理と、 前記第1の判定処理によって印刷媒体が無いと判定され
た場合に、前記電荷結合素子で検出された画素の内で判
定用マスクデータによってマスクされない画素の光の強
度を前記第1の基準値よりも小さい第2の基準値と比較
し、該第2の基準値を越える画素数に基づいて前記搬送
路上に残留する印刷媒体の有無を判定する第2の判定処
理と、 前記第2の判定処理によって印刷媒体が無いと判定され
た場合に、前記検出処理で検出された各画素毎の光の強
度に基づいて前記判定用マスクデータを更新するマスク
データ更新処理とを、 行うことを特徴とする画像読取装置における媒体残留検
出方法。
5. A printing medium to be read is conveyed through a predetermined conveyance path, and the back surface is irradiated with light from a first direction. Reading the image on the print medium by detecting the intensity of the light emitted in the different second direction for each pixel by a charge-coupled device having a predetermined resolution linearly arranged,
In an image reading device that recognizes an image based on a fixed percentage of pixels among the read pixels, irradiating light from the first direction without transporting the print medium to be read to the transport path, A detection process of detecting the intensity of light in a second direction by the charge-coupled device at the predetermined resolution for each pixel, and comparing the intensity of light of each pixel detected in the detection process with a first reference value. A first determination process of determining whether there is a print medium remaining on the conveyance path based on the number of pixels exceeding the first reference value; and a case where the first determination process determines that there is no print medium. Comparing the light intensity of a pixel not masked by the mask data for determination among the pixels detected by the charge-coupled device with a second reference value smaller than the first reference value; Based on the number of pixels A second determination process for determining the presence or absence of a print medium remaining on the transport path, and for each pixel detected in the detection process when it is determined that there is no print medium in the second determination process. Performing a mask data update process of updating the mask data for determination based on light intensity.
【請求項6】 請求項1、4または5における検出処
理、または請求項2または3における第1及び第2の検
出処理は、前記搬送路に前記読み取り対象の印刷媒体を
搬送させずに前記第1の方向から光を照射し、前記第2
の方向の光の強度を前記電荷結合素子によって複数回検
出して、その複数回の検出における画素毎の光の強度の
平均値を検出結果とすることを特徴とする画像読取装置
における媒体残留検出方法。
6. The detection process according to claim 1, 4 or 5, or the first and second detection processes according to claim 2 or 3, wherein the first and second detection processes are performed without transporting the print medium to be read to the transport path. Irradiating light from the first direction, the second
Characterized by detecting the intensity of light in the direction of a plurality of times by the charge-coupled device, and using the average value of the intensity of light for each pixel in the plurality of detections as a detection result. Method.
JP10124389A 1998-05-07 1998-05-07 Method for detecting medium remaining in image reader Withdrawn JPH11316868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10124389A JPH11316868A (en) 1998-05-07 1998-05-07 Method for detecting medium remaining in image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10124389A JPH11316868A (en) 1998-05-07 1998-05-07 Method for detecting medium remaining in image reader

Publications (1)

Publication Number Publication Date
JPH11316868A true JPH11316868A (en) 1999-11-16

Family

ID=14884217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10124389A Withdrawn JPH11316868A (en) 1998-05-07 1998-05-07 Method for detecting medium remaining in image reader

Country Status (1)

Country Link
JP (1) JPH11316868A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010515105A (en) * 2006-12-28 2010-05-06 スリーエム イノベイティブ プロパティズ カンパニー Interference film having acrylamide layer and method for producing the same
US7859726B2 (en) 2006-01-18 2010-12-28 Mitsubishi Denki Kabushiki Kaisha Image reading apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7859726B2 (en) 2006-01-18 2010-12-28 Mitsubishi Denki Kabushiki Kaisha Image reading apparatus
JP2010515105A (en) * 2006-12-28 2010-05-06 スリーエム イノベイティブ プロパティズ カンパニー Interference film having acrylamide layer and method for producing the same

Similar Documents

Publication Publication Date Title
US4769532A (en) Apparatus for adjusting optical sensors with threshold memory
EP0868072B1 (en) Shading correction for an image scanner
CN104954607A (en) Image reading device and image forming apparatus
JP2776923B2 (en) Document reading device
JPH11316868A (en) Method for detecting medium remaining in image reader
JP3656766B2 (en) Paper sheet inspection equipment
JP3642577B2 (en) Bill discrimination device
JPS6118978B2 (en)
JP3967861B2 (en) Bill identification method
JP2004173161A (en) Image reader
JP2770795B2 (en) Calibration method and device for multi-element sensor
JP2004157701A (en) Optical detecting device
JP3591183B2 (en) Afterimage detection method and afterimage detection device
JPH1049654A (en) Signal correcting method for image fetching device
JP3129835B2 (en) Image reading device
JPH07121685A (en) Illumination light quantity abnormality detection circuit
JP2919191B2 (en) Remaining paper chip detecting device of paper sheet reading device
JP2002077614A (en) Black reference data calculation method and image reading apparatus
JP2003087529A (en) Method and device for reading image
JP2002185730A (en) Image reader and white level correcting method
JPH0814859B2 (en) Paper discrimination device
JPH0965214A (en) Method and device for correcting characteristic of light receiving element, and image pickup device having the same
JPH0943054A (en) Image processor
JP2928032B2 (en) Image recording device
JPH02193289A (en) Method for correcting paper currency data

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802