JP5377397B2 - Paper sheet identification device, paper sheet identification method, and paper sheet identification program - Google Patents

Paper sheet identification device, paper sheet identification method, and paper sheet identification program Download PDF

Info

Publication number
JP5377397B2
JP5377397B2 JP2010087458A JP2010087458A JP5377397B2 JP 5377397 B2 JP5377397 B2 JP 5377397B2 JP 2010087458 A JP2010087458 A JP 2010087458A JP 2010087458 A JP2010087458 A JP 2010087458A JP 5377397 B2 JP5377397 B2 JP 5377397B2
Authority
JP
Japan
Prior art keywords
resolution
image data
paper sheet
image
line buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010087458A
Other languages
Japanese (ja)
Other versions
JP2011221622A (en
Inventor
常彦 石谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Omron Terminal Solutions Corp
Original Assignee
Hitachi Omron Terminal Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Omron Terminal Solutions Corp filed Critical Hitachi Omron Terminal Solutions Corp
Priority to JP2010087458A priority Critical patent/JP5377397B2/en
Publication of JP2011221622A publication Critical patent/JP2011221622A/en
Application granted granted Critical
Publication of JP5377397B2 publication Critical patent/JP5377397B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a paper sheet identification apparatus capable of reducing an image transfer amount upon picking up an image with high resolution and also reducing capacity of an image memory without compressing a bus band. <P>SOLUTION: The paper sheet identification apparatus comprises: a one-dimensional image sensor 11 which picks up an image of a paper sheet 30; a line buffer 12 which temporarily stores the image picked up by the image sensor 11; a step S13 of transferring image data with low resolution based on image data of the line buffer 12; steps S27 and S28 of determining areas A0, A1, B0, B1 to which image data with high resolution of the image obtained by picking up the paper sheet 30 based on the image data of the line buffer 12 is transferred; and a step S28 of transferring the image data with high resolution for the areas A0, A1, B0, and B1 in the image data of the line buffer 12. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

この発明は、例えば、紙葉類に印刷された記番号を認識するなど、高解像度の画像を撮像し画像処理する必要があるような紙葉類識別装置、紙葉類識別方法、および紙葉類識別プログラムに関する。   The present invention relates to a paper sheet identification device, a paper sheet identification method, and a paper sheet that need to capture and process a high-resolution image, for example, by recognizing a serial number printed on the paper sheet. Class identification program.

従来、紙葉類の一種である紙幣を識別する紙幣識別装置においては、低解像度センサと高解像度センサを併用して記番号を識別する装置が提案されている(特許文献1参照)。   2. Description of the Related Art Conventionally, in a bill identifying device for identifying a bill that is a type of paper sheet, a device for identifying a serial number using a low resolution sensor and a high resolution sensor has been proposed (see Patent Document 1).

この特許文献1は、自動販売機などで使われている紙幣識別装置などのように、紙幣の短手が搬送方向に直交する向きに搬送する方式である。このため、日本のように短手の長さが金種によらず一定の国においては、投入口の幅を短手の長さに合わせることにより、記番号の通過位置を容易に固定することができる。   This patent document 1 is a system in which the short side of a bill is conveyed in a direction perpendicular to the conveyance direction, such as a bill identification device used in a vending machine. For this reason, in countries where the short length is constant regardless of the denomination like Japan, the passage position of the serial number can be easily fixed by adjusting the width of the slot to the short length. Can do.

一方、金融機関に設置されている自動取引装置(ATM)などで使われている紙幣識別装置などのように、紙幣の長手が搬送方向に直交する向きに搬送する方式では、金種毎に長手の長さが異なる。このため、最も長手の長い金種の長手長さ以上に搬送路幅を設定する必要が生じ、そうすると、最も長手の短い金種を搬送する時に搬送路上の紙幣の通過位置がばらつくことになる。このため、通路幅全域をカバーする高解像度センサを実装せざるを得ない。   On the other hand, in the method of transporting the banknotes in the direction perpendicular to the transport direction, such as the banknote identification apparatus used in an automatic transaction apparatus (ATM) installed in a financial institution, the length of each denomination is long. The length of is different. For this reason, it is necessary to set the conveyance path width to be longer than the longitudinal length of the longest denomination. Then, when the denomination with the shortest length is conveyed, the passage position of the banknote on the conveyance path varies. For this reason, a high-resolution sensor that covers the entire passage width must be mounted.

このように紙幣の長手が搬送方向に直交する向きに搬送する方式では、高解像度のセンサと低解像度のセンサを取付けた場合、高解像度のセンサも大型となり、同じようなセンサを2個搭載することでコストが高くなるという問題点がある。   As described above, in the method of transporting the bill in the direction perpendicular to the transport direction, when a high resolution sensor and a low resolution sensor are attached, the high resolution sensor is also large, and two similar sensors are mounted. There is a problem that the cost becomes high.

また、大型のセンサを搭載して、搬送路幅全域を撮像した場合、大量の画像メモリが必要となってコストが高くなるという問題点があり、大量の画像データを撮像することで画像メモリのバス帯域が足りなくなるという問題点がある。   In addition, when a large sensor is mounted and the entire conveyance path width is imaged, there is a problem that a large amount of image memory is required and the cost is increased. There is a problem that the bus bandwidth becomes insufficient.

特開平10−154256号公報Japanese Patent Laid-Open No. 10-154256

この発明は、上述の問題点に鑑み、高解像度の画像を撮像した上で、画像転送量を減らし、バス帯域を圧迫せず、画像メモリの容量も減らすことができる紙葉類識別装置、紙葉類識別方法、および紙葉類識別プログラムを提供することを目的とする。   In view of the above-described problems, the present invention provides a paper sheet identification apparatus, paper that can capture a high-resolution image, reduce the image transfer amount, do not compress the bus bandwidth, and reduce the capacity of the image memory. An object is to provide a leaf identification method and a paper sheet identification program.

この発明は、紙葉類の画像を撮像する一次元の撮像手段と、前記撮像手段で撮像した画像を一時的に格納しておくラインバッファと、前記ラインバッファの画像データに基づいて低解像度の画像データを転送する低解像度転送手段と、前記ラインバッファの画像データに基づいて前記紙葉類を撮像した画像のうち高解像度の画像データを転送する高解像度領域を定める高解像度領域決定手段と、前記ラインバッファの画像データにおける前記高解像度領域について高解像度の画像データを転送する高解像度転送手段とを備えた紙葉類識別装置であることを特徴とする。   The present invention relates to a one-dimensional imaging unit that captures an image of a paper sheet, a line buffer that temporarily stores an image captured by the imaging unit, and a low-resolution image based on the image data of the line buffer. Low-resolution transfer means for transferring image data; and high-resolution area determination means for determining a high-resolution area for transferring high-resolution image data among images obtained by imaging the paper sheets based on the image data of the line buffer; It is a paper sheet identification device provided with a high resolution transfer means for transferring high resolution image data for the high resolution area in the image data of the line buffer.

この発明により、高解像度の画像を撮像した上で、画像転送量を減らし、バス帯域を圧迫せず、画像メモリの容量も減らすことができる   According to the present invention, after capturing a high-resolution image, the image transfer amount can be reduced, the bus bandwidth can be reduced, and the capacity of the image memory can be reduced.

紙葉類識別装置を搭載した紙葉類処理装置の概略構成を示す構成図。The block diagram which shows schematic structure of the paper sheet processing apparatus carrying a paper sheet identification device. 紙葉類識別装置の機能的な構成を示すブロック図。The block diagram which shows the functional structure of a paper sheet identification device. 紙葉類の外観を示す平面図。The top view which shows the external appearance of paper sheets. 紙葉類の撮像時の動作を示す側面図。The side view which shows the operation | movement at the time of imaging of paper sheets. 間引き処理(低解像度化処理)の説明図。Explanatory drawing of a thinning process (resolution reduction process). 転送タイミングを表すタイミングチャート。A timing chart showing transfer timing. ライン毎の媒体長を格納しているリンクバッファの構成図。The block diagram of the link buffer which stores the medium length for every line. 低解像度転送処理のフローチャート。The flowchart of a low resolution transfer process. 高解像度転送処理のフローチャート。The flowchart of a high resolution transfer process. 高解像度領域と低解像度領域を説明する領域説明図。Area explanatory drawing explaining a high resolution area | region and a low resolution area | region. 媒体長の説明図。Explanatory drawing of medium length.

この発明の一実施形態を以下図面と共に説明する。   An embodiment of the present invention will be described below with reference to the drawings.

図1は、コンピュータとしての紙葉類識別装置8を搭載した紙葉類処理装置1の概略構成を示す構成図である。
紙葉類識別装置8の入出口2は、操作者が紙葉類を投入したり、受取ったりする開口部である。紙葉類識別装置8は、搬送されてきた紙葉類の真偽や金種などを識別して識別結果を出力する。一時保留部3は、入金処理で操作者が投入し、紙葉類識別装置8が真偽や金種などを識別できた紙葉類を一時的に保留する。
FIG. 1 is a configuration diagram showing a schematic configuration of a paper sheet processing apparatus 1 equipped with a paper sheet identification device 8 as a computer.
The entrance / exit 2 of the paper sheet identification device 8 is an opening through which an operator inputs and receives paper sheets. The paper sheet identification device 8 identifies the authenticity or denomination of the conveyed paper sheet and outputs the identification result. The temporary holding unit 3 temporarily holds a paper sheet that has been input by the operator in the deposit process and whose paper sheet identification device 8 has been able to identify authenticity, denomination, and the like.

収納部4A、4B、4Cは、紙葉類識別装置8が真券と判断し金種が確定した紙葉類を収納している。回収部5は、一時保留部3からの繰出しで金種が確定できなかった紙葉類や収納部4A、4B、4Cからの繰出しで金種が確定できなかった紙葉類などを収納している。   The storage units 4A, 4B, and 4C store paper sheets that are determined to be genuine by the paper sheet identification device 8 and denominated. The collection unit 5 stores paper sheets whose denomination could not be determined by feeding from the temporary storage unit 3, paper sheets whose denomination could not be determined by feeding from the storage units 4A, 4B, and 4C. Yes.

カセット7は、収納部4A、4B、4Cに補充する紙葉類や、収納部4A、4B、4Cから回収した紙葉類などを収納している。補充回収部6は、カセット7から繰出された紙葉類の中で金種が確定できなかった紙葉類などを収納している。上記各々の部位は、搬送路9で接続されており、搬送路9を通して紙葉類が1枚ずつ搬送される。   The cassette 7 stores paper sheets to be replenished in the storage units 4A, 4B, and 4C, and paper sheets collected from the storage units 4A, 4B, and 4C. The replenishment collection unit 6 stores paper sheets whose denominations cannot be determined among paper sheets fed from the cassette 7. Each of the above portions is connected by a conveyance path 9, and the sheets are conveyed one by one through the conveyance path 9.

図2は、紙葉類識別装置8の機能的な構成を示すブロック図である。
CPU14は、紙葉類識別装置8全体の制御を行なう。ROM15は、不揮発性メモリであり、CPU14が使う制御プログラムや紙葉類識別プログラムなどを格納している。RAM16は、揮発性メモリであり、CPU14が使う変数などを格納している。
FIG. 2 is a block diagram showing a functional configuration of the paper sheet identification device 8.
The CPU 14 controls the paper sheet identification device 8 as a whole. The ROM 15 is a non-volatile memory, and stores a control program used by the CPU 14, a paper sheet identification program, and the like. The RAM 16 is a volatile memory and stores variables used by the CPU 14.

イメージセンサ11は、紙葉類の画像を撮像する1次元のセンサである。ラインバッファ12は、イメージセンサ11が撮像した1次元の画像データを一時的に格納しておくメモリである。このラインバッファ12は合計4個あり、イメージセンサからの1ライン分の画像が順次格納される。ラインバッファ#0から始まり、最後のラインバッファ#3の次には、また最初のラインバッファ#0に戻って順番に格納される。   The image sensor 11 is a one-dimensional sensor that captures an image of a paper sheet. The line buffer 12 is a memory that temporarily stores one-dimensional image data captured by the image sensor 11. There are a total of four line buffers 12, and images for one line from the image sensor are sequentially stored. Starting from the line buffer # 0, next to the last line buffer # 3, the process returns to the first line buffer # 0 and is stored in order.

画像メモリ17は、紙葉類の高解像度の画像と低解像度の画像を格納するメモリである。画像転送部13は、ラインバッファ12を参照し、一部の高解像度の画像データ23と全体の低解像度の画像データ24を画像メモリ17に転送するとともに、高解像度の画像データ23と合わせて該画像データの位置情報と長さ情報も転送する。   The image memory 17 is a memory for storing a high-resolution image and a low-resolution image of paper sheets. The image transfer unit 13 refers to the line buffer 12 and transfers part of the high-resolution image data 23 and the entire low-resolution image data 24 to the image memory 17, and combines the high-resolution image data 23 with the high-resolution image data 23. The position information and length information of the image data are also transferred.

紙葉類識別装置8は、イメージセンサ以外にも磁気センサや厚みセンサなどのセンサ18を実装しており、センサ転送部19によりセンサデータが各センサ18から各センサメモリ20に転送される。   In addition to the image sensor, the paper sheet identification device 8 includes a sensor 18 such as a magnetic sensor or a thickness sensor, and sensor data is transferred from each sensor 18 to each sensor memory 20 by a sensor transfer unit 19.

バス10には各デバイスが接続されている。バス10は、共通に使われる信号線である。このバス10は、画像データを画像メモリ17に転送する時やセンサ18のセンサデータをセンサメモリ20に転送する時やCPU14がROM15やRAM16に格納されているデータやプログラムにアクセスする時などに使われる。   Each device is connected to the bus 10. The bus 10 is a signal line used in common. The bus 10 is used when transferring image data to the image memory 17, when transferring sensor data of the sensor 18 to the sensor memory 20, or when the CPU 14 accesses data or programs stored in the ROM 15 or RAM 16. Is called.

この構成により、紙葉類識別装置8は、イメージセンサ11で撮像した画像データをラインバッファ12に格納して画像転送部13により画像メモリ17へ転送、記憶させ、また他のセンサ18のセンサデータがセンサ転送部19によりセンサメモリ20に転送、記憶されて、CPU14が、画像メモリ17の画像データとセンサメモリ20のセンサデータに基づいて金種判別や真偽判別といった紙葉類30の識別処理を実行する。この識別処理を実行するCPU14は、高解像度の画像データ23と低解像度の画像データ24等に基づいて紙葉類を識別する識別手段として機能する。   With this configuration, the paper sheet identification device 8 stores the image data captured by the image sensor 11 in the line buffer 12 and transfers and stores the image data in the image memory 17 by the image transfer unit 13, and sensor data of other sensors 18. Is transferred to and stored in the sensor memory 20 by the sensor transfer unit 19, and the CPU 14 performs identification processing of the paper sheet 30 such as denomination determination and authenticity determination based on the image data in the image memory 17 and the sensor data in the sensor memory 20. Execute. The CPU 14 that executes the identification process functions as an identification unit that identifies paper sheets based on the high-resolution image data 23, the low-resolution image data 24, and the like.

図3は、紙葉類30の外観を示す平面図である。
ここで、紙葉類とは、少なくとも紙幣、小切手、有価証券、商品券が含まれる。この実施例では、紙幣をイメージした紙葉類30の例で説明する。
FIG. 3 is a plan view showing the appearance of the paper sheet 30.
Here, the paper sheets include at least banknotes, checks, securities, and gift certificates. In this embodiment, an example of a paper sheet 30 in the image of a banknote will be described.

紙葉類30の表面には、少なくとも2箇所以上に記番号31A,31Bが印刷されている。図3では、英数字の組合せとしているが、記番号は英数字に限らず紙葉類30を特定できる記号などを含む構成にするとよい。ここでは、記番号31A,31Bの近辺の領域を注目すべき領域32A,32Bとする。   On the surface of the paper sheet 30, serial numbers 31A and 31B are printed in at least two places. In FIG. 3, the combination of alphanumeric characters is used, but the serial number is not limited to alphanumeric characters and may include a symbol that can identify the paper sheet 30. Here, the areas near the serial numbers 31A and 31B are the areas 32A and 32B to be noted.

図4は紙葉類の撮像時の動作を示す側面図である。
紙葉類30は、図示する方向Aの方向に搬送されている。ランプ40Aは、紙葉類30の上面全体を照射し、紙葉類30から反射された光をイメージセンサ11Aで受光する。イメージセンサ11Aから読み出した画像データは1ライン分であるが、紙葉類30が搬送されるにつれ順次撮像するので、結果として2次元の画像を得ることができる。
FIG. 4 is a side view showing an operation at the time of imaging a paper sheet.
The paper sheet 30 is conveyed in the direction of the direction A shown in the drawing. The lamp 40A irradiates the entire upper surface of the paper sheet 30, and the image sensor 11A receives the light reflected from the paper sheet 30. The image data read from the image sensor 11A is for one line, but since the images are sequentially taken as the paper sheet 30 is conveyed, a two-dimensional image can be obtained as a result.

紙葉類30の下面に関しても、ランプ40Bとイメージセンサ11Bにより、上面と同じように2次元の画像を得ることができる。図2ではイメージセンサ11とラインバッファ12と画像転送部13を1組だけ図示しているが、実際には二組分がバス10に接続されている。   Also on the lower surface of the paper sheet 30, a two-dimensional image can be obtained by the lamp 40B and the image sensor 11B in the same manner as the upper surface. In FIG. 2, only one set of the image sensor 11, the line buffer 12, and the image transfer unit 13 is illustrated, but two sets are actually connected to the bus 10.

この紙葉類30は、搬送幅方向の長さが搬送路9の搬送路幅より短い構成となっている。このため、搬送路9での搬送中に紙葉類30のスキュー(傾き)が生じるものである。   The paper sheet 30 is configured such that the length in the conveyance width direction is shorter than the conveyance path width of the conveyance path 9. For this reason, a skew (inclination) of the paper sheet 30 occurs during conveyance on the conveyance path 9.

なお、日本の紙幣には、片面のみに記番号が印刷されており、もう一方の面には記番号は印刷されていないので、どちらの面が上になって搬送されて来るのかわからず、上側と下側に撮像系(ランプ40A,40Bとイメージセンサ11A,41B)を配しているが、両面に記番号が印刷されている紙葉類を扱う装置では、片側だけに撮像系を配してもよい。また、日本の紙幣など片面だけに記番号が印刷されている紙葉類を扱う装置でも、紙葉類の面を固定して扱える場合は、片側だけに撮像系を配してもよい。   Japanese banknotes have a serial number printed on only one side and no serial number printed on the other side, so you can't tell which side will be transported up, An imaging system (lamps 40A and 40B and image sensors 11A and 41B) is arranged on the upper side and the lower side, but in an apparatus that handles paper sheets with serial numbers printed on both sides, the imaging system is arranged only on one side. May be. In addition, even in a device that handles paper sheets with serial numbers printed on only one side, such as Japanese banknotes, the imaging system may be arranged on only one side when the paper sheet side can be fixed and handled.

図5は間引き処理(低解像度化処理)の説明図である。
まず、イメージセンサ11が撮像した1ライン分の画像データは、4個のラインバッファ12に順次格納される。最後のラインバッファ#3の次は、最初のラインバッファ#0に戻って格納される。これにより、イメージセンサで撮像されたライン番号とラインバッファの番号との対応は、ライン番号が#0、#1、#2、#3、#4、#5、#6、#7と順番に1増加するのに対して、ラインバッファの番号は#0、#1、#2、#3、#0、#1、#2、#3、と循環し、リングバッファとして機能する。
FIG. 5 is an explanatory diagram of thinning processing (resolution reduction processing).
First, image data for one line imaged by the image sensor 11 is sequentially stored in the four line buffers 12. After the last line buffer # 3, the data is stored back to the first line buffer # 0. As a result, the correspondence between the line numbers captured by the image sensor and the line buffer numbers is as follows: the line numbers are # 0, # 1, # 2, # 3, # 4, # 5, # 6, and # 7. While the number increases by 1, the line buffer number circulates through # 0, # 1, # 2, # 3, # 0, # 1, # 2, # 3 and functions as a ring buffer.

イメージセンサ11によって撮像された画像の各画素をPnmと表す。ここでnはイメージセンサのライン番号を表し、搬送方向に対応する。またmはイメージセンサの各撮像素子の番号を表し、搬送路幅方向に対応する。
このPnmの集まりが、高解像度の画像データ23となる。
Each pixel of the image captured by the image sensor 11 is represented as Pnm. Here, n represents the line number of the image sensor and corresponds to the transport direction. M represents the number of each image sensor of the image sensor, and corresponds to the conveyance path width direction.
This collection of Pnm becomes the high-resolution image data 23.

間引き処理とは、解像度を落としてデータ量を減らす処理のことであり、ここで搬送方向に4ライン分、搬送路幅方向に4画素分の合計16個の画素から1個の画素に変換する。変換方法としては、単純に16個の画素の平均値を使う、16個の画素の中央値を使うなど、適宜の計算方法で求めた値を使う。図5では例えば、P00、P01、P02、P03、P10、P11、P12、P13、P20、P21、P22、P23、P30、P31、P32、P33の16個の画素から1個の画素に変換することを示している。   The thinning-out process is a process for reducing the data amount by reducing the resolution. Here, a total of 16 pixels corresponding to 4 lines in the transport direction and 4 pixels in the transport path width direction are converted into one pixel. . As a conversion method, a value obtained by an appropriate calculation method such as simply using an average value of 16 pixels or using a median value of 16 pixels is used. In FIG. 5, for example, conversion from 16 pixels of P00, P01, P02, P03, P10, P11, P12, P13, P20, P21, P22, P23, P30, P31, P32, and P33 to one pixel. Is shown.

ここでは4ラインx4画素を1ブロックとしているが、1ラインx1画素以外ならどのような組合せでもよい。例えば、1ラインx4画素でも、4ラインx1画素でもよい。この場合、ライン数の変更に伴ってラインバッファの構成数を変えるとよい。   Here, 4 lines × 4 pixels are defined as one block, but any combination other than 1 line × 1 pixels may be used. For example, one line × 4 pixels or four lines × 1 pixels may be used. In this case, the number of line buffers may be changed as the number of lines is changed.

図6は転送タイミングを表すタイミングチャートである。
イメージセンサ11が1ライン分の画像を順次撮像すると、その画像がラインバッファ12に格納される。このタイミングT1がライン番号0,1、・・として図に表されている。
FIG. 6 is a timing chart showing the transfer timing.
When the image sensor 11 sequentially captures an image for one line, the image is stored in the line buffer 12. This timing T1 is shown in the figure as line numbers 0, 1,.

高解像度転送は、1ライン分の画像データがラインバッファ12に格納される毎に実行される。すなわち、イメージセンサ11が1ライン分の画像を撮像してラインバッファ12に格納するタイミングT1と1対1対応するタイミングT2で高解像度転送が行われる。この高解像度転送は、1ライン分の画像データの中から高解像度での画像処理が必要な箇所のみが転送部13によって画像メモリ17に転送される。この実施例では記番号の領域と思われる箇所だけを転送する構成としているが、マイクロ文字など他の注目領域を転送してもよい。この高解像度転送処理の詳細は後述する。   The high resolution transfer is executed every time image data for one line is stored in the line buffer 12. That is, high-resolution transfer is performed at a timing T2 that has a one-to-one correspondence with a timing T1 at which the image sensor 11 captures an image for one line and stores it in the line buffer 12. In this high-resolution transfer, only a portion that requires high-resolution image processing from one line of image data is transferred to the image memory 17 by the transfer unit 13. In this embodiment, only the portion considered to be a serial number area is transferred, but other attention areas such as micro characters may be transferred. Details of this high resolution transfer process will be described later.

低解像度転送は、ラインバッファ#3に画像データが格納されるタイミングT3毎に実行される。このとき転送する低解像度の画像データ24は、搬送方向に1/4、搬送路幅方向に1/4に解像度を落とした低解像度画像データである。この低解像度の画像データ24は、画像転送部13によって画像メモリ17に転送される。この低解像度転送処理の詳細は後述する。   The low resolution transfer is executed at every timing T3 when the image data is stored in the line buffer # 3. The low-resolution image data 24 transferred at this time is low-resolution image data in which the resolution is reduced to 1/4 in the transport direction and 1/4 in the transport path width direction. The low-resolution image data 24 is transferred to the image memory 17 by the image transfer unit 13. Details of the low resolution transfer process will be described later.

図7は、イメージセンサ11で紙葉類30を撮影したライン毎の媒体長を格納しているリンクバッファ21の構成図である。
このリンクバッファ21は、合計4個の媒体長を格納することができ、カウンタCによりどこに媒体長を格納すればよいのか管理している。つまりカウンタCの値がリンクバッファ21の番号を示している。このリンクバッファ21は、ラインバッファ12と対になっており、いずれも4ライン分のデータを記憶できるように構成されている。
FIG. 7 is a configuration diagram of the link buffer 21 that stores the medium length for each line obtained by photographing the paper sheet 30 by the image sensor 11.
The link buffer 21 can store a total of four medium lengths, and the counter C manages where the medium lengths should be stored. That is, the value of the counter C indicates the number of the link buffer 21. The link buffer 21 is paired with the line buffer 12 and both are configured to store data for four lines.

図8は、紙葉類識別装置8が紙葉類識別プログラムに基づいて実行する低解像度転送処理のフローチャートである。
図6でも説明したとおり、低解像度転送処理は4ライン毎に1回行われ、解像度を落とした画像を転送する処理である。転送された低解像度の画像データ24は、金種判別など媒体全体の画像データが必要となる処理で使われる。
FIG. 8 is a flowchart of the low-resolution transfer process executed by the paper sheet identification device 8 based on the paper sheet identification program.
As described with reference to FIG. 6, the low-resolution transfer process is performed once every four lines and transfers an image with a reduced resolution. The transferred low-resolution image data 24 is used in processing that requires image data of the entire medium, such as denomination discrimination.

紙葉類識別装置8は、イメージセンサ11での1ライン分の撮像(撮像ステップ)が完了し、画像データがラインバッファ12に格納(一次記憶ステップ)されるのを待つ(ステップS10:未)。ラインバッファ12への格納が終了すれば(ステップS10:終了)、紙葉類識別装置8は、全ラインバッファ12への格納が完了したかチェックする(ステップS11)。紙葉類識別装置8は、まだ全ラインバッファへの格納が済んでいなければ(ステップS11:No)、ステップS10に処理を戻し、全ラインバッファ12への格納が完了していれば(ステップS11:Yes)、次のステップに進む。   The paper sheet identification device 8 waits for the image sensor 11 to complete the imaging for one line (imaging step) and to store the image data in the line buffer 12 (primary storage step) (step S10: not yet). . When the storage in the line buffer 12 is completed (step S10: end), the paper sheet identification device 8 checks whether the storage in all the line buffers 12 is completed (step S11). If the sheet identification device 8 has not yet been stored in all line buffers (step S11: No), the process returns to step S10, and if the storage in all line buffers 12 has been completed (step S11). S11: Yes), the process proceeds to the next step.

図6で説明したように、紙葉類識別装置8は、4ラインx4画素毎に1画素へと解像度を落とす間引き処理を実行し(ステップS12)、これによって作成した低解像度の画像データ24を画像メモリ17へ転送する低解像度転送ステップを行う(ステップS13)。   As described with reference to FIG. 6, the paper sheet identification device 8 performs a thinning process for reducing the resolution to one pixel every 4 lines × 4 pixels (step S <b> 12), and generates the low-resolution image data 24 created thereby. A low resolution transfer step of transferring to the image memory 17 is performed (step S13).

紙葉類識別装置8は、全ての画素について間引き処理が完了したか確認し(ステップS14)、まだ完了していなければ(ステップS14:未完)、ステップS12に処理を戻し、次の画素の間引き処理を行なう。完了していれば(ステップS14:完)、紙葉類識別装置8は、次のステップへ処理を進める。   The paper sheet identification device 8 confirms whether or not the thinning process has been completed for all the pixels (step S14). If not completed yet (step S14: incomplete), the process returns to step S12 to thin out the next pixel. Perform processing. If completed (step S14: completed), the paper sheet recognition apparatus 8 advances the processing to the next step.

紙葉類識別装置8は、最後に撮像処理が終了したか確認し(ステップS15)、まだ終了していなければ(ステップS15:No)、ステップS10に処理を戻し、次のラインの画像データの格納処理と間引き処理と転送処理を行なう。終了していれば(ステップS15:Yes)、紙葉類識別装置8は、低解像度転送処理を終了する。   The paper sheet identification device 8 confirms whether or not the imaging process has been completed last (step S15), and if not completed yet (step S15: No), the process returns to step S10, and the image data of the next line is obtained. Storage processing, thinning-out processing, and transfer processing are performed. If completed (step S15: Yes), the paper sheet identification device 8 ends the low resolution transfer process.

図9は、紙葉類識別装置8が紙葉類識別プログラムに基づいて実行する高解像度転送処理のフローチャートであり、図10は読み取った紙葉類の画像における高解像度領域と低解像度領域を説明する領域説明図であり、図11は、イメージセンサ11による画像読み取りで認識できる媒体長の説明図である。   FIG. 9 is a flowchart of the high-resolution transfer process executed by the paper sheet identification device 8 based on the paper sheet identification program. FIG. 10 illustrates the high-resolution area and the low-resolution area in the read paper sheet image. FIG. 11 is an explanatory diagram of a medium length that can be recognized by image reading by the image sensor 11.

図6でも説明したとおり、高解像度転送処理は、1ライン毎に行われ、記番号領域32A,32Bを含んだ領域だけを高解像度のままで画像メモリ17に転送する処理である。但し、高解像度領域の2次元画像として高解像度転送される画像は、図3に説明した紙葉類30の記番号領域32A,32B近辺だけでなく、図10に示すB0、B1のような縦長の領域とする。これは、紙葉類30が表裏どちら向きに挿入されるか等によって記番号の搬送方向の位置が異なるため、搬送方向の前後全体に渡って画像取得するものである。なお、記番号は紙葉類30の搬送方向前方よりか後方よりに位置するため、領域B0,B1の搬送方向中央位置を除く構成にすることも可能である。   As described with reference to FIG. 6, the high resolution transfer process is performed for each line, and only the area including the serial number areas 32A and 32B is transferred to the image memory 17 while maintaining the high resolution. However, an image that is transferred at a high resolution as a two-dimensional image in the high resolution area is not only the vicinity of the serial number areas 32A and 32B of the paper sheet 30 described in FIG. 3, but also a vertically long image such as B0 and B1 shown in FIG. The area is Since the position of the serial number in the transport direction differs depending on whether the paper sheet 30 is inserted in the front or back direction, the image is acquired over the entire front and rear in the transport direction. Since the serial number is located from the front or rear of the paper sheet 30 in the transport direction, it is possible to adopt a configuration excluding the central position in the transport direction of the regions B0 and B1.

転送された高解像度の画像データ23は、記番号認識など模様が細かくて高解像度の画像を必要とする処理で使われる。この高解像度転送処理は、上述した低解像度転送処理と並行して実行する。   The transferred high resolution image data 23 is used in a process that requires a high resolution image with a fine pattern such as serial number recognition. This high resolution transfer process is executed in parallel with the above-described low resolution transfer process.

紙葉類識別装置8は、まずカウンタCを0クリアする(ステップS20)。このカウンタCはライン毎の媒体長Lを格納する位置を管理するためのものである。   The paper sheet identification device 8 first clears the counter C to 0 (step S20). This counter C is for managing the position for storing the medium length L for each line.

イメージセンサ11での1ライン分の撮像が完了し、ラインバッファ12への格納が行なわれるのを待つ(ステップS21:未完)。完了していれば(ステップS21:完了)、次のステップに処理を進める。   Wait until the image sensor 11 completes imaging for one line and stores it in the line buffer 12 (step S21: incomplete). If completed (step S21: completed), the process proceeds to the next step.

紙葉類識別装置8は、格納が行なわれたラインバッファ12の画像データを参照し、媒体長Lを算出する(ステップS22)。この算出は、例えば1ラインの全ての画素を二値化し、媒体の左端と右端を求め、この右端位置と左端位置の差から媒体長Lを求める。   The paper sheet identification device 8 refers to the image data stored in the line buffer 12 and calculates the medium length L (step S22). In this calculation, for example, all pixels in one line are binarized, the left end and the right end of the medium are obtained, and the medium length L is obtained from the difference between the right end position and the left end position.

紙葉類識別装置8は、ステップS22で計算した媒体長LをカウンタCが示す位置のリングバッファに格納する(ステップS23)。紙葉類識別装置8は、次のラインの処理のためにカウンタCの値を次の値に更新する(ステップS24)。このカウンタCの更新は、3とANDを行うビット演算により実行する。これにより、カウンタCは、0,1,2,3,0,1,…というように、0から1つずつ増加して3までいくと、再度0からスタートして1つずつ増加することを繰り返す。   The paper sheet identification device 8 stores the medium length L calculated in step S22 in the ring buffer at the position indicated by the counter C (step S23). The paper sheet identification device 8 updates the value of the counter C to the next value for the processing of the next line (step S24). The updating of the counter C is executed by a bit operation that performs AND with 3. As a result, the counter C is incremented by 1 from 0, such as 0, 1, 2, 3, 0, 1,. repeat.

紙葉類識別装置8は、ステップS23で計算した媒体長Lをチェックする(ステップS25)。媒体長Lが0ならば(ステップS25:Yes)、まだ媒体が無いので転送処理は行なわずに、ステップS21に処理を戻す。媒体長Lが0でないならば(ステップS25:No)、媒体が到達しているので、紙葉類識別装置8は、転送処理を行なうために次のステップに処理を進める。   The paper sheet identification device 8 checks the medium length L calculated in step S23 (step S25). If the medium length L is 0 (step S25: Yes), since there is no medium yet, the transfer process is not performed and the process returns to step S21. If the medium length L is not 0 (step S25: No), since the medium has arrived, the paper sheet identification device 8 proceeds to the next step in order to perform the transfer process.

紙葉類識別装置8は、現在のラインが媒体の先端部(領域A0)や後端部(領域A1)なのか、それとも中間部(領域B)なのかを判定するために、DIFを計算する(ステップS26)。   The paper sheet identification device 8 calculates the DIF in order to determine whether the current line is the leading edge (area A0), the trailing edge (area A1), or the middle (area B) of the medium. (Step S26).

ここで、DIFとは、隣接したラインの媒体長Lの差の絶対値の和であり、次の式1によって求める。
<式1>
DIF = |L0−L1|+|L1−L2|+|L2−L3|
Here, DIF is the sum of absolute values of the differences between the media lengths L of adjacent lines, and is obtained by the following equation 1.
<Formula 1>
DIF = | L0-L1 | + | L1-L2 | + | L2-L3 |

ここで、DIFを用いて紙葉類30の先端部、後端部、中間部を判定する判定方法について説明する。図10に示すように、紙葉類30の先端部は、図10の領域A0に該当し、後端部は領域A1に該当し、中間部は紙葉類30の領域Bに該当する。すなわち、短手方向に搬送されている紙葉類30は、該紙葉類30の搬送幅方向の長さより搬送路幅の広い搬送路9内で図示するようにスキュー(傾斜)していることがあり、イメージセンサ11で紙葉類30の搬送幅方向両端部(全幅)まで読み取れる中間部の前後に、イメージセンサ11で順次読み取る媒体長がライン毎に大きく変動する先端部と後端部が存在する。この先端部や後端部となる領域A0,A1では、ライン毎に媒体長Laが大きく変化するので、DIFは大きな値となる。一方、図10の紙葉類30における領域A0,A1を除いた中央部の場合、ライン毎の媒体長Lbは安定していてあまり変化しないため、DIFは小さな値となる。よって、DIFが小さければ中央部と判定でき、DIFが大きければ先端部か後端部であると切り分けできる。このDIFを用いる方法によれば、搬送幅方向の媒体長が異なる複数種類の紙葉類30を識別する場合でも、問題なく先端部と後端部と中間部とを切り分けることができる。   Here, a determination method for determining the front end portion, the rear end portion, and the intermediate portion of the paper sheet 30 using the DIF will be described. As shown in FIG. 10, the leading end portion of the paper sheet 30 corresponds to the region A <b> 0 in FIG. 10, the rear end portion corresponds to the region A <b> 1, and the intermediate portion corresponds to the region B of the paper sheet 30. That is, the paper sheet 30 transported in the short direction is skewed (inclined) as illustrated in the transport path 9 having a transport path width wider than the length of the paper sheet 30 in the transport width direction. There are a front end portion and a rear end portion in which the length of the medium sequentially read by the image sensor 11 greatly fluctuates for each line before and after the intermediate portion that can be read by the image sensor 11 to both ends (full width) of the paper sheet 30 in the conveyance width direction. Exists. In the regions A0 and A1 which are the leading end portion and the trailing end portion, the medium length La changes greatly for each line, so the DIF becomes a large value. On the other hand, in the central portion excluding the areas A0 and A1 in the paper sheet 30 in FIG. 10, the medium length Lb for each line is stable and does not change so much, so the DIF becomes a small value. Therefore, if the DIF is small, it can be determined that the center portion is present, and if the DIF is large, it is possible to distinguish the tip portion or the rear end portion. According to this DIF method, even when a plurality of types of paper sheets 30 having different medium lengths in the conveyance width direction are identified, the front end portion, the rear end portion, and the intermediate portion can be separated without any problem.

なお、先端部と後端部と中央部の切り分けは、このDIFを用いる方法に限らず、他の方法を採用することもできる。例えば、媒体長Lがあるスレッシュ値(予め定めた基準値)未満なら先端部または後端部で、スレッシュ値以上ならば中央部という切り分け方法とすることもできる。   It should be noted that the front end portion, the rear end portion, and the central portion are not limited to the method using the DIF, and other methods can be employed. For example, if the medium length L is less than a certain threshold value (predetermined reference value), the leading edge or the trailing edge may be used.

紙葉類識別装置8は、DIFが予め定められているスレッシュ値(予め定めた基準値)と比較する(ステップS27)。所定基準としてのDIFがスレッシュ値よりも小さけいという基準を満たせば(ステップS27:Yes)、紙葉類識別装置8は、媒体の中央部であると判断し、紙葉類30における記番号領域32A,32Bに相当する領域だけを転送する(ステップS28)。具体的には、図10に示す領域B0,B1の高解像度の画像データ23を送信する。   The paper sheet identification device 8 compares the DIF with a predetermined threshold value (predetermined reference value) (step S27). If the DIF as the predetermined criterion satisfies the criterion that the DIF is smaller than the threshold value (step S27: Yes), the paper sheet identification device 8 determines that it is the central portion of the medium, and the serial number area in the paper sheet 30 Only the area corresponding to 32A, 32B is transferred (step S28). Specifically, the high-resolution image data 23 in the areas B0 and B1 shown in FIG. 10 is transmitted.

ここで、ステップS28は、中央部と判断した場合の転送処理であり、記番号領域に相当する領域だけを転送する。このため、図10に示すように、所定条件として紙葉類30の左端と右端から各々m画素だけ内側に入った位置からn画素分の条件に該当するものだけ転送する。つまり図10でのB0とB1に該当する領域を転送する。この時、後に行なう画像処理のために、領域B0と領域B1の各々の搬送幅方向の開始位置と長さも合わせて転送する。図10に示す領域B0では開始点=x0+m、長さ=n、領域B1では開始点=x0+m+n+k、長さ=nとなる。   Here, step S28 is a transfer process when it is determined that the center portion, and only the area corresponding to the serial number area is transferred. For this reason, as shown in FIG. 10, as a predetermined condition, only those corresponding to the condition for n pixels are transferred from a position which is inward by m pixels from the left end and the right end of the paper sheet 30. That is, the areas corresponding to B0 and B1 in FIG. 10 are transferred. At this time, for the image processing to be performed later, the start position and the length of each of the areas B0 and B1 in the transport width direction are also transferred. In region B0 shown in FIG. 10, start point = x0 + m and length = n, and in region B1, start point = x0 + m + n + k and length = n.

転送領域の位置と長さの算出方法は、媒体長Lに対する比率で求めても良い。
なお、この実施例では中央部での転送領域を2個としているが、それは記番号が左右対称位置に2箇所あるためであり、もし搬送路幅方向の中央部の1箇所だけに記番号が配置されている場合は、転送領域も1箇所だけにすれば良い。
The method for calculating the position and length of the transfer area may be obtained as a ratio to the medium length L.
In this embodiment, there are two transfer areas in the central part because the serial numbers are in two symmetrical positions, and the serial number is only in one central part in the conveyance path width direction. In the case where they are arranged, only one transfer area is required.

DIFがスレッシュ値以上の場合(ステップS28:No)、紙葉類30の先端部または後端部であると判断し、高解像度領域として媒体の部分(図10に示す領域A0,A1)だけの高解像度画像を転送する(ステップS29)。   If the DIF is greater than or equal to the threshold value (step S28: No), it is determined that it is the leading edge or trailing edge of the paper sheet 30, and only the medium portion (areas A0 and A1 shown in FIG. 10) is used as the high resolution area. A high resolution image is transferred (step S29).

ここで、このステップS29は、先端部または後端部と判断した場合の転送処理であり、先端部と後端部の全領域を転送する。図3に示したとおり、記番号は先端と後端の近くに印刷されているため、図10の先端領域A0や後端領域A1に含まれる可能性が高い。そのため、この実施例では先端部または後端部の場合は、媒体の全領域を転送することにする。この時、ステップS28と同じく転送領域の開始位置と長さも合わせて転送する。従って、開始位置=媒体左端座標、長さ=Laとなる。   Here, this step S29 is a transfer process when it is determined that the front end portion or the rear end portion, and the entire area of the front end portion and the rear end portion is transferred. As shown in FIG. 3, since the serial number is printed near the front end and the rear end, the serial number is highly likely to be included in the front end area A0 and the rear end area A1 in FIG. Therefore, in this embodiment, in the case of the front end portion or the rear end portion, the entire area of the medium is transferred. At this time, similar to step S28, the transfer area start position and length are also transferred. Therefore, start position = media left end coordinate, length = La.

これらのステップS27での判定とステップS28での必要部分の抽出が高解像度領域決定ステップとなり、ステップS28の転送とステップS29の転送が高解像度転送ステップとなる。   The determination in step S27 and the extraction of the necessary part in step S28 become the high resolution area determination step, and the transfer in step S28 and the transfer in step S29 become the high resolution transfer step.

なお、この実施例では先端部や後端部でも転送を行なっているが、記番号など注目領域が媒体の中央部にだけある場合などは、その注目領域が先端部や後端部に入らないので、先端部や後端部では転送を行なわないようにすれば良い。   In this embodiment, transfer is also performed at the front end and the rear end. However, when the attention area such as a serial number is only at the center of the medium, the attention area does not enter the front end or the rear end. Therefore, it is only necessary not to transfer at the front end portion or the rear end portion.

また、この実施例では画像データと共に開始位置と長さのデータも転送しているが、転送容量を削減したいが画像メモリ自体は大容量のメモリを実装できるといた場合は、開始位置と長さのデータは転送せずに、画像データだけを転送しても良い。   In this embodiment, the start position and length data are transferred together with the image data. However, if it is desired to reduce the transfer capacity but the image memory itself can be mounted with a large capacity memory, the start position and length data are transferred. The image data may be transferred without transferring the image data.

最後に、紙葉類識別装置8は、撮像処理が終了したか確認し(ステップS30)、まだ終了していなければ(ステップS30:No)、ステップS21に戻り、次のラインの処理を行なう。もし終了していれば(ステップS30:Yes)、高解像度転送処理を終了する。   Finally, the paper sheet identification device 8 confirms whether the imaging process has been completed (step S30). If it has not been completed yet (step S30: No), the process returns to step S21 to perform the process for the next line. If completed (step S30: Yes), the high resolution transfer process is terminated.

このように実行する低解像度転送処理と高解像度転送処理は、上述したとおり並行して実行されるのであるが、主な処理を行うタイミングが異なっている。
すなわち、低解像度転送処理は、#0〜#3の4つ全てのラインバッファ12に画像データが格納された段階で間引き処理(ステップS12)および転送処理(ステップS13)を実行し、再度#0のラインバッファ12から画像データが格納されて#3まで進むと間引き処理および転送を実行する。従って、イメージセンサ11で4回撮像を実行する毎に間引き処理および転送を実行することになる。
The low resolution transfer process and the high resolution transfer process executed in this way are executed in parallel as described above, but the timing of performing the main process is different.
That is, in the low resolution transfer process, the decimation process (step S12) and the transfer process (step S13) are executed at the stage when the image data is stored in all the four line buffers 12 from # 0 to # 3, and # 0 is again performed. When the image data is stored from the line buffer 12 and proceeds to # 3, thinning processing and transfer are executed. Therefore, every time imaging is performed four times by the image sensor 11, thinning processing and transfer are performed.

一方、高解像度転送処理は、1つのラインバッファ12に画像データが格納される毎に、端部/中間部判定処理(ステップS27)および転送領域抽出処理(ステップS28)および転送処理(ステップS28,29)を実行する。   On the other hand, each time image data is stored in one line buffer 12, the high resolution transfer process is performed with an edge / intermediate part determination process (step S27), a transfer area extraction process (step S28), and a transfer process (step S28, 29) is executed.

従って、高解像度転送処理の主な処理(ステップS27〜S29)が4回実行されると、低解像度転送処理の主な処理(ステップS12〜S13)を1回実行することになる。   Therefore, when the main processing (steps S27 to S29) of the high resolution transfer processing is executed four times, the main processing (steps S12 to S13) of the low resolution transfer processing is executed once.

そして、この高解像度転送処理と低解像度転送処理により、転送されるデータ量を、紙葉類30の全体の高解像度データを転送するよりも少なくすることができる。また、これにより、画像データの転送時にバス帯域が圧迫されず、この転送された画像データを記憶する画像メモリ17のメモリ容量も減らすことができる。   By this high resolution transfer processing and low resolution transfer processing, the amount of data to be transferred can be made smaller than when the entire high resolution data of the paper sheet 30 is transferred. As a result, the bus bandwidth is not compressed during the transfer of the image data, and the memory capacity of the image memory 17 for storing the transferred image data can be reduced.

以上の構成および動作により、画像転送量を削減し、バス帯域を圧迫せず、画像メモリ17のメモリ容量を削減した紙葉類識別装置8を提供することができる。詳述すると、一般的な画像処理として注目領域の抽出や低解像度化は、全画像データを一旦画像メモリに記憶させた上で行われる。このような方法では、大容量の画像メモリが必要であり、画像メモリへの転送時にバス帯域が不足するという問題も生じ得る。これに対して上述した紙葉類識別装置8により、ラインバッファ12へは全画素の画像データを格納し、そこから一部抽出した高解像度の画像データ23や間引き処理した全体の低解像度の画像データ24を画像メモリ17に転送することで、トータルでの転送容量を抑えることができる。   With the above configuration and operation, it is possible to provide the paper sheet identification device 8 that reduces the image transfer amount, does not impose a bus bandwidth, and reduces the memory capacity of the image memory 17. Specifically, as a general image process, extraction of a region of interest and resolution reduction are performed after all image data is temporarily stored in an image memory. Such a method requires a large-capacity image memory, and may cause a problem that the bus bandwidth is insufficient at the time of transfer to the image memory. On the other hand, the above-described paper sheet identification device 8 stores all pixel image data in the line buffer 12, and partially extracts high-resolution image data 23 from the pixel data or the entire low-resolution image subjected to the thinning process. By transferring the data 24 to the image memory 17, the total transfer capacity can be suppressed.

また、1次元のイメージセンサ11で判定可能な紙葉類30の搬送幅方向の媒体長Lに基づいて高解像度の画像データ23を転送する領域を決定しているため、紙葉類30の全画像データを取得せずとも一部抽出した高解像度の画像データ23の転送を実現することができる。このため紙葉類30の全体の画像データを扱うよりも非常に少ない情報で画像処理を実行できる。   Further, since the area to which the high-resolution image data 23 is transferred is determined based on the medium length L in the conveyance width direction of the paper sheet 30 that can be determined by the one-dimensional image sensor 11, Transfer of high-resolution image data 23 extracted in part can be realized without acquiring image data. For this reason, image processing can be executed with much less information than when the entire image data of the paper sheet 30 is handled.

また、ラインバッファ12を複数設けたため、搬送方向に画像データを低解像度化してから画像メモリ17へ転送することができる。この実施例であれば、4つのラインバッファ12を設けたため、搬送方向に4画素分の画像データを1画素に低解像度化して画像メモリ17へ転送することができる。   Since a plurality of line buffers 12 are provided, the image data can be transferred to the image memory 17 after the resolution of the image data is reduced in the transport direction. In this embodiment, since four line buffers 12 are provided, the image data for four pixels in the transport direction can be reduced to one pixel and transferred to the image memory 17.

また、紙葉類30の端部/中間部の判定(先端部か後端部と中間部の判定)は、イメージセンサ11で順番に取得する媒体長Lの差分が予め定めたスレッシュ値以下か否かによって行うため、媒体長Lの異なる複数種類の紙葉類に対しても端部/中間部の判定を行うことができる。   Whether the edge / intermediate portion of the paper sheet 30 is determined (determination between the leading edge portion, the trailing edge portion, and the intermediate portion) is the difference between the medium lengths L acquired in order by the image sensor 11 is equal to or less than a predetermined threshold value. Therefore, the edge / intermediate portion can be determined for a plurality of types of paper sheets having different medium lengths L.

また、紙葉類30の先端部と後端部の各領域A0,A1は全て高解像度の画像データ23を転送する構成としたため、スキューの程度が強くて記番号が領域A0,A1にかかっていても、この記番号を高解像度の画像データ23で識別することができる。   Further, since the areas A0 and A1 at the front end and the rear end of the paper sheet 30 are all configured to transfer the high-resolution image data 23, the degree of skew is strong and the serial numbers are assigned to the areas A0 and A1. However, this serial number can be identified by the high-resolution image data 23.

また、中間部の一部抽出した高解像度の画像データ23を転送する際、その抽出した画像データの搬送幅方向の開始位置と長さも合わせて転送するため、CPU14は、紙葉類30のどの領域の画像データであるかを再現することができる。これにより、適切な紙葉類30の識別を容易に行える。   Further, when transferring the high-resolution image data 23 partially extracted from the intermediate part, the CPU 14 transfers the extracted image data along with the start position and the length in the transport width direction. It is possible to reproduce whether the image data of the area. Thereby, it is possible to easily identify an appropriate paper sheet 30.

また、低解像度化や領域の抽出を行わなかった場合の転送量を1とすると、上述した実施例では、低解像度転送分では元の1/16であり、高解像度転送分はおおよそ元の5/8程度である(ただし記番号領域としてどれだけ見込むかによる)。従って、低解像度転送分と高解像度転送分を合わせて約11/16に画像転送量を抑えられる。   If the transfer amount when the resolution is not reduced and the area is not extracted is 1, in the above-described embodiment, the low resolution transfer portion is 1/16 of the original, and the high resolution transfer portion is approximately the original 5 / 8 or so (however, it depends on how much the serial number area is expected). Therefore, the image transfer amount can be suppressed to about 11/16 in total for the low resolution transfer and the high resolution transfer.

この発明は、上述の実施形態の構成のみに限定されるものではなく、多くの実施の形態を得ることができる。   The present invention is not limited only to the configuration of the above-described embodiment, and many embodiments can be obtained.

この発明は、紙幣、小切手、有価証券、商品券といった紙葉類の識別に用いることができる。   The present invention can be used to identify paper sheets such as banknotes, checks, securities, and gift certificates.

8…紙葉類識別装置、11,11A,11B…イメージセンサ、12…ラインバッファ、23…高解像度の画像データ、24…低解像度の画像データ、30…紙葉類、A0,A1,B,B0,B1…領域 8 ... Paper sheet identification device, 11, 11A, 11B ... Image sensor, 12 ... Line buffer, 23 ... High resolution image data, 24 ... Low resolution image data, 30 ... Paper sheets, A0, A1, B, B0, B1 ... area

Claims (7)

紙葉類の画像を撮像する一次元の撮像手段と、
前記撮像手段で撮像した画像を一時的に格納しておくラインバッファと、
前記ラインバッファの画像データに基づいて低解像度の画像データを転送する低解像度転送手段と、
前記ラインバッファの画像データに基づいて前記紙葉類を撮像した画像のうち高解像度の画像データを転送する高解像度領域を定める高解像度領域決定手段と、
前記ラインバッファの画像データにおける前記高解像度領域について高解像度の画像データを転送する高解像度転送手段とを備えた
紙葉類識別装置。
One-dimensional imaging means for capturing an image of a paper sheet;
A line buffer for temporarily storing an image captured by the imaging means;
Low resolution transfer means for transferring low resolution image data based on the image data of the line buffer;
High-resolution area determination means for determining a high-resolution area for transferring high-resolution image data among images obtained by imaging the paper sheets based on the image data of the line buffer;
A paper sheet identification apparatus comprising: a high-resolution transfer unit configured to transfer high-resolution image data for the high-resolution area in the image data of the line buffer.
前記高解像度領域決定手段は、
搬送される紙葉類を撮像した画像データを、搬送端部と中間部とに分割し、各部別に前記高解像度領域を決定する構成である
請求項1記載の紙葉類識別装置。
The high resolution region determining means includes
2. The paper sheet identification apparatus according to claim 1, wherein image data obtained by imaging a paper sheet to be conveyed is divided into a conveyance end portion and an intermediate portion, and the high resolution area is determined for each portion.
前記高解像度領域決定手段は、
前記搬送端部については、それぞれ高解像度領域に設定するか否かのいずれかに決定し、
前記中間部については、予め定めた所定条件に従う一部の領域を高解像度領域に決定する構成である
請求項2記載の紙葉類識別装置。
The high resolution region determining means includes
For the transport end, determine whether to set each high resolution area,
The paper sheet identification apparatus according to claim 2, wherein the intermediate part is configured to determine a part of the area according to a predetermined condition as a high resolution area.
前記高解像度領域決定手段は、
搬送幅方向の紙葉類幅が所定基準を満さなければ搬送端部とし、
該所定基準を満たしている間を前記中間部とする構成である
請求項2または3記載の紙葉類識別装置。
The high resolution region determining means includes
If the paper width in the transport width direction does not meet the predetermined standard,
The paper sheet identification apparatus according to claim 2 or 3, wherein the intermediate portion is set while the predetermined standard is satisfied.
前記高解像度転送手段は、前記高解像度の画像データと共に該画像データの位置情報と長さ情報も合わせて転送する構成である
請求項1から4のいずれか1つに記載の紙葉類識別装置。
5. The paper sheet identification apparatus according to claim 1, wherein the high-resolution transfer unit is configured to transfer the position information and length information of the image data together with the high-resolution image data. .
一次元の撮像手段により紙葉類の画像を撮像する撮像ステップと、
前記撮像手段で撮像した画像をラインバッファに一時的に格納しておく一次記憶ステップと、
前記ラインバッファの画像データに基づいて低解像度の画像データを転送する低解像度転送ステップと、
前記ラインバッファの画像データに基づいて前記紙葉類を撮像した画像のう高解像度の画像データを転送する高解像度領域を定める高解像度領域決定ステップと、
前記ラインバッファの画像データにおける前記高解像度領域について高解像度の画像データを転送する高解像度転送ステップとを備えた
紙葉類識別方法。
An imaging step of capturing an image of a paper sheet by a one-dimensional imaging means;
A primary storage step of temporarily storing an image captured by the imaging means in a line buffer;
A low-resolution transfer step of transferring low-resolution image data based on the image data of the line buffer;
High resolution region determination step of determining a high-resolution area to transfer high resolution image data of the Chi sac image taken the paper sheet based on the image data of the line buffer,
A paper sheet identification method comprising: a high resolution transfer step of transferring high resolution image data for the high resolution area in the image data of the line buffer.
コンピュータを、
紙葉類の画像を撮像する一次元の撮像手段と、
前記撮像手段で撮像した画像を一時的に格納しておくラインバッファと、
前記ラインバッファの画像データに基づいて低解像度の画像データを転送する低解像度転送手段と、
前記ラインバッファの画像データに基づいて前記紙葉類を撮像した画像のう高解像度の画像データを転送する高解像度領域を定める高解像度領域決定手段と、
前記ラインバッファの画像データにおける前記高解像度領域について高解像度の画像データを転送する高解像度転送手段として機能させる
紙葉類識別プログラム。
Computer
One-dimensional imaging means for capturing an image of a paper sheet;
A line buffer for temporarily storing an image captured by the imaging means;
Low resolution transfer means for transferring low resolution image data based on the image data of the line buffer;
And a high-resolution area determining means for determining a high-resolution area to transfer high resolution image data of the Chi sac image taken the paper sheet based on the image data of the line buffer,
A paper sheet identification program that functions as a high-resolution transfer unit that transfers high-resolution image data for the high-resolution area in the image data of the line buffer.
JP2010087458A 2010-04-06 2010-04-06 Paper sheet identification device, paper sheet identification method, and paper sheet identification program Expired - Fee Related JP5377397B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010087458A JP5377397B2 (en) 2010-04-06 2010-04-06 Paper sheet identification device, paper sheet identification method, and paper sheet identification program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010087458A JP5377397B2 (en) 2010-04-06 2010-04-06 Paper sheet identification device, paper sheet identification method, and paper sheet identification program

Publications (2)

Publication Number Publication Date
JP2011221622A JP2011221622A (en) 2011-11-04
JP5377397B2 true JP5377397B2 (en) 2013-12-25

Family

ID=45038568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010087458A Expired - Fee Related JP5377397B2 (en) 2010-04-06 2010-04-06 Paper sheet identification device, paper sheet identification method, and paper sheet identification program

Country Status (1)

Country Link
JP (1) JP5377397B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6175255B2 (en) * 2013-03-15 2017-08-02 グローリー株式会社 Valuable medium processing apparatus, valuable medium processing system, and valuable medium processing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3667905B2 (en) * 1996-11-22 2005-07-06 グローリー工業株式会社 Paper sheet serial number recognition apparatus and method
JPH10198837A (en) * 1996-12-28 1998-07-31 Musashi Eng Co Ltd Paper sheet discriminating device
JPH11110545A (en) * 1997-09-29 1999-04-23 Ricoh Co Ltd Image recognition device
JP2003272018A (en) * 2002-03-18 2003-09-26 Toshiba Corp Securities processing device
JP5093877B2 (en) * 2006-09-29 2012-12-12 株式会社ユニバーサルエンターテインメント Paper sheet identification device

Also Published As

Publication number Publication date
JP2011221622A (en) 2011-11-04

Similar Documents

Publication Publication Date Title
JP5213649B2 (en) Paper sheet processing apparatus and paper sheet processing program
KR101241980B1 (en) Paper money processing device, paper money processing system, paper money information management server, paper money information management program and paper money processing method
JP4102647B2 (en) Banknote transaction equipment
JP4286790B2 (en) Paper sheet identification method and paper sheet identification apparatus
JP5241650B2 (en) Serial number recognition device and paper sheet processing device
JP5683795B2 (en) Paper sheet processing system, paper sheet processing apparatus, and paper sheet processing method
JP2010225013A (en) Serial number recognition device, paper sheet processor, automatic transaction processor, and serial number recognition method
JP2017004154A (en) Paper money processor
JP6342739B2 (en) Paper sheet identification apparatus, paper sheet processing apparatus, and paper sheet identification method
JP2016206839A (en) Medium recognition device and transaction device
JP4450966B2 (en) Paper sheet identification device
US9582713B2 (en) Apparatus and method for recognizing media and financial device
JP6462894B2 (en) Paper sheet handling apparatus and paper sheet determination method
JP5377397B2 (en) Paper sheet identification device, paper sheet identification method, and paper sheet identification program
JP2002092683A (en) Device for discriminating between true and false medium
US8761487B2 (en) Methods of operating an image-based check processing system to detect a double feed condition of checks and an apparatus therefor
WO2010016146A1 (en) Paper notes management system, paper notes management apparatus, method for managing paper notes, and program for managing paper notes
EP1783662A1 (en) Method of processing misoriented document items in an image-based check processing system
EP1857984B1 (en) Methods of processing a check in an image-based check processing system to determine if the check is potentially fraudulent
JP5976477B2 (en) Character reading device and paper sheet processing device
US20090226072A1 (en) Operator methods for a centralized keying and balancing site and a number of remote image-based check processing sites
JP4306027B2 (en) Paper sheet authenticity discrimination device
JP3674301B2 (en) Image processing method for carrier medium
US20240054840A1 (en) Paper sheet processing method and paper sheet processing device
JP7291023B2 (en) Paper sheet handling equipment and paper sheet handling system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130723

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130802

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130827

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130924

R150 Certificate of patent or registration of utility model

Ref document number: 5377397

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees