WO2020202985A1 - 紙葉鑑別装置、白基準データの調整方法、及びプログラム - Google Patents

紙葉鑑別装置、白基準データの調整方法、及びプログラム Download PDF

Info

Publication number
WO2020202985A1
WO2020202985A1 PCT/JP2020/008938 JP2020008938W WO2020202985A1 WO 2020202985 A1 WO2020202985 A1 WO 2020202985A1 JP 2020008938 W JP2020008938 W JP 2020008938W WO 2020202985 A1 WO2020202985 A1 WO 2020202985A1
Authority
WO
WIPO (PCT)
Prior art keywords
white reference
reference data
image data
region
light
Prior art date
Application number
PCT/JP2020/008938
Other languages
English (en)
French (fr)
Inventor
亨 關
健太 湯地
Original Assignee
日本金銭機械株式会社
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
Priority claimed from JP2020025243A external-priority patent/JP6823739B2/ja
Application filed by 日本金銭機械株式会社 filed Critical 日本金銭機械株式会社
Priority to EP20784402.8A priority Critical patent/EP3951699A4/en
Publication of WO2020202985A1 publication Critical patent/WO2020202985A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/06Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency using wave or particle radiation
    • G07D7/12Visible light, infrared or ultraviolet radiation

Definitions

  • the present invention relates to a paper leaf discrimination device, a method for adjusting white reference data, and a program.
  • a paper leaf discrimination device that receives a paper leaf inserted from an insertion slot inside a transport path and performs a discrimination process for authenticity, denomination, etc. of the paper leaf.
  • the paper leaf transported along the transport path is photographed by the image sensor, and image data indicating the paper leaf is generated.
  • the above image data is used for discriminating the authenticity of paper sheets and the like.
  • Patent Document 1 includes an image sensor including a light emitting means for irradiating one surface of a paper leaf in a transport path with detection light and a light receiving means for incident detection light transmitted to the other surface side of the paper leaf.
  • the paper leaf discrimination device to be used is disclosed.
  • a technique for shading correction of an image generated by an image sensor may be adopted.
  • the white reference data used for shading correction is generated by a predetermined method.
  • white reference data for example, the shape of the white reference member
  • white for correcting the image data of pixels located in a predetermined specific region for example, near the side wall of the transport path. It may be difficult to properly generate reference data.
  • a transport means for moving the paper leaf along the transport path, a light emitting means for irradiating one surface of the moving paper leaf with detection light, and a facing other surface of the moving paper leaf.
  • the detection light In addition to receiving the detection light that has passed through the paper leaf, it corresponds to the light receiving means that are arranged along the width direction orthogonal to the moving direction of the paper leaf and the detection light that is incident on the light receiving means.
  • An image data generation means for generating gradation image data
  • a white reference data storage means for storing white reference data obtained by irradiating a white reference member used for shading correction of image data with detection light.
  • Image data of the light receiving means provided that the movement restricting means is located at the widthwise end of the transport path and forms the side wall of the transport path, and the width direction position of the light receiving means is within a predetermined specific region.
  • the white reference data for shading correction is provided with an adjusting means for adjusting to a predetermined value.
  • the image of the paper leaf is appropriately shaded and corrected.
  • FIG. 1A is an external perspective view of the banknote discrimination device H according to the first embodiment. Further, FIG. 1B is a cross-sectional view taken along the line AA in FIG. 1A.
  • the above-mentioned bill discrimination device H includes a control device including a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a flash memory, and the like.
  • the banknote discriminating device H is configured to include the lower unit 1 and the upper unit 2, and is formed in a transport path 4 formed between the upper surface of the lower unit 1 and the lower surface of the upper unit 2.
  • a paper sheet for example, a banknote
  • the bill inserted into the insertion slot 3a moves in the transport path 4 in the direction of movement indicated by the arrow in FIG. 1 (b).
  • the banknote discrimination device H is provided with a transfer device 5.
  • the transport device 5 includes a plurality of lower transport members 5a composed of a transport drum (roller), a transport belt, etc. arranged on the lower side of the transport path 4, and each lower transport member 5a arranged on the upper side of the transport path 4. It is configured to include an upper transport member 5b composed of a transport drum or the like arranged so as to face each other.
  • the lower transport member 5a is a transport drum, a transport belt, or the like that is rotationally driven by a motor while being in contact with the lower surface of a bill on its outer peripheral surface.
  • the upper transport member 5b is brought around to the lower transport member 5a via the bill while being in contact with the upper surface of the bill on its outer peripheral surface.
  • the bill inserted into the insertion slot 3a is arranged between the lower transport member 5a and the upper transport member 5b and is niped on both sides, and moves at a constant speed in the transport path 4 as the lower transport member 5a rotates.
  • the transport device 5 for transporting banknotes is not limited to the above example.
  • the banknote discrimination device H includes sensors 6 (6a, 6b, 6c).
  • the control device of the bill discrimination device H discriminates the authenticity and the like of the bill inserted into the insertion slot 3a according to the information acquired from the sensor 6.
  • the sensor 6 includes two image sensors 6 (6a, 6b) and one magnetic sensor 6c.
  • the banknotes may be identified by a sensor other than the above sensors.
  • the first image sensor 6a is a CIS (Contact Image Sensor).
  • the second image sensor 6b is a CIS like the first image sensor 6a.
  • Each of the above image sensors has a light emitting unit (for example, a light emitting element Ga described later) that irradiates a bill in the transport path 4 with detection light, and a light receiving unit (for example, a pixel Gb described later) on which the detection light is incident.
  • the light emitting unit of the image sensor includes two types of light sources, a reflection light source and a transmission light source. Each light source irradiates a plurality of types of detection light having different wavelengths.
  • the detection light emitted from the reflected light source of the first image sensor 6a is reflected on one side of the banknote in the transport path 4 and is incident on the light receiving portion of the first image sensor 6a. Further, the detection light emitted from the reflected light source of the second image sensor 6b is reflected by the other surface of the banknote in the transport path 4 and is incident on the light receiving portion of the second image sensor 6b.
  • the detection light emitted from the transmitted light source of the first image sensor 6a is transmitted from one side to the other side of the bill in the transport path 4 and is incident on the light receiving portion of the second image sensor 6b. Further, the detection light emitted from the transmitted light source of the second image sensor 6b is transmitted from the other side to the one side of the bill in the transport path 4 and is incident on the light receiving portion of the first image sensor 6a.
  • the light receiving portion of the image sensor (6a, 6b) is composed of a plurality of pixels. Further, a detection signal corresponding to the detection light (transmitted light, reflected light) incident on the above pixels is input to the above-mentioned control device.
  • the CPU of the control device executes a program stored in the ROM to generate image data indicating a banknote based on the detection signal.
  • a black correction process that removes the dark current component is executed. Further, as will be described in detail later, shading correction is executed on the image data after the black correction processing is executed.
  • Shading correction is a method of reducing uneven brightness contained in image data. For example, the gradation of each pixel of the corresponding image data is divided by the gradation of each pixel of the white reference data to obtain the image data. This is a method of correcting the gradation of each pixel.
  • the white reference data used for shading correction is generated, for example, in the process of manufacturing the banknote discrimination device H, and is stored in the flash memory of the control device.
  • the magnetic sensor 6c detects iron contained in the ink on the printing surface of the banknote.
  • the CPU discriminates banknotes based on the detection signal from the sensor 6 described above. For example, when it is determined that the banknote is not a legitimate banknote, the banknote is ejected from the insertion port 3a by the transport device 5. On the other hand, if it is determined that the banknote is a legitimate banknote, the banknote moves to the intake port 3b.
  • the banknote discrimination device H is attached to, for example, the paper sheet processing device described in JP-A-2009-295125. The banknotes that have moved to the intake port 3b of the banknote discrimination device H are then stored in the storage unit of the paper sheet processing device.
  • FIG. 2A is an exploded perspective view of the banknote discrimination device H.
  • 2 (b) is a cross-sectional view taken along the line BB in FIG. 1 (a) described above.
  • the banknote discrimination device H in addition to the above-mentioned lower unit 1, upper unit 2, first image sensor 6a and second image sensor 6b, the lower cover 7, the upper tray 8, and the white for reflection Includes reference piece 9 (9a, 9b).
  • FIG. 2B among the configurations of the banknote discrimination device H, other than the first image sensor 6a, the second image sensor 6b, the lower cover 7, the upper tray 8, and the white reference piece 9 (9a, 9b) for reflection. Is omitted.
  • the upper tray 8 is formed in a substantially box shape having a bottomed recess 8a on the upper surface, and as shown in FIG. 2B, the inside of the recess 8a of the upper tray 8 is formed.
  • the first image sensor 6a is housed in.
  • the lower surface 8b of the upper tray 8 forms the upper surface (ceiling surface) of the transport path 4.
  • the upper tray 8 is made of a light-transmitting material, for example, a transparent resin.
  • FIG. 2B shows a plurality of light emitting elements Ga that are transmission light sources of the first image sensor 6a. Note that FIG. 2B shows an excerpt of a part of all the light emitting elements Ga.
  • a plurality of the above light emitting elements Ga are provided along the X-axis direction (width direction) orthogonal to the Y-axis direction when the direction in which the bills in the transport path 4 move is the Y-axis direction (conveyance direction). Arranged so as to extend.
  • 720 light emitting elements Ga are arranged in the X-axis direction.
  • the first image sensor 6a is housed in the recess 8a of the upper tray 8 so that the light emitting element Ga is located on the lower surface 8b side described above.
  • the upper tray 8 is light transmissive. Therefore, the detection light emitted from the light emitting element Ga can pass through the upper tray 8 and enter the transport path 4.
  • the second image sensor 6b of the present embodiment includes a plurality of pixels Gb on which the detection light emitted from the first image sensor 6a is incident.
  • the second image sensor 6b is provided with the same number (720 pixels) of pixels Gb as the light emitting elements Ga of the first image sensor 6a.
  • the pixels Gb are arranged in the X-axis direction in the same manner as the light emitting element Ga, and one light emitting element Ga and one pixel Gb face each other so that the optical axes L (see FIG. 2B) coincide with each other. To do.
  • the lower cover 7 has a right side wall surface 7a, a left side wall surface 7b, a recess 7c formed by notching the transport direction side edge of the lower cover, and a recess 7c penetrating in the vertical direction.
  • An upper surface 7d is provided at a location avoiding the location 7c.
  • the lower cover 7 is provided so as to cover the upper surface (pixel Gb side) of the second image sensor 6b. Further, the upper surface 7d of the lower cover 7 constitutes the bottom surface of the transport path 4.
  • the height (distance h shown in FIG. 2B) from the bottom surface (lower cover 7) of the transport path 4 to the ceiling surface (upper tray 8) in the present embodiment is about 2 mm.
  • the lower transport member 5a such as the transport belt of the transport device 5 projects to the transport path 4 side via the recess 7c.
  • the banknotes in the transport path 4 move in the transport direction as the transport belt rotates.
  • the lower cover 7 is formed of a light-transmitting material such as a transparent resin, similarly to the upper tray 8 described above. Therefore, the detection light emitted from the light emitting element Ga of the first image sensor 6a and transmitted through the banknote of the transport path 4 can pass through the lower cover 7 (upper surface 7d) and enter the pixels Gb of the second image sensor 6b. Is.
  • the right side wall surface 7a and the left side wall surface 7b of the lower cover 7 form a side wall of the transport path 4.
  • the right side wall surface 7a forms a side wall on the right side when viewed from a bill moving in the transport path 4.
  • the left side wall surface 7b forms a side wall on the left side when viewed from the banknotes moving in the transport path 4.
  • the region from the right side wall surface 7a to the left side wall surface 7b in the region on the X axis (main scanning axis) is referred to as “region R”.
  • the above area R is an area in which an image for discriminating banknotes is taken.
  • the length of the region R (distance from the right side wall surface 7a to the left side wall surface 7b) is about 4 mm longer than the width of the bill moving in the transport path 4 in the X-axis direction.
  • the width of the transport path 4 is shorter than, for example, a configuration in which the length of the region R is 4 mm or more longer than the width of the bill. Therefore, according to the present embodiment, there is an advantage that the banknote discrimination device H can be easily miniaturized.
  • the banknote discrimination device H of the present embodiment can correct the shading of the image. Specifically, the banknote discriminating device H can perform both shading correction of an image obtained by a reflection light source and shading correction of an image obtained by a transmission light source.
  • the banknote discrimination device H generates white reference data used for shading correction of the image obtained by the reflection light source by using the reflection light source and the light receiving portion outside the above-mentioned region R.
  • the white reference data used for shading correction of the image obtained by the transmission light source (light emitting element Ga) is generated by using the transmission light source and the light receiving unit (pixel Gb) inside the above-mentioned region R.
  • the banknote discrimination device H includes reflection white reference pieces (9a, 9b) for generating white reference data used for shading correction of an image obtained by a reflection light source.
  • the above white reference piece 9 for reflection is provided with two white reflectors T.
  • the white reference piece 9 for reflection is provided so that the reflector T is located in the region r outside the region R.
  • the tip of each reflector T comes into contact with the lower cover 7.
  • the pixels Gb are arranged in the entire area R and the area r.
  • One of the two reflectors T is irradiated with the light emitted from the reflection light source located in the region r of the reflection light sources of the first image sensor 6a. Further, the light emitted from the above-mentioned reflective light source and reflected by the reflector T is incident on the light receiving element (pixel) for the reflected light of the first image sensor 6a. Similarly, the other reflector T of the two reflectors T is irradiated with the light emitted from the reflection light source located in the region r of the reflection light sources of the second image sensor 6b.
  • the light emitted from the above-mentioned reflective light source and reflected by the reflector T is incident on the light receiving element (pixel) for the reflected light of the second image sensor 6b.
  • the CPU of the control device generates white reference data for correcting the image obtained by the reflecting light source according to the gradation of the reflected light from the reflecting plate T incident on the light receiving element.
  • the white reference data of the image obtained by the reflection light source is generated by using the reflection white reference piece 9 (reflector T).
  • the white reference data of the image obtained by the transmission light source (light emitting element Ga) is generated by using the white reference member 10 (see FIG. 3) described later.
  • the timing for generating the white reference data of the image obtained by the reflection light source can be appropriately set.
  • the above white reference data may be generated immediately after the bill is inserted into the insertion slot 3a (before the bill is detected by the image sensor).
  • FIG. 3A is a perspective view of the white reference member 10 described above.
  • the white reference data is generated by using the white reference member 10 in the manufacturing process of the banknote discrimination device H.
  • the white reference data may be generated at another opportunity.
  • the white reference member 10 is arranged on the transport path 4 (upper surface 7d of the lower cover 7) when generating white reference data (see FIG. 3B described later). Further, the white reference member 10 is removed by the operator after the white reference data is generated. That is, when the banknote discrimination device H is shipped as a finished product, the white reference member 10 is not arranged in the transport path 4.
  • the white reference member 10 includes a white reference sheet 10a and a rectangular annular guard member 10b that holds the outer peripheral edge of the white reference sheet 10a.
  • the white reference sheet 10a When the white reference sheet 10a is irradiated with the detection light of the light emitting element Ga, the white reference sheet 10a transmits the same light (type, intensity) as the white portion of the banknote.
  • the white reference sheet 10a described above is formed, for example, with substantially the same thickness as a banknote.
  • the guard member 10b is a substantially plate-shaped annular member (frame body) having a substantially rectangular outer edge, and is provided with a penetrating opening K as shown in FIG. 3A.
  • the white reference sheet 10a is attached (attached) to the guard member 10b so as to close the opening K.
  • the guard member 10b is made of a material having higher strength and a higher specific gravity (heavy) than the white reference sheet 10a.
  • the guard member 10b is formed of an alloy such as stainless steel.
  • the white reference sheet 10a is compared with the white reference member 10 composed of only the white reference sheet 10a.
  • the white reference member 10 (white reference sheet 10a) is displaced due to the influence of wind or the like is suppressed.
  • FIG. 3B is a diagram for explaining the white reference member 10 mounted on the transport path 4.
  • the worker When generating the white reference data, the worker temporarily arranges the white reference member 10 in the transport path 4. Specifically, the white reference member 10 is arranged between the first image sensor 6a and the second image sensor 6b at a position where the detection light emitted by the light emitting element Ga of the first image sensor 6a is irradiated. To.
  • the length of the long side of the white reference member 10 is close to (substantially equal to) the length of the region R.
  • the short side of the white reference member 10 (guard member 10b) is located (substantially abutted) in the vicinity of the side walls (7a, 7b) of the transport path 4.
  • the configuration of the white reference member 10 is not limited to the above example.
  • the detection light is emitted from the light emitting element Ga in a state where the white reference member 10 is placed in the region R of the transport path 4.
  • the detection light irradiated to the white reference sheet 10a of the white reference member 10 passes through the white reference sheet 10a and is incident on the pixels Gb.
  • Appropriate white reference data is generated from the detection light incident on the above pixels Gb.
  • the guard member 10b has a lower light transmittance than the white portion (white reference sheet 10a) of the banknote.
  • the guard member 10b is made of metal, the detection light is not transmitted. Therefore, when the detection light is irradiated from the light emitting element Ga of the first image sensor 6a with the white reference member 10 installed in the region R, the detection light emitted to the guard member 10b (both ends 10b in the longitudinal direction) is irradiated. Is not transmitted to the second image sensor 6b side, so that the light is not received by the pixel Gb.
  • the white reference data for shading correction of the image data generated by the pixel Gb is not properly generated (see FIG. 5B described later).
  • the white reference data is generated using the white reference member 10 of the present embodiment
  • the image of the pixel Gb facing the both ends 10b in the longitudinal direction of the guard member 10b is corrected.
  • White reference data is not generated properly. That is, the white reference data of the pixel Gb located near the side wall of the transport path 4 is not properly generated. If the white reference data of the pixel Gb located near the side wall of the transport path 4 is not appropriately generated, for example, as shown in FIG. 3C, a problem occurs when the bill B moves near the side wall of the transport path 4. ..
  • the bill discrimination device H preferably has a configuration capable of determining whether or not the stolen ink is attached to the inserted bill.
  • the stolen ink often adheres to a portion near the outer edge of the banknote in the width direction. Therefore, if the shading correction of the image taken in the vicinity of the side wall of the transport path 4 is not properly performed, it may not be possible to accurately determine whether or not the stolen ink is attached to the banknote.
  • the banknote discrimination device H of the present embodiment has a configuration in which the image near the side wall of the transport path 4 is appropriately shaded and corrected (white reference data generation unit 107 and the like shown in FIG. 4 described later). Equipped.
  • the above-mentioned banknote discrimination device H has an advantage that the stolen ink adhering to the vicinity of the outer edge of the banknote can be appropriately detected while the width of the transport path 4 is relatively short.
  • the banknote discrimination device H of the present embodiment adjusts the white reference data for correcting the image of the pixel Gb facing the guard member 10b after generating the white reference data using the white reference member 10.
  • Adopted a possible configuration According to the above configuration, even when the bill B moves near the side wall of the transport path 4, the image of the pixel Gb near the side wall of the transport path 4 is appropriately shaded and corrected, so that the image is clear. The bill B can be identified.
  • a region where both ends 10b of the guard member 10b of the white reference member 10 in the longitudinal direction can be placed is set in the region R.
  • a method is conceivable in which the entire region R is provided on the outside (outside of the side wall) so as to face the white reference sheet 10a.
  • the above method may cause a disadvantage that the banknote discrimination device H is difficult to miniaturize. In the present embodiment, the above inconvenience is suppressed.
  • FIG. 4 is a functional block diagram of the banknote discrimination device 100 (H) according to the first embodiment.
  • Various functions are realized by executing the program by the CPU of the banknote discrimination device 100.
  • the banknote discrimination device 100 is communicably connected to an external computer, and the external computer has a part of each function shown in FIG. 4 (for example, the white reference data generation unit 107 described later). May be realized.
  • the combination of the banknote discrimination device 100 and the external computer can correspond to the "paper leaf discrimination device" of the present invention.
  • the banknote discrimination device 100 includes a transport control unit 101, a sensor unit 102, a sensor control unit 103, an image data generation unit 104, a white reference data storage unit 105, a correction unit 106, and a white reference data generation unit 107. Equipped.
  • the transport control unit 101 controls the transport device 5 described above. For example, when a bill is inserted into the insertion slot 3a, the transport control unit 101 outputs a drive signal for rotating the transport unit 5a (convey belt or the like) of the transport device 5 so that the bill moves in the transport direction. ..
  • the sensor unit 102 includes the above-mentioned first image sensor 6a and second image sensor 6b. Further, the sensor control unit 103 controls lighting of the light emitting element Ga of the first image sensor 6a. For example, the sensor control unit 103 lights the light emitting element Ga during the period during which the banknote passes through the above-mentioned area R (hereinafter referred to as “shooting period”). Further, the sensor control unit 103 inputs a signal indicating the gradation of the detection light (detection light transmitted through the banknote) incident on each pixel Gb at each time point of the photographing period to the image data generation unit 104 described later.
  • the sensor control unit 103 of the present embodiment lights the light emitting element Ga during the period for generating white reference data (hereinafter referred to as “generation period”) in the manufacturing process of the banknote discrimination device H. Further, the sensor control unit 103 outputs a signal indicating the gradation of the detection light (detection light transmitted through the white reference sheet 10a) incident on each pixel Gb at each time point in the above generation period to a white reference data generation unit described later. Input to 107.
  • the image data generation unit 104 generates image data showing an image of a bill inserted into the insertion slot 3a. Specifically, at each time point in the photographing period in which the banknote passes through the above-mentioned area R, a signal indicating the gradation of the detection light (detection light transmitted through the banknote) incident on each pixel Gb is sent to the image data generation unit 104. Entered. The image data generation unit 104 generates image data indicating the banknote from the above signals.
  • the white reference data storage unit 105 stores the white reference data used for shading correction of the image data generated by the image data generation unit 104.
  • the above white reference data is generated by the white reference data generation unit 107 described later.
  • the correction unit 106 uses the white reference data described above to perform shading correction of the image data generated by the image data generation unit 104.
  • black correction processing of image data is executed prior to shading correction.
  • the banknote discrimination device 100 stores the dark current component acquired from the pixel Gb during the period when the light emitting element Ga of the image sensor (6a, 6b) is turned off. Further, when the image data is generated, the banknote discrimination device 100 subtracts the above-mentioned dark current component from the image data.
  • the white reference data generation unit 107 is configured to include the adjustment position determination unit 108 and the adjustment unit 109, and generates white reference data stored in the white reference data storage unit 105. As described above, the white reference data generation unit 107 receives the detection light (detection light transmitted through the white reference sheet 10a) incident on each pixel Gb during the generation period in which the white reference data is generated in the manufacturing process of the bill discrimination apparatus 100. ) Is input from the sensor unit 102 described above. The white reference data generation unit 107 generates pre-adjustment white reference data (see FIG. 5B described later) from the above signals.
  • the pre-adjustment white reference data is data that can specify the gradation of the detected light incident during the generation period for each pixel Gb.
  • the adjustment position determination unit 108 of the white reference data generation unit 107 determines the pixel Gb for adjusting the pre-adjustment white reference data from the pixels Gb arranged in the scanning axis direction. As will be described in detail later, the adjustment position determination unit 108 can determine the pixel Gb facing the guard member 10b of the white reference member 10.
  • the adjustment unit 109 of the white reference data generation unit 107 adjusts the pre-adjustment white reference data of the pixel Gb determined by the adjustment position determination unit 108 to a predetermined value (“average gradation Iave” described later).
  • the white reference data generation unit 107 stores the white reference data adjusted by the adjustment unit 109 in the white reference data storage unit 105.
  • FIG. 5A is a sectional view taken along line BB shown in FIG. 1A, similar to FIG. 2B described above.
  • the first image sensor 6a, the second image sensor 6b, the lower cover 7, and the upper tray 8 are excerpted from each configuration of the banknote discrimination device 100.
  • FIG. 5A shows an optical path of the detection light emitted from the light emitting element Ga by a broken line arrow.
  • the white reference member 10 (white reference sheet 10a, guard member 10b) is arranged in the region R of the transport path 4. As described above, when the white reference member 10 is placed on the transport path 4, both ends 10b of the guard member 10b of the white reference member 10 in the longitudinal direction are located near the side walls (7a, 7b) of the transport path 4. ..
  • the detection light emitted to both ends 10b in the longitudinal direction of the white reference sheet 10a is the white reference sheet 10a. Is transmitted to the second image sensor 6b (pixel Gb).
  • the detection light emitted to both ends 10b in the longitudinal direction of the guard member 10b is not transmitted to the second image sensor 6b side. Therefore, the detection light emitted to both ends 10b in the longitudinal direction of the guard member 10b does not reach the second image sensor 6b.
  • FIG. 5B is a diagram for explaining the pre-adjustment white reference data.
  • FIG. 5B shows the gradation I (brightness) of the detection light (transmitted light) incident on the second image sensor 6b at each position on the X-axis of the area R (the area between the side walls of the transport path 4). ) Is shown.
  • the position on the X-axis of the right side wall surface 7a (right end of the region R) of the transport path 4 is described as "position Pea”.
  • position on the X-axis of the left side wall surface 7b (left end of the region R) of the transport path 4 is described as "position Peb”.
  • region Rx the region on the X-axis where both ends 10b in the longitudinal direction of the guard member 10b located near the right wall surface 7a and the second image sensor 6b face each other.
  • region Ry the region on the X-axis where the guard member 10b located in the vicinity of the left wall surface 7b and the second image sensor 6b face each other.
  • the guard member 10b comes into contact with the right side wall surface 7a and the left side wall surface 7b.
  • the coordinates of the right end of the region Rx are the position Pea (common to the right wall surface 7a).
  • the coordinates of the left end of the region Ry are the position Peb (common with the left wall surface 7b).
  • the coordinates of the left end of the region Rx are the position Px
  • the coordinates of the left end of the region Ry are the position Py.
  • the white reference data is preferably generated by placing the white reference sheet 10a on the entire area of the region R (including the region Rx and the region Ry) and irradiating the white reference sheet 10a with detection light. ..
  • FIG. 5C shows the white reference data generated by placing the white reference sheet 10a over the entire area R.
  • the gradation I in the region Rx and region Ry where the guard member 10b is located assumes that the white reference sheet 10a is located in the region Rx and region Ry. It is different from the gradation I in the case of.
  • the gradation I in the adjustment region Ra including the region Rx in the region R can be adjusted. Further, the gradation I in the adjustment region Rb including the region Ry in the region R can be adjusted.
  • the region other than the adjustment region Ra and the adjustment region Rb in the region R may be described as the region Rc.
  • the white reference sheet 10a is located in the entire area of the above region Rc (the guard member 10b is not located).
  • FIG. 6A shows the pre-adjustment white reference data as in FIG. 5B described above. However, in the specific example of FIG. 6A, a part of the pre-adjustment white reference data including the above-mentioned region Rx (near the side wall) and the adjustment region Ra is shown.
  • the adjustment region Ra is a region including the region Rx in which the guard member 10b is located.
  • the adjustment region Ra is set from the position Pea (right side wall surface 7a) on the X-axis to the search start position Psa.
  • the search start position Psa described above is located closer to the region Rc (white reference sheet 10a) than the left end (position Px) of the region Rx (guard member 10b).
  • the position from the position Peb (left wall surface 7b) on the X-axis to the search start position Psb is set as the adjustment region Rb.
  • the search start position Psb described above is located closer to the region Rc (white reference sheet 10a) than the left end (position Py) of the region Ry.
  • the adjustment area Ra to which the pre-adjustment white reference data is adjusted is defined by the search start position Psa.
  • the search start position Psa is determined in advance in consideration of, for example, the thickness of both ends 10b in the longitudinal direction in the X-axis direction.
  • the adjustment area Rb to which the pre-adjustment white reference data is adjusted is defined by the search start position Psb.
  • the above search start position Psb is determined in advance in consideration of, for example, the thickness of the guard member 10b in the X-axis direction.
  • the flash memory of the banknote discriminating device 100 stores the above search start position Psa and search start position Psb.
  • FIG. 6A shows the average gradation Iave.
  • the gradation I of the five pixels Gb) is sampled. Further, the average value of the five gradations I is calculated, and the calculation result is stored as the average gradation Iave.
  • the method of calculating the average gradation Iave is not limited to the above example. For example, the gradation I other than the above five pixels Gb may be sampled, and the average gradation Iave may be calculated from the gradation I.
  • FIG. 6A shows a range (Iave-W ⁇ I ⁇ Iave + W) within the deviation threshold value W from the average gradation Iave.
  • the above range of gradation I may be referred to as "normal range” below.
  • the gradation I of the pixel Gb facing the white reference sheet 10a among the pixels Gb of the adjustment region Ra is in the normal range, and the gradation of the pixel Gb in the region Rx deviates from the normal range.
  • the banknote discrimination device 100 of the present embodiment identifies a position (pixel Gb) on the X-axis where the gradation I deviates from the normal range. Specifically, in the direction of the white arrow (X-axis direction) shown in FIG. 6A, the absolute value of the difference between the gradation I and the average gradation Iave is in order from the gradation I of the search start position Psa. It is determined whether or not (hereinafter referred to as "deviation width") is larger than the deviation threshold value W. In the specific example of FIG. 6A, it is first determined that the deviation width exceeds the deviation threshold value W at the position Px.
  • FIG. 6B is a diagram for explaining a part of the adjusted white reference data.
  • a part of the white reference data near the region Rx is shown.
  • the deviation width exceeds the deviation threshold value W at the position Px, as in the specific example of FIG. 6A described above.
  • the gradation I of the region (region Rx) on the position Pea (right side wall surface 7a) side from the position Px is adjusted to the average gradation Iave.
  • FIG. 6C is a diagram for explaining the entire adjusted white reference data.
  • the deviation width exceeds the deviation threshold value W at the position Px, as in the specific example of FIG. 6B described above.
  • the gradation I of the region on the position Pea side of the position Px is adjusted to the average gradation Iave.
  • the average gradation Iave in which the gradation I of the adjustment region Ra is adjusted will be referred to as “average gradation Iave 1”.
  • the banknote discrimination device 100 adjusts the gradation I of the adjustment area Rb in the same manner as the adjustment area Ra described above.
  • the banknote discriminating device 100 includes a pixel Gb located at the search start position Psb and four pixels Gb (a total of five pixels Gb) arranged continuously from the pixel Gb to the region Rc side. )
  • Gradation I is sampled. Further, the average value of the five gradations I is calculated, and the calculation result is stored as the average gradation Iave2.
  • the average gradation Iave2 may be calculated from the gradation I other than the above five pixels Gb.
  • the banknote discrimination device 100 After that, in the banknote discrimination device 100, the absolute value (deviation width) of the difference between the gradation I of each position (pixel Gb) and the average gradation Iave2 is larger than the deviation threshold value W from the search start position Psb to the position Peb. Judge whether or not. In the specific example of FIG. 6C, it is assumed that the deviation width is first determined to exceed the deviation threshold value W at the position Py. In the above case, the banknote discrimination device 100 adjusts the gradation I from the position Py to the position Peb in the pre-adjustment white reference data to the average gradation Iave2.
  • the banknote discrimination device 100 After adjusting the gradation I of the adjustment area Ra and the adjustment area Rb, the banknote discrimination device 100 stores the white reference data in the white reference data storage unit 105. According to the above white reference data, the image of the banknote taken in the vicinity of the side walls (7a, 7b) of the transport path 4 (adjustment area Ra, adjustment area Rb) can be appropriately shaded and corrected.
  • FIG. 7 is a flowchart of the pre-shipment adjustment process executed by the bill discrimination device 100.
  • the above pre-shipment adjustment process is executed in the manufacturing process (before shipping) of the banknote discrimination device 100.
  • the bill discrimination device 100 adjusts the pre-adjustment white reference data in the pre-shipment adjustment process, and stores the adjusted white reference data in the white reference data storage unit 105.
  • the bill discrimination device 100 has the floor of the pre-adjustment white reference data for both the adjustment region Ra (near the right side wall surface 7a) and the adjustment region Rb (near the left side wall surface 7b) in the region R through which the bills pass.
  • the key I is adjusted.
  • the banknote discrimination device 100 executes the pre-shipment adjustment process in which the gradation I of the adjustment area Ra of the adjustment area Ra and the adjustment area Rb is adjusted, and then the pre-shipment adjustment process in which the gradation I of the adjustment area Rb is adjusted. To execute.
  • FIG. 7 it is assumed that the gradation I of the adjustment region Ra is adjusted in the pre-shipment adjustment process.
  • the banknote discrimination device 100 acquires the gradation I of the five pixels Gb from the pre-adjustment white reference data (S1).
  • the gradation I of the five pixels Gb that is, the pixels Gb arranged in the region Rc of FIG. 6A
  • the detection light transmitted through the white reference sheet 10a is incident on each of the above pixels Gb.
  • the banknote discrimination device 100 After acquiring the gradation I of the five pixels Gb from the pre-adjustment white reference data, the banknote discrimination device 100 calculates the average gradation Iave from the gradation I of the pixel Gb (S2). After that, the banknote discrimination device 100 identifies the target pixel Gb from each pixel Gb (S3). In the first step S3, the pixel Gb located at the search start position Psa described above is specified as the target pixel Gb. Further, in the next step S3, the pixel to the right of the pixel Gb specified in the previous step S3 (one located on the right side wall surface 7a side) is specified as the target pixel Gb.
  • the bill discrimination device 100 calculates the deviation width for the gradation I of the target pixel Gb. Specifically, the banknote discrimination device 100 subtracts the average gradation Iave calculated in step S2 above to the gradation I of the target pixel Gb, and stores the absolute value of the subtraction result as the deviation width of the target pixel Gb. ..
  • the banknote discrimination device 100 After calculating the deviation width for the target pixel Gb, the banknote discrimination device 100 determines whether or not the deviation width is larger than the deviation threshold value W (S5). When it is determined that the deviation width is smaller than the deviation threshold value W (S5: NO), the banknote discrimination device 100 returns the process to step S3 described above. After that, the banknote discrimination device 100 repeatedly executes steps S4 and S5 while changing the target pixel Gb in step S3. In the above configuration, it is repeatedly determined whether or not the deviation width of each pixel Gb is larger than the deviation threshold value W while shifting the target pixels Gb one by one in the side wall direction of the transport path 4.
  • the banknote discrimination device 100 uses the white reference data as the average floor for each pixel from the target image Gb to the side wall of the transport path 4. Adjusted to tune Iave (S6). For example, when adjusting the white reference data of the adjustment region Ra near the right side wall surface 7a, the white reference data of each pixel Gb from the target pixel Gb to the right side wall surface 7a is adjusted to the average gradation Iave. After adjusting the white reference data, the banknote discrimination device H ends the pre-shipment adjustment process.
  • FIG. 8A is a cross-sectional view of the banknote discrimination device H according to the second embodiment.
  • FIG. 8A corresponds to the cross-sectional view taken along the line BB shown in FIG. 1A of the first embodiment described above.
  • the first image sensor 6a, the second image sensor 6b, the lower cover 7, and the upper tray 8 are excerpted from each configuration of the banknote discrimination device 100.
  • the optical path of the detection light emitted from the light emitting element Ga is indicated by a broken line arrow.
  • the upper tray 8 is provided with a guide portion 8L and a guide portion 8R.
  • the guide portion 8R has a substantially plate shape and is erected along the right side wall (7a) of the transport path 4.
  • the lower end of the guide portion 8R is located on the bottom surface side of the transport path 4 from the contact surface (S shown in FIG. 8A) with the lower cover 7 of the upper tray 8.
  • the lower end of the guide portion 8R is in contact with the vicinity of the right end of the bill placed on the bottom surface of the transport path 4, and restricts the movement of the bill in the upper direction (Z-axis direction).
  • the guide portion 8L has a substantially plate shape like the guide portion 8R, and is erected along the left side wall (7b) of the transport path 4. Further, as shown in FIG. 8A, the lower end of the guide portion 8L is located on the bottom surface side of the transport path 4 from the contact surface S with the lower cover 7 in the upper tray 8, and is placed on the bottom surface of the transport path 4. It comes into contact with the vicinity of the left end of the bill and restricts the movement of the bill in the upward direction.
  • the guide unit 8 (R, L) is not provided in inverse proportion.
  • the left end or the right end of the bill may move to the above-mentioned contact surface S (floating occurs).
  • the possibility that the end portion of the bill enters between the upper tray 8 and the lower cover 7, the bill becomes immovable in the transport path 4, and the bill is jammed is not completely eliminated.
  • the guide portions 8 (R, L) of the second embodiment as described above, the floating of the left and right ends of the banknote is suppressed, so that there is an advantage that the above-mentioned inconvenience is suppressed.
  • the guide unit 8 (R, L) of the second embodiment is provided in the area R (see FIG. 5A above) in which an image used for discriminating banknotes is captured.
  • the above configuration has an advantage that the banknote discriminating device H can be easily miniaturized as compared with a configuration in which the guide portions 8 (R, L) are provided outside the region R, for example.
  • the guide portion 8 (R, L) is formed of a light-transmitting member (for example, a transparent resin) like the upper tray 8.
  • the transparent guide portion 8 (R, L) when the transparent guide portion 8 (R, L) is provided in the region R, a new problem may occur in which the detection light is refracted by the guide portion 8 (R, L). That is, the guide unit 8 (R, L) may cause a problem that the optical path of the detection light deviates from the original optical path. Further, when the above problem occurs, there may be a disadvantage that the white reference data used for shading correction of the image data is not appropriately generated.
  • the detection light emitted from the light emitting element Ga located directly above the guide unit 8R should originally be incident on the pixel Gb located directly below the guide unit 8R.
  • a pixel Gb different from the pixel Gb that should originally be incident for example, an adjacent pixel Gb
  • the detection light may be incident on the.
  • the gradation I of the white reference data (white reference data before adjustment) in the pixel Gb to which the detection light should originally be incident is smaller than the original gradation I (when the guide portion 8R is not provided).
  • the gradation I of the white reference data in the other pixel Gb is larger than the original gradation I.
  • FIG. 8B is a diagram for explaining the pre-adjustment white reference data in the second embodiment.
  • FIG. 8B shows the gradation I of the detection light incident on the second image sensor 6b at each position on the X-axis of the region R (the region between the side walls of the transport path 4).
  • the white reference data was generated by irradiating the white reference member 10 (see FIG. 3) with the detection light.
  • the white reference member 10 is not placed in the transport path 4 (region R) when the white reference data is generated.
  • the period after the manufacturing process of the banknote discrimination device H the period during which it operates in the market).
  • White reference data can be generated periodically. For example, white reference data can be generated each time the power of the banknote discrimination device H is turned on.
  • the gradation I of the detection light emitted from the light emitting element Ga is about 1/10 of the case where the white reference paper (for example, the above-mentioned white reference sheet 10a) is transmitted and the case where the white reference paper is not transmitted.
  • the white reference data in which the gradation of each pixel Gb is 1/10 is stored in the white reference data storage unit 105.
  • position on the X-axis of the right side wall surface 7a (right end of the region R) of the transport path 4 is referred to as "position Pea" as in the first embodiment described above. Describe. Further, the position on the X-axis of the left side wall surface 7b (left end of the region R) of the transport path 4 is described as "position Peb”.
  • the pre-correction white reference data of the pixel Gb of the adjustment region Ra near the right side wall of the transport path 4 and the adjustment region Rb near the left side wall is adjusted. .. Specifically, for a pixel Gb in which the absolute value (deviation width) of the difference between the average gradation Iave and the gradation I is larger than the deviation threshold value W, the gradation I of the pixel Gb is adjusted to the average gradation Iave.
  • the deviation width of the pixel Gb at the position Px first becomes larger than the deviation threshold value W.
  • the pre-adjustment white reference data from the position Px to the position Pea is adjusted to the average gradation Iave.
  • the deviation width of the pixel Gb at the position Py first becomes larger than the deviation threshold value W.
  • the pre-adjustment white reference data from the position Py to the position Peb is adjusted to the average gradation Iave.
  • FIG. 8C is a diagram for explaining the adjustment region Ra in the second embodiment.
  • FIG. 8 (c) shows the pre-adjustment white reference data in the same manner as in FIG. 8 (b) described above. However, in the specific example of FIG. 8C, a part of the pre-adjustment white reference data including the adjustment region Ra is shown.
  • the adjustment region Ra is a predetermined region from the position Psa to the position Pea (right side wall), as in the first embodiment described above.
  • the above position Psa is preset in consideration of the shape of the guide portion 8R and the refractive index (range affected by the refraction of the detection light).
  • the adjustment region Rb is a predetermined region from the position Psb to the position Peb (left wall), as in the first embodiment described above.
  • the above positions Psb are preset in consideration of the shape and refractive index of the guide portion 8L.
  • FIG. 8D is a diagram showing white reference data in which the gradation I of the adjustment region Ra is adjusted in the specific example of FIG. 8C described above.
  • the gradation I from the position Px to the position Pea is adjusted to the average gradation Iave.
  • the gradation I of the adjustment region Rb is adjusted by the same method as that of the adjustment region Ra.
  • the banknote discrimination device H multiplies the gradation I of the entire region of the pre-adjustment white reference data in which the gradation I of the adjustment region Ra and the adjustment region Rb is adjusted by 1/10 and stores it as the white reference data.
  • the same effect as that of the above-mentioned first embodiment can be obtained.
  • the position where the guide portion (8R, 8L) is provided can be changed as appropriate.
  • a guide portion may be provided on the upper surface 7d of the lower cover 7.
  • the guide portion is provided near the side wall of the transport path 4, but may be provided near the center of the transport path 4.
  • the area including the guide portion provided near the center is set as the adjustment area, and the white reference data of the pixel Gb located in the adjustment area is adjusted.
  • the white reference member 10 (see FIG. 3A) is actually used in shading correction from the pre-adjustment white reference data obtained in the state of being placed on the region R of the transport path 4.
  • White reference data was determined.
  • the second embodiment before the adjustment (obtained by directly irradiating the pixel Gb with the detection light from the light emitting element Ga) obtained in a state where the white reference member 10 is not placed in the region R of the transport path 4. The white reference data was determined from the white reference data.
  • the pre-adjustment white reference data obtained with the white reference member 10 mounted may be referred to as "first pre-adjustment data”. Further, the pre-adjustment white reference data obtained in a state where the white reference member 10 is not placed may be described as "second pre-adjustment data”. Although the details will be described later, in the third embodiment, the white reference data D (see FIG. 9C described later) is determined using both the first pre-adjustment data and the second pre-adjustment data.
  • the banknote discrimination device 100 of the third embodiment includes a region R (including Rx and Ry) through which the banknotes pass, as in the first embodiment described above.
  • the region Rx of the region R is a region near the right side wall surface 7a.
  • the region Ry in the region R is a region near the left side wall surface 7b.
  • region Rz the region R other than the region Rx and the region Ry.
  • the above region Rz is a region including the center of the region R.
  • the banknote discrimination device 100 of the third embodiment is provided with N pixels G.
  • N pixels G are provided in a row in the order of pixel G1, pixel G2 ... pixel GN from the left side wall surface 7b to the right side wall surface 7a.
  • n pixels G from the pixel G1 to the pixel Gn are provided in the region Ry.
  • N-2n pixels G of pixels G (n + 1) to pixels G (Nn) are provided in the region Rz
  • n pixels G of pixels G (Nn + 1) to pixel GN are provided in the region Rx. It will be provided.
  • the i-th pixel G viewed from the left side wall surface 7b may be described as "pixel Gi" (1 ⁇ i ⁇ N).
  • FIG. 9A is a diagram for explaining the first pre-adjustment data.
  • the first pre-adjustment data is substantially the same as the pre-adjustment white reference data shown in FIG. 5 (b) of the first embodiment described above.
  • the pixels G (n + 1) to the pixels G (Nn) of the region Rz in the region R face the white reference sheet 10a of the white reference member 10. Therefore, the gradation of the data before the first adjustment of each pixel G in the region Rz (hereinafter, may be referred to as “gradation Ia”) can be adopted as the white reference data.
  • the pixels G1 to the pixels Gn of the region Ry face the guard member 10b of the white reference member 10. Therefore, the gradation Ia in the region Ry is not suitable as white reference data.
  • the gradation Ia in the region Rx of the region R is also not suitable as white reference data, like the gradation Ia in the region Ry.
  • FIG. 9B is a diagram for explaining the second pre-adjustment data.
  • the second pre-adjustment data is substantially the same as the pre-adjustment white reference data shown in FIG. 8 (b) of the second embodiment described above.
  • the third embodiment even if the pixel G is irradiated with the detection light stronger than the predetermined gradation (hereinafter, “upper limit gradation Im”), the data before the second adjustment of the pixel G is the upper limit gradation. Become Im.
  • the data before the second adjustment in the area Rz of the area R has the upper limit gradation Im.
  • the detection light is refracted by the guide unit 8 as described above. Therefore, the gradation of the data before the second adjustment of each pixel G in the region Rx and the region Ry (hereinafter, may be referred to as “gradation Ib”) is set to the upper limit gradation Im as shown in FIG. 9B. It may not be.
  • the gradation of the actual detection light is stronger than the upper limit gradation Im
  • the data before the second adjustment in the region Rz is different from the gradation of the actual detection light.
  • the data before the first adjustment in the region Rz shows the gradation of the actual detection light. Therefore, it is desirable that the gradation of each pixel G in the region Rz is corrected by the white reference data obtained from the first pre-adjustment data rather than by the white reference data obtained from the second pre-adjustment data.
  • the first pre-adjustment data in the region Rx and the region Ry is not suitable as white reference data. Therefore, the gradation of each pixel G in the region Rx and the region Ry is corrected by the white reference data obtained from the second pre-adjustment data rather than by the white reference data obtained from the first pre-adjustment data. desirable.
  • the gradation of each pixel G of the area Rx and the area Ry is corrected to the upper limit gradation Im.
  • the gradation of the pixel G that does not face the bill is corrected to be less than the upper limit gradation Im. Therefore, there is an advantage that the outer edge of the bill can be easily detected.
  • the white reference data for correcting the gradation of each pixel G in the region Rz is determined from the data before the first adjustment, and each of the region Rx and the region Ry.
  • the white reference data for correcting the gradation of the pixel G adopts a configuration determined from the data before the second adjustment.
  • FIG. 9C is a conceptual diagram of the white reference data D in the third embodiment.
  • the white reference data D is configured to include N correction values d.
  • Each correction value d corresponds to any of the pixels G.
  • the correction value d corresponding to the pixel Gi is described as “correction value di”.
  • the gradation of the pixel Gi before correction is the measured gradation Ivi (1 ⁇ i ⁇ N)
  • the gradation of the pixel Gi after the shading correction hereinafter referred to as “correction gradation Ici”
  • Ici the gradation of the pixel Gi after the shading correction
  • Each of the above correction values d is a correction value d determined from the first pre-adjustment data (see FIG. 9A) and a correction value d determined from the second pre-adjustment data (see FIG. 9B). And include.
  • the white reference data D pixels the correction value d (first correction value) obtained by irradiating the white reference member 10 with the detection light and the detection light not transmitted through the white reference member 10. It is also said that the composition includes the correction value d (second correction value) obtained by irradiating G (light receiving means).
  • the correction value d1 is determined from the gradation Ia1 of the pixel G1 in the region Ry.
  • the correction value dn is determined from the correction value d2 from each gradation Ia (Ia2 to Ian) of the pixels G2 to the pixel Gn in the region Ry.
  • the correction value d (Nn + 1) is determined from the gradation Ia (Nn + 1) of the pixel G (Nn + 1) in the region Rx.
  • the correction value d corresponding to each pixel G in the region Rz is determined from the data before the first adjustment. Specifically, in the first pre-adjustment data, the correction value d (n + 1) is determined from the gradation Ia (n + 1) of the pixel G (n + 1) in the region Rz. Similarly, in the data before the first adjustment, the correction value d is obtained from each gradation Ia (Ia (n + 2) to Ia (Nn)) of the pixel G (n + 2) to the pixel G (Nn) in the region Rz. The correction value d (Nn) is determined from (n + 2).
  • the pixel G whose correction value d is determined from the first pre-adjustment data and the pixel G whose correction value d is determined from the second pre-adjustment data can be appropriately changed.
  • the correction value of the pixel G in a region wider than the region Rz may be determined from the data before the first adjustment.
  • the paper leaf discrimination device of the present invention is, for example, the following paper leaf discrimination device.
  • the paper leaf discrimination device (100) of the present invention includes a transport means (transport control unit 101) for moving the paper leaf along the transport path (4) and a light emitting means for irradiating one surface of the moving paper leaf with detection light. (Light emitting element Ga) and the detection light that is arranged at a position facing the other surface of the moving paper leaf and has passed through the paper leaf, and has a width orthogonal to the moving direction (Y-axis direction) of the paper leaf.
  • White reference data storage means (white reference data storage unit 105) that stores white reference data obtained by irradiating the generation unit 104) and the white reference member (10) used for shading correction of image data with detection light. ),
  • the movement restricting means (right side wall surface 7a, left side wall surface 7b) located at the widthwise end of the transport path and forming the side wall of the transport path, and the specific region (the width direction position of the light receiving means) is predetermined.
  • Adjustment means (adjustment unit 109) that adjusts the white reference data for shading correction of the image data of the light receiving means to a predetermined value (average gradation Iave) under the condition that it is within the adjustment area Ra and adjustment area Rb). And. According to the above configuration, the image of the paper leaf is appropriately shaded and corrected.
  • the specific region is a region in which the distance in the width direction to the movement regulating means is a predetermined distance (distance from Psa to Pea in FIG. 5 or distance from Psb to Peb) or less. It is characterized by that.
  • a contact means provided between the light emitting means and the light receiving means, which comes into contact with one or the other surface of the paper sheet and is formed of a member which transmits light. The position on the width direction of the contacting means is located in a specific region.

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

紙葉の画像を適切にシェーディング補正する。移動中の紙葉の他面と対向する位置に配置されて紙葉を通過してきた検知光を受光すると共に、紙葉の移動方向と直交する幅方向に沿って複数配置された受光手段と、受光手段に入射した検知光に応じた階調の画像データを生成する画像データ生成手段と、画像データをシェーディング補正するのに用いる白基準部材に検知光を照射することにより得られた白基準データを記憶する白基準データ記憶手段とを具備する。以上の構成において、搬送路の幅方向端部に位置し、当該搬送路の側壁を形成する移動規制手段と、受光手段の幅方向位置が予め定められた特定領域内であること条件に、当該受光手段の画像データをシェーディング補正するための白基準データを、所定値に調整する調整手段を具備する。

Description

紙葉鑑別装置、白基準データの調整方法、及びプログラム
 本発明は、紙葉鑑別装置、白基準データの調整方法、及びプログラムに関する。
 従来から、挿入口から挿入された紙葉を搬送路内部に受け入れて紙葉の真贋、金種等の鑑別処理を実施する紙葉鑑別装置が知られている。以上の紙葉鑑別装置では、搬送路を搬送される紙葉が画像センサで撮影され、当該紙葉を示す画像データが生成される。以上の画像データは、紙葉の真贋の鑑別等に用いられる。
 例えば、特許文献1には、搬送路の紙葉の一面へ検知光を照射する発光手段と、紙葉の他面側へ透過した検知光が入射する受光手段とで構成される画像センサを具備する紙葉鑑別装置が開示される。以上の紙葉鑑別装置では、画像センサにより生成された画像をシェーディング補正する技術が採用される場合がある。
特開2009-295125公報
 シェーディング補正に用いる白基準データは、予め定められた方法で生成される。しかし、白基準データを生成する方法(例えば、白基準部材の形状)によっては、予め定められた特定領域(例えば、搬送路の側壁の近傍)に位置する画素の画像データを補正するための白基準データが適切に生成困難な場合がある。以上の事情を考慮して、本発明は、上述の特定領域に位置する画素の白基準データを調整可能にすることを目的とする。
 以上の課題を解決するために、搬送路に沿って紙葉を移動させる搬送手段と、移動中の紙葉の一面へ検知光を照射する発光手段と、移動中の紙葉の他面と対向する位置に配置されて紙葉を通過してきた検知光を受光すると共に、紙葉の移動方向と直交する幅方向に沿って複数配置された受光手段と、受光手段に入射した検知光に応じた階調の画像データを生成する画像データ生成手段と、画像データをシェーディング補正するのに用いる白基準部材に検知光を照射することにより得られた白基準データを記憶する白基準データ記憶手段と、搬送路の幅方向端部に位置し、当該搬送路の側壁を形成する移動規制手段と、受光手段の幅方向位置が予め定められた特定領域内であること条件に、当該受光手段の画像データをシェーディング補正するための白基準データを、所定値に調整する調整手段と、を具備する。
 本発明によれば、紙葉の画像が適当にシェーディング補正される。
第1実施形態に係る紙幣鑑別装置の外観斜視図および断面図である。 第1実施形態に係る紙幣鑑別装置の分解斜視図および拡大断面図である。 第1実施形態に係る白基準部材を説明するための図である。 第1実施形態に係る紙幣鑑別装置の機能ブロック図である。 第1実施形態に係る調整前白基準データを説明するための図である。 第1実施形態に係る白基準データの調整方法を説明するための図である。 第1実施形態に係る出荷前調整処理のフローチャートである。 第2実施形態に係る白基準データの調整方法を説明するための図である。 第3実施形態に係る白基準データを説明するための図である。
<第1実施形態>
 図1(a)は、第1実施形態に係る紙幣鑑別装置Hの外観斜視図である。また、図1(b)は、図1(a)におけるA-A線の断面図である。以上の紙幣鑑別装置Hは、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)およびフラッシュメモリなどで構成される制御装置を具備する。
 紙幣鑑別装置Hは、図1(a)に示す通り、下部ユニット1および上部ユニット2を含んで構成され、下部ユニット1の上面と上部ユニット2の下面との間に形成される搬送路4に対して、挿入口3aから紙葉(例えば、紙幣)が挿入される。挿入口3aに挿入された紙幣は、図1(b)に矢印で示す移動方向に向けて搬送路4内を移動する。
 図1(b)に示す通り、紙幣鑑別装置Hには、搬送装置5が設けられる。搬送装置5は、搬送路4の下側に配置された搬送ドラム(ローラ)、搬送ベルト等から成る複数の下側搬送部材5a、および搬送路4の上側に配置されて各下側搬送部材5aと夫々対向して配置された搬送ドラム等から成る上側搬送部材5bを含んで構成される。本例に係る下側搬送部材5aは、その外周面にて紙幣下面と接しながらモータにより回転駆動される搬送ドラム、搬送ベルト等である。上側搬送部材5bはその外周面にて紙幣上面と接しながら紙幣を介して下側搬送部材5aに連れ回りする。挿入口3aに挿入された紙幣は、下側搬送部材5aおよび上側搬送部材5bの間に配置されて両面をニップされ、下側搬送部材5aの回転に伴い搬送路4を一定速度で移動する。なお、紙幣を搬送するための搬送装置5は上述の例に限定されない。
 図1(b)に示す通り、紙幣鑑別装置Hは、センサ6(6a、6b、6c)を具備する。紙幣鑑別装置Hの制御装置は、挿入口3aに挿入された紙幣の真贋等をセンサ6から取得された情報に応じて鑑別する。具体的には、センサ6は、2個の画像センサ6(6a、6b)および1個の磁気センサ6cを含んで構成される。ただし、以上のセンサ以外により紙幣が鑑別される構成としてもよい。
 第1画像センサ6aは、CIS(Contact Image Sensor)である。また、第2画像センサ6bは、第1画像センサ6aと同様にCISである。以上の画像センサの各々は、搬送路4の紙幣へ検知光を照射する発光部(例えば、後述の発光素子Ga)、および、当該検知光が入射する受光部(例えば、後述の画素Gb)を含む。また、画像センサの発光部は、反射光源および透過光源の2種類の光源を含む。各光源は、波長が相違する複数種類の検知光を照射する。なお、本発明における「検知光」には、可視光(波長=360~760nm)の他に不可視光(赤外線など)が含まれ得る。
 例えば、第1画像センサ6aの反射光源から照射された検知光は、搬送路4における紙幣の一面で反射し、第1画像センサ6aの受光部へ入射する。また、第2画像センサ6bの反射光源から照射された検知光は、搬送路4における紙幣の他面で反射し、第2画像センサ6bの受光部へ入射する。
 第1画像センサ6aの透過光源から照射された検知光は、搬送路4における紙幣の一面側から他面側へ透過し、第2画像センサ6bの受光部へ入射する。また、第2画像センサ6bの透過光源から照射された検知光は、搬送路4における紙幣の他面側から一面側へ透過し、第1画像センサ6aの受光部へ入射する。
 画像センサ(6a、6b)の受光部は、複数個の画素で構成される。また、以上の画素に入射した検知光(透過光、反射光)に応じた検知信号が、上述の制御装置に入力される。制御装置のCPUは、ROMに記憶されたプログラムを実行することで、検知信号に基づいて紙幣を示す画像データを生成する。
 画像データからは、暗電流成分を除去する黒補正処理が実行される。また、詳細には後述するが、黒補正処理を実行した後に、シェーディング補正が画像データに対して実行される。シェーディング補正とは、画像データが含む輝度むらを低減する方法であり、例えば、白基準データの各画素の階調により、対応する画像データの各画素の階調を除算して、当該画像データの各画素の階調を補正する方法である。シェーディング補正に用いる白基準データは、例えば、紙幣鑑別装置Hが製造される工程において生成され、制御装置のフラッシュメモリに記憶される。
 磁気センサ6cは、紙幣の印刷面のインクに含まれる鉄分を検出する。以上のセンサ6からの検知信号により、CPUは紙幣を鑑別する。例えば、正規な紙幣ではないと判断された場合、搬送装置5により挿入口3aから当該紙幣が排出される。一方、正規な紙幣であると判断された場合、当該紙幣は取込口3bへ移動する。詳細な説明は省略するが、紙幣鑑別装置Hは、例えば特開2009-295125号公報に記載の紙葉処理装置に装着される。紙幣鑑別装置Hの取込口3bへ移動した紙幣は、その後、紙葉処理装置の収容ユニットに収容される。
 図2(a)は、紙幣鑑別装置Hの分解斜視図である。また、図2(b)は、上述の図1(a)におけるB-B線の断面図である。図2(a)に示す通り、紙幣鑑別装置Hは、上述の下部ユニット1、上部ユニット2、第1画像センサ6aおよび第2画像センサ6bに加え、下部カバー7、上部トレイ8、反射用白基準片9(9a、9b)を含む。なお、図2(b)では、紙幣鑑別装置Hの各構成のうち第1画像センサ6a、第2画像センサ6b、下部カバー7、上部トレイ8および反射用白基準片9(9a、9b)以外を省略して示す。
 図2(a)に示す様に、上部トレイ8は上面に有底の凹所8aを有した略箱状に形成され、図2(b)に示す様に、上部トレイ8の凹所8a内には第1画像センサ6aが収納される。さらに、図2(b)に示す様に、上部トレイ8の下面8bは、搬送路4の上面(天井面)を形成する。以上の上部トレイ8は、光透過性の材料、例えば、透明な樹脂で形成される。
 図2(b)には、第1画像センサ6aの透過光源である複数個の発光素子Gaが示される。なお、図2(b)では、全ての発光素子Gaのうちの一部を抜粋して示す。以上の発光素子Gaは、搬送路4の紙幣が移動する方向をY軸方向(搬送方向)とした場合、Y軸方向に対して水平方向へ直交するX軸方向(幅方向)に沿って複数個延在するように配置される。本実施形態では、720個の発光素子GaがX軸方向へ配列される。
 図2(b)に示す様に、第1画像センサ6aは、上述の下面8b側に発光素子Gaが位置する様に上部トレイ8の凹所8a内に収納される。上述した通り、上部トレイ8は光透過性である。したがって、発光素子Gaから照射された検知光は、上部トレイ8を透過して搬送路4へ進入できる。
 本実施形態の第2画像センサ6bは、図2(b)に示す様に、第1画像センサ6aから照射された検知光が入射する複数個の画素Gbを具備する。なお、図2(b)では、全ての画素Gbのうちの一部を抜粋して示す。以上の第2画像センサ6bには、第1画像センサ6aの発光素子Gaと同数(720個)の画素Gbが設けられる。また、各画素Gbは、発光素子Gaと同様にX軸方向へ配列され、一の発光素子Gaと一の画素Gbとは、光軸L(図2(b)参照)が一致する様に対向する。
 図2(a)に示す様に、下部カバー7には、右側壁面7a、左側壁面7b、下部カバーの搬送方向奧側端縁を切欠き形成された上下方向へ貫通する凹所7c、および凹所7cを回避した個所にある上面7dが設けられる。下部カバー7は、図2(b)に示す様に、第2画像センサ6bの上面(画素Gb側)を覆うように設けられる。また、下部カバー7の上面7dは搬送路4の底面を構成する。本実施形態における搬送路4の底面(下部カバー7)から天井面(上部トレイ8)までの高さ(図2(b)に示す距離h)は約2mmである。
 下部カバー7が下部ユニット1上に設置されると、搬送装置5の搬送ベルト等の下側搬送部材5aが凹所7cを介して搬送路4側へ突出する。搬送路4の紙幣は、搬送ベルトの回転に伴い搬送方向へ移動する。
 下部カバー7は、上述の上部トレイ8と同様に、透明な樹脂などの光透過性の材料で形成される。したがって、第1画像センサ6aの発光素子Gaから照射され、搬送路4の紙幣を透過した検知光は、下部カバー7(上面7d)を透過して、第2画像センサ6bの画素Gbに入射可能である。
 図2(b)に示す様に、下部カバー7の右側壁面7aおよび左側壁面7bは、搬送路4の側壁を形成する。具体的には、右側壁面7aは、搬送路4を移動する紙幣から見て右側の側壁を形成する。また、左側壁面7bは、搬送路4を移動する紙幣から見て左側の側壁を形成する。本実施形態では、説明のため、X軸(主走査軸)上の領域のうち右側壁面7aから左側壁面7bまでの領域を「領域R」という。以上の領域Rは、紙幣を鑑別するための画像が撮影される領域である。
 本実施形態では、領域Rの長さ(右側壁面7aから左側壁面7bまでの距離)は、搬送路4を移動する紙幣のX軸方向の幅より約4mmだけ長い。以上の構成では、例えば領域Rの長さが紙幣の幅より4mm以上長い構成と比較して、搬送路4の幅が短くなる。したがって、本実施形態によれば、紙幣鑑別装置Hを小型化し易いという利点がある。
 上述した通り、本実施形態の紙幣鑑別装置Hは、画像のシェーディング補正が可能である。具体的には、紙幣鑑別装置Hは、反射光源により得られた画像のシェーディング補正、および、透過光源により得られた画像のシェーディング補正の双方が可能である。
 紙幣鑑別装置Hは、反射光源により得られた画像のシェーディング補正に用いる白基準データを、上述の領域Rの外側の反射光源および受光部を用いて生成する。一方、透過光源(発光素子Ga)により得られた画像のシェーディング補正に用いる白基準データは、上述の領域Rの内側の透過光源および受光部(画素Gb)を用いて生成される。
 紙幣鑑別装置Hは、反射光源により得られた画像のシェーディング補正に用いる白基準データを生成するために反射用白基準片(9a、9b)を具備する。図2(a)に示す通り、以上の反射用白基準片9には白色の2個の反射板Tが設けられる。図2(b)に示す通り、反射用白基準片9は、領域Rの外側の領域rに反射板Tが位置する様に設けられる。なお、図2(b)に示す通り、各反射板Tの先端は下部カバー7に当接する。本実施形態では、領域Rおよび領域rの全域に画素Gbが配列される。
 2個の反射板Tのうち一方の反射板Tには、第1画像センサ6aの反射光源のうち領域rに位置する反射光源から出射された光が照射される。また、以上の反射光源から出射され反射板Tで反射された光は、第1画像センサ6aの反射光用の受光素子(画素)に入射する。同様に、2個の反射板Tのうち他方の反射板Tには、第2画像センサ6bの反射光源のうち領域rに位置する反射光源から出射された光が照射される。また、以上の反射光源から出射され反射板Tで反射された光は、第2画像センサ6bの反射光用の受光素子(画素)に入射する。制御装置のCPUは、受光素子に入射した反射板Tからの反射光の階調に応じて、反射光源で得られた画像を補正するための白基準データを生成する。
 以上の通り、反射光源により得られた画像の白基準データは、反射用白基準片9(反射板T)を用いて生成される。一方、透過光源(発光素子Ga)により得られた画像の白基準データは、後述の白基準部材10(図3参照)を用いて生成される。なお、反射光源により得られた画像の白基準データを生成する時期は適宜に設定できる。例えば、紙幣が挿入口3aに挿入された直後(紙幣が画像センサで検知される前)に、以上の白基準データが生成される構成としてもよい。
 図3(a)は、上述の白基準部材10の斜視図である。本実施形態では、紙幣鑑別装置Hの製造過程において、白基準部材10を用いて白基準データが生成される。ただし、白基準データが他の契機で生成される構成としてもよい。白基準部材10は、白基準データを生成する場合、搬送路4(下部カバー7の上面7d)に配置される(後述の図3(b)参照)。また、白基準部材10は、白基準データを生成した後に、作業者により取り除かれる。すなわち、紙幣鑑別装置Hが完成品として出荷される場合には、搬送路4に白基準部材10は配置されない。
 図3(a)に示す通り、白基準部材10は、白基準シート10aと、白基準シート10aの外周縁を保持する矩形環状のガード部材10bとを含んで構成される。白基準シート10aは、発光素子Gaの検知光が照射された場合、紙幣の白色部分と同様な光(種類、強度)を透過する。以上の白基準シート10aは、例えば、紙幣と略同じ厚さで形成される。
 ガード部材10bは、外縁が略矩形の略板状の環状部材(枠体)であり、図3(a)に示す通り、貫通した開口部Kが設けられる。白基準シート10aは、開口部Kを塞ぐようにガード部材10bに取付(貼付)けられる。ガード部材10bは、白基準シート10aより強度が高く比重が大きい(重い)材料で形成される。例えば、ステンレス等の合金でガード部材10bが形成される。
 ガード部材10bを設けた白基準部材10によれば、例えば白基準シート10aのみで構成される白基準部材10と比較して、白基準部材10を搬送路4に配置するに際して、白基準シート10aが折り曲がる不都合が抑制されるという利点がある。また、白基準部材10(白基準シート10a)が風の影響等でズレる不都合が抑制されるという利点がある。
 図3(b)は、搬送路4に載置された白基準部材10を説明するための図である。白基準データを生成する場合、作業者により一時的に搬送路4に白基準部材10が配置される。具体的には、第1画像センサ6aと第2画像センサ6bとの間であって、第1画像センサ6aの発光素子Gaが照射した検知光が照射される位置に白基準部材10が配置される。
 図3(b)に示す通り、白基準部材10の長辺の長さは、領域Rの長さと近似する(略等しい)。以上の場合、白基準部材10(ガード部材10b)の短辺は、搬送路4の側壁(7a、7b)の近傍に位置する(略当接する)。なお、白基準部材10の構成は上述の例に限定されない。
 白基準データを生成するに際して、白基準部材10を搬送路4の領域Rに載置した状態で、発光素子Gaから検知光が照射される。以上の場合、発光素子Gaからの検知光のうち、白基準部材10の白基準シート10aに照射された検知光は、白基準シート10aを透過して画素Gbに入射される。以上の画素Gbに入射した検知光からは、適切な白基準データが生成される。
 一方、白基準部材10のうちガード部材10bは、紙幣の白色部分(白基準シート10a)と比較して光の透過率が低い。例えば、ガード部材10bが金属製である場合、検知光を透過させない。したがって、白基準部材10を領域Rに設置した状態で、第1画像センサ6aの発光素子Gaから検知光を照射させた場合、ガード部材10b(長手方向両端部10b`)に照射された検知光は、第2画像センサ6b側へ透過しないため、画素Gbで受光されない。以上の場合、当該画素Gbが生成した画像データをシェーディング補正するための白基準データが適切に生成されない(後述の図5(b)参照)。
 以上の説明から理解される通り、本実施形態の白基準部材10を用いて白基準データを生成した場合、ガード部材10bの長手方向両端部10b`と対向する画素Gbの画像を補正するための白基準データが適切に生成されない。すなわち、搬送路4の側壁近傍に位置する画素Gbの白基準データが適切に生成されない。搬送路4の側壁近傍に位置する画素Gbの白基準データが適当に生成されない場合、例えば図3(c)に示す様に、紙幣Bが搬送路4の側壁近傍を移動した場合に問題となる。
 例えば、従来からATM(Automatic Teller Machine)装置等において、紙幣が不正に取出される(盗難される)場合、当該紙幣に盗難インクを噴射する技術が採用されている(例えば、特開特開2000-322625号公報参照)。以上の事情から、紙幣鑑別装置Hにおいては、挿入された紙幣に盗難インクが付着しているか否かを判別可能な構成が好適である。しかし、盗難インクは紙幣の幅方向外縁近傍の部位に付着する場合が多々ある。したがって、仮に搬送路4の側壁近傍で撮影された画像のシェーディング補正が適切にされない場合、当該紙幣に盗難インクが付着しているか否かを正確に判別できない場合がある。
 以上の事情を考慮して、本実施形態の紙幣鑑別装置Hは、搬送路4の側壁近傍の画像が適切にシェーディング補正される構成(後述の図4に示す白基準データ生成部107等)を具備する。以上の紙幣鑑別装置Hによれば、搬送路4の幅を比較的短くしつつ、紙幣の外縁近傍に付着した盗難インクを適切に発見できるという利点がある。
 具体的には、本実施形態の紙幣鑑別装置Hは、白基準部材10を用いて白基準データを生成した後に、ガード部材10bと対向する画素Gbの画像を補正するための白基準データを調整可能な構成を採用した。以上の構成によれば、搬送路4の側壁の近傍を紙幣Bが移動した場合であっても、搬送路4の側壁近傍の画素Gbの画像が適切にシェーディング補正されるため、鮮明な画像で当該紙幣Bを鑑別できる。
 なお、搬送路4の側壁近傍の画素Gbの白基準データを適切に生成する他の方法として、白基準部材10のガード部材10bの長手方向両端部10b`を載置可能な領域を領域Rの外側(側壁の外側)に設け、領域Rの全域を白基準シート10aと対向させるという方法が考えられる。しかし、以上の方法では、紙幣鑑別装置Hが小型化し難いという不都合が生じ得る。本実施形態では、以上の不都合が抑制される。
 図4は、第1実施形態に係る紙幣鑑別装置100(H)の機能ブロック図である。紙幣鑑別装置100のCPUがプログラムを実行することで、各種の機能が実現される。ただし、紙幣鑑別装置100の製造工程において、紙幣鑑別装置100を外部コンピュータと通信可能に接続し、当該外部コンピュータが図4に示す各機能の一部(例えば、後述の白基準データ生成部107)を実現してもよい。以上の場合、紙幣鑑別装置100および外部コンピュータの組合せが本発明の「紙葉鑑別装置」に相当し得る。
 図4に示す通り、紙幣鑑別装置100は、搬送制御部101、センサ部102、センサ制御部103、画像データ生成部104、白基準データ記憶部105、補正部106および白基準データ生成部107を具備する。搬送制御部101は、上述の搬送装置5を制御する。例えば、挿入口3aに紙幣が挿入されると、搬送制御部101は、当該紙幣が搬送方向へ移動する様に、搬送装置5の搬送部5a(搬送ベルト等)を回転させる駆動信号を出力する。
 センサ部102は、上述の第1画像センサ6aおよび第2画像センサ6bを含んで構成される。また、センサ制御部103は、第1画像センサ6aの発光素子Gaを点灯制御する。例えば、センサ制御部103は、上述の領域Rを紙幣が通過する期間(以下「撮影期間」という)において発光素子Gaを点灯させる。また、センサ制御部103は、撮影期間の各時点において各画素Gbに入射した検知光(紙幣を透過した検知光)の階調を示す信号を、後述の画像データ生成部104へ入力する。
 本実施形態のセンサ制御部103は、紙幣鑑別装置Hの製造過程で白基準データを生成する期間(以下「生成期間」という)において発光素子Gaを点灯させる。また、センサ制御部103は、以上の生成期間の各時点において各画素Gbに入射した検知光(白基準シート10aを透過した検知光)の階調を示す信号を、後述の白基準データ生成部107へ入力する。
 画像データ生成部104は、挿入口3aに挿入された紙幣の画像を示す画像データを生成する。具体的には、上述の領域Rを紙幣が通過する撮影期間の各時点において、各画素Gbに入射した検知光(紙幣を透過した検知光)の階調を示す信号が画像データ生成部104へ入力される。画像データ生成部104は、以上の信号から当該紙幣を示す画像データを生成する。
 白基準データ記憶部105は、画像データ生成部104が生成した画像データのシェーディング補正に用いる白基準データを記憶する。以上の白基準データは、後述の白基準データ生成部107により生成される。
 補正部106は、上述の白基準データを用いて、画像データ生成部104が生成した画像データのシェーディング補正をする。なお、紙幣鑑別装置100において、シェーディング補正に先行して、画像データの黒補正処理が実行される。具体的には、紙幣鑑別装置100は、画像センサ(6a、6b)の発光素子Gaが消灯する期間において、画素Gbから取得される暗電流成分を記憶する。また、紙幣鑑別装置100は、画像データが生成された場合、当該画像データから上述の暗電流成分を減算する。
 白基準データ生成部107は、調整位置決定部108および調整部109を含んで構成され、白基準データ記憶部105に記憶される白基準データを生成する。上述した通り、白基準データ生成部107には、紙幣鑑別装置100の製造過程で白基準データが生成される生成期間において、各画素Gbに入射した検知光(白基準シート10aを透過した検知光)の階調を示す信号が上述のセンサ部102から入力される。白基準データ生成部107は、以上の信号から調整前白基準データ(後述の図5(b)参照)を生成する。
 調整前白基準データは、生成期間において入射した検知光の階調を画素Gb毎に特定可能なデータである。白基準データ生成部107の調整位置決定部108は、走査軸方向に配列された画素Gbのうちから調整前白基準データを調整する画素Gbを決定する。詳細には後述するが、調整位置決定部108は、白基準部材10のガード部材10bと対向する画素Gbを決定可能である。
 白基準データ生成部107の調整部109は、調整位置決定部108が決定した画素Gbの調整前白基準データを予め定められた所定値(後述の「平均階調Iave」)に調整する。白基準データ生成部107は、調整部109により調整された白基準データを白基準データ記憶部105に記憶させる。
 図5(a)および図5(b)は、調整前白基準データを説明するための図である。図5(a)は、上述の図2(b)と同様に、図1(a)に示すB-B断面図である。ただし、図5(a)では、紙幣鑑別装置100の各構成のうち第1画像センサ6a、第2画像センサ6b、下部カバー7および上部トレイ8を抜粋して示す。また、図5(a)には、発光素子Gaから照射された検知光の光路を破線の矢印で示す。
 図5(a)の具体例では、白基準部材10(白基準シート10a、ガード部材10b)が搬送路4の領域Rに配置された場合を想定する。上述した通り、白基準部材10を搬送路4に載置した場合、当該白基準部材10のガード部材10bの長手方向両端部10b`が搬送路4の側壁(7a、7b)の近傍に位置する。
 図5(a)に示す通り、第1画像センサ6a(発光素子Ga)から照射された検知光のうち白基準シート10aの長手方向両端部10b`に照射された検知光は、白基準シート10aを透過して第2画像センサ6b(画素Gb)に入射する。一方、第1画像センサ6aから照射された検知光のうちガード部材10bの長手方向両端部10b`に照射された検知光は、第2画像センサ6b側へ透過されない。したがって、ガード部材10bの長手方向両端部10b`に照射された検知光は、第2画像センサ6bに到達しない。
 図5(b)は、調整前白基準データを説明するための図である。図5(b)には、領域R(搬送路4の側壁間の領域)のX軸上の各位置における、第2画像センサ6bに入射した検知光(透過光)の階調I(明るさ)が示される。本実施形態では、説明のため、搬送路4の右側壁面7a(領域Rの右端)のX軸上の位置を「位置Pea」と記載する。同様に、搬送路4の左側壁面7b(領域Rの左端)のX軸上の位置を「位置Peb」と記載する。
 また、右側壁面7aの近傍に位置するガード部材10bの長手方向両端部10b`と第2画像センサ6bとが対向するX軸上の領域を「領域Rx」と記載する。同様に、左側壁面7bの近傍に位置するガード部材10bと第2画像センサ6bとが対向するX軸上の領域を「領域Ry」と記載する。
 図5(b)の具体例では、右側壁面7aおよび左側壁面7bにガード部材10bが当接する場合を想定する。以上の具体例では、図5(b)に示す通り、領域Rxの右端の座標は位置Pea(右側壁面7aと共通)になる。同様に、領域Ryの左端の座標は位置Peb(左側壁面7bと共通)になる。図5(b)の具体例では、領域Rxの左端の座標は位置Pxであり、領域Ryの左端の座標は位置Pyである。
 本来、白基準データは、領域Rの全域(領域Rxおよび領域Ryを含む)に白基準シート10aを載置し、当該白基準シート10aに検知光を照射して生成される構成が好適である。図5(c)において、領域Rの全域に白基準シート10aを載置して生成された白基準データを示す。
 しかし、図5(b)および図5(c)から理解される通り、ガード部材10bが位置する領域Rxおよび領域Ryにおける階調Iは、白基準シート10aが領域Rxおよび領域Ryに位置すると仮定した場合の階調Iと相違する。以上の調整前白基準データでは、画像データに対して適切なシェーディング補正ができないという不都合が生じ得る。
 以上の事情を考慮して、本実施形態では、領域Rのうち領域Rxを含む調整領域Raにおける階調Iを調整可能とした。また、領域Rのうち領域Ryを含む調整領域Rbにおける階調Iを調整可能とした。なお、説明のため、領域Rのうち調整領域Raおよび調整領域Rb以外の領域を領域Rcと記載する場合がある。以上の領域Rcの全域には、白基準シート10aが位置する(ガード部材10bは位置しない)。
 図6(a)から図6(c)は、調整前白基準データを調整する構成を説明するための図である。図6(a)は、上述の図5(b)と同様に、調整前白基準データを示す。ただし、図6(a)の具体例では、上述した領域Rx(側壁の近傍)および調整領域Raを含む調整前白基準データの一部分を示す。
 上述した通り、調整領域Raは、ガード部材10bが位置する領域Rxを含む領域である。具体的には、図6(a)に示す通り、X軸上の位置Pea(右側壁面7a)から検索開始位置Psaまでが調整領域Raとして設定される。上述の検索開始位置Psaは、領域Rx(ガード部材10b)の左端(位置Px)より領域Rc(白基準シート10a)側に位置する。同様に、X軸上の位置Peb(左側壁面7b)から検索開始位置Psbまでが調整領域Rbとして設定される。上述の検索開始位置Psbは、領域Ryの左端(位置Py)より領域Rc(白基準シート10a)側に位置する。
 以上の通り、調整前白基準データが調整される調整領域Raは、検索開始位置Psaにより規定される。以上の検索開始位置Psaは、例えば長手方向両端部10b`のX軸方向の厚さを考慮して予め決定される。また、調整前白基準データが調整される調整領域Rbは、検索開始位置Psbにより規定される。以上の検索開始位置Psbは、例えばガード部材10bのX軸方向の厚さを考慮して予め決定される。紙幣鑑別装置100のフラッシュメモリは、以上の検索開始位置Psaおよび検索開始位置Psbを記憶する。
 図6(a)には、平均階調Iaveが示される。本実施形態では、領域Rcに位置する各画素Gbのうち、検索開始位置Psaに位置する画素Gb、および、当該画素Gbから領域Rc側に連続して配列される4個の画素Gb(合計で5個の画素Gb)の階調Iがサンプリングされる。また、当該5個の階調Iの平均値が算出され、算出結果が平均階調Iaveとして記憶される。なお、平均階調Iaveの算出方法は上述の例に限定されない。例えば、以上の5個の画素Gb以外の階調Iがサンプリングされ、当該階調Iにより平均階調Iaveが算出される構成としてもよい。
 また、図6(a)には、平均階調Iaveからズレ閾値W以内の範囲(Iave-W≦I≦Iave+W)が示される。以上の階調Iの範囲を、以下において「正常範囲」という場合がある。本実施形態のズレ閾値Wは、調整領域Raの画素Gbのうち白基準シート10aに対向する画素Gbの階調Iが正常範囲となり、領域Rxの画素Gbの階調が正常範囲から逸脱する様に予め定められる。
 本実施形態の紙幣鑑別装置100は、階調Iが正常範囲から逸脱したX軸上の位置(画素Gb)を特定する。具体的には、図6(a)に示す白色の矢印の方向(X軸方向)へ、検索開始位置Psaの階調Iから順に、当該階調Iと平均階調Iaveとの差の絶対値(以下「ズレ幅」という)がズレ閾値Wより大きいか否かが判定される。図6(a)の具体例では、位置Pxにおいて、ズレ幅がズレ閾値Wを超えたと最初に判断される。
 図6(b)は、調整後の白基準データの一部分を説明するための図である。図6(b)の具体例では、白基準データのうち領域Rx近傍の一部分が示される。また、図6(b)の具体例では、上述の図6(a)の具体例と同様に、位置Pxにおいてズレ幅がズレ閾値Wを超えたと判断された場合を想定する。以上の場合、図6(b)に示す通り、位置Pxより位置Pea(右側壁面7a)側の領域(領域Rx)の階調Iが平均階調Iaveに調整される。
 図6(c)は、調整後の白基準データの全体を説明するための図である。図6(c)の具体例では、上述の図6(b)の具体例と同様に、位置Pxにおいてズレ幅がズレ閾値Wを超えたと判断された場合を想定する。以上の場合、位置Pxより位置Pea側の領域の階調Iが平均階調Iaveに調整される。以下において、調整領域Raの階調Iが調整される平均階調Iaveを「平均階調Iave1」と記載する。
 紙幣鑑別装置100は、上述した調整領域Raと同様に、調整領域Rbの階調Iを調整する。具体的には、紙幣鑑別装置100は、検索開始位置Psbに位置する画素Gb、および、当該画素Gbから領域Rc側に連続して配列される4個の画素Gb(合計で5個の画素Gb)の階調Iをサンプリングする。また、当該5個の階調Iの平均値が算出され、算出結果が平均階調Iave2として記憶される。なお、以上の5個の画素Gb以外の階調Iにより平均階調Iave2が算出される構成としてもよい。
 その後、紙幣鑑別装置100は、検索開始位置Psbから位置Pebに向けて、各位置(画素Gb)の階調Iと平均階調Iave2との差の絶対値(ズレ幅)がズレ閾値Wより大きいか否かを判定する。図6(c)の具体例では、位置Pyにおいて、ズレ幅がズレ閾値Wを超えたと最初に判断された場合を想定する。以上の場合、紙幣鑑別装置100は、調整前白基準データにおける位置Pyから位置Pebまでの階調Iを平均階調Iave2に調整する。
 調整領域Raおよび調整領域Rbの階調Iを調整した後に、紙幣鑑別装置100は、白基準データを白基準データ記憶部105に記憶させる。以上の白基準データによれば、搬送路4の側壁(7a、7b)近傍(調整領域Ra、調整領域Rb)で撮影された紙幣の画像が適切にシェーディング補正できる。
 図7は、紙幣鑑別装置100が実行する出荷前調整処理のフローチャートである。以上の出荷前調整処理は、紙幣鑑別装置100の製造工程(出荷前)において実行される。紙幣鑑別装置100は、出荷前調整処理において調整前白基準データを調整し、調整後の白基準データを白基準データ記憶部105に記憶する。
 上述した通り、紙幣鑑別装置100は、紙幣が通過する領域Rのうち調整領域Ra(右側壁面7aの近傍)および調整領域Rb(左側壁面7bの近傍)の双方について、調整前白基準データの階調Iが調整される。紙幣鑑別装置100は、調整領域Raおよび調整領域Rbのうち調整領域Raの階調Iが調整される出荷前調整処理を実行した後に、調整領域Rbの階調Iが調整される出荷前調整処理を実行する。図7の具体例では、出荷前調整処理において、調整領域Raの階調Iが調整される場合を想定する。
 図7に示す通り、出荷前調整処理を開始すると、紙幣鑑別装置100は、調整前白基準データから5個の画素Gbの階調Iを取得する(S1)。上述した通り、例えば調整領域Raにおける画素Gbの階調Iを調整する場合、調整領域Raの左側(右側壁とは逆側)の端部である検索開始位置Psaから左側方向(X軸逆方向)に配列される5個の画素Gb(すなわち、図6(a)の領域Rcに配列される画素Gb)の階調Iが取得される。以上の各画素Gbには、白基準シート10aを透過した検知光が入射する。
 調整前白基準データから5個の画素Gbの階調Iを取得した後に、紙幣鑑別装置100は、当該画素Gbの階調Iから平均階調Iaveを算出する(S2)。その後、紙幣鑑別装置100は、各画素Gbから対象画素Gbを特定する(S3)。初回のステップS3では、上述の検索開始位置Psaに位置する画素Gbが対象画素Gbとして特定される。また、次回のステップS3では、前回のステップS3で特定された画素Gbの右隣(1個右側壁面7a側に位置する)画素が対象画素Gbに特定される。
 対象画素Gbを特定した後に、紙幣鑑別装置100は、当該対象画素Gbの階調Iについてズレ幅を算出する。具体的には、紙幣鑑別装置100は、上述のステップS2で算出した平均階調Iaveを対象画素Gbの階調Iに減算し、減算結果の絶対値を当該対象画素Gbのズレ幅として記憶する。
 対象画素Gbについてズレ幅を算出した後に、紙幣鑑別装置100は、当該ズレ幅がズレ閾値Wより大きいか否かを判定する(S5)。ズレ幅がズレ閾値Wより小さいと判断した場合(S5:NO)、紙幣鑑別装置100は、上述のステップS3に処理を戻す。その後、紙幣鑑別装置100は、ステップS3において対象画素Gbを変更しつつ、ステップS4およびステップS5を繰返し実行する。以上の構成では、搬送路4の側壁方向へ対象画素Gbを1個ずつずらしながら、各画素Gbのズレ幅がズレ閾値Wより大きいか否かが繰返し判定される。
 対象画素Gbのズレ幅がズレ閾値Wより大きいと判断した場合(S5:YES)、紙幣鑑別装置100は、当該対象画像Gbから搬送路4の側壁までの各画素について、白基準データを平均階調Iaveに調整(S6)。例えば、右側壁面7a近傍の調整領域Raの白基準データを調整する場合、対象画素Gbから右側壁面7aまでの各画素Gbの白基準データが平均階調Iaveに調整される。白基準データを調整した後に、紙幣鑑別装置Hは、出荷前調整処理を終了する。
<第2実施形態>
 本発明の第2実施形態を以下に説明する。なお、以下に例示する各形態において作用や機能が第1実施形態と同等である要素については、第1実施形態の説明で参照した符号を流用して各々の詳細な説明を適宜に省略する。
 図8(a)は、第2実施形態における紙幣鑑別装置Hの断面図である。図8(a)は、上述の第1実施形態の図1(a)に示すB-B断面図に対応する。ただし、図8(a)では、紙幣鑑別装置100の各構成のうち第1画像センサ6a、第2画像センサ6b、下部カバー7および上部トレイ8を抜粋して示す。また、図8(a)には、発光素子Gaから照射された検知光の光路を破線の矢印で示す。
 図8(a)に示す通り、上部トレイ8にはガイド部8Lおよびガイド部8Rが設けられる。ガイド部8Rは略板状であり、搬送路4の右側壁(7a)に沿って立設される。図8(a)に示す通り、ガイド部8Rの下端は、上部トレイ8の下部カバー7との当接面(図8(a)に示すS)より搬送路4の底面側に位置する。以上のガイド部8Rの下端は、搬送路4の底面に載置された紙幣の右端近傍と当接し、当該紙幣の上側方向(Z軸方向)への移動を規制する。
 ガイド部8Lは、ガイド部8Rと同様に略板状であり、搬送路4の左側壁(7b)に沿って立設される。また、図8(a)に示す通り、ガイド部8Lの下端は、上部トレイ8における下部カバー7との当接面Sより搬送路4の底面側に位置し、搬送路4の底面に載置された紙幣の左端近傍と当接し、当該紙幣の上側方向への移動を規制する。
 仮に、ガイド部8(R、L)が設けられない対比例を想定する。以上の対比例では、紙幣の左端または右端が、上述の当接面Sまで移動する(浮き上りが生じる)場合がある。以上の場合、上部トレイ8と下部カバー7との間に紙幣の端部が侵入し、当該紙幣が搬送路4で移動不可能になり、紙幣詰りが発生する可能性が完全には排除されないという不都合がある。第2実施形態のガイド部8(R、L)によれば、上述した通り、紙幣の左右両端の浮き上りが抑制されるため、上述の不都合が抑制されるという利点がある。
 第2実施形態のガイド部8(R、L)は、紙幣の鑑別に用いる画像が撮影される領域R(上述の図5(a)参照)内に設けられる。以上の構成では、例えばガイド部8(R、L)が領域Rの外側に設けられた構成と比較して、紙幣鑑別装置Hの小型化し易いという利点がある。
 ただし、第1画像センサ6aの発光素子Gaと第2画像センサ6bの画素Gbとの間に位置する部材は、光透を透過させる必要がある。以上の事情を考慮して、上部トレイ8と同様に、ガイド部8(R、L)は光透過性の部材(例えば透明な樹脂)で形成される。
 しかし、透明なガイド部8(R、L)を領域Rに設けた場合、当該ガイド部8(R、L)により検知光が屈折するという新たな問題が生じ得る。すなわち、ガイド部8(R、L)により、検知光の光路が本来の光路からズレる問題が生じ得る。また、以上の問題が生じた場合、画像データのシェーディング補正に用いる白基準データが適当に生成されないという不都合が生じ得る。
 例えば、ガイド部8Rの直上に位置する発光素子Gaから照射された検知光は、本来、ガイド部8Rの直下に位置する画素Gbに入射すべきである。しかし、例えば図8(a)に示す様に、発光素子Gaから照射された検知光がガイド部8Rで屈折した場合、本来入射すべき画素Gbとは別の画素Gb(例えば隣接する画素Gb)に当該検知光が入射し得る。以上の場合、当該検知光が本来入射すべき画素Gbにおける白基準データ(調整前白基準データ)の階調Iは、本来の(ガイド部8Rが無い場合の)階調Iより小さくなる。一方、当該別の画素Gbにおける白基準データの階調Iは、本来の階調Iより大きくなる。
 図8(b)は、第2実施形態における調整前白基準データを説明するための図である。図8(b)には、領域R(搬送路4の側壁間の領域)のX軸上の各位置における、第2画像センサ6bに入射した検知光の階調Iが示される。
 なお、上述の第1実施形態では、白基準部材10(図3参照)に検知光を照射することで白基準データが生成された。第2実施形態では、白基準データを生成するに際して、白基準部材10が搬送路4(領域R)に載置されない。以上の第2実施形態では、白基準データを生成するに際に白基準部材10を搬送路4に載置する必要がないため、紙幣鑑別装置Hの製造過程後の期間(市場で稼働する期間)において、白基準データを定期的に生成することができる。例えば、紙幣鑑別装置Hの電源が投入される毎に、白基準データを生成することができる。
 発光素子Gaから照射された検知光の階調Iは、白基準紙(例えば、上述の白基準シート10a)を透過した場合、白基準紙を透過しなかった場合の約1/10になる。以上の事情を考慮して、第2実施形態では、各画素Gbの階調を1/10にした白基準データが白基準データ記憶部105に記憶される。
 図8(b)に示す通り、第2実施形態では、上述の第1実施形態と同様に、搬送路4の右側壁面7a(領域Rの右端)のX軸上の位置を「位置Pea」と記載する。また、搬送路4の左側壁面7b(領域Rの左端)のX軸上の位置を「位置Peb」と記載する。
 また、第2実施形態では、上述の第1実施形態と同様に、搬送路4の右側壁近傍の調整領域Raおよび左側壁近傍の調整領域Rbの画素Gbの補正前白基準データが調整される。具体的には、平均階調Iaveと階調Iとの差の絶対値(ズレ幅)がズレ閾値Wより大きい画素Gbについて、当該画素Gbの階調Iが平均階調Iaveに調整される。
 図8(b)の具体例では、領域Rの中央から位置Pea(右側壁)の方向へ見た場合、位置Pxの画素Gbのズレ幅が最初にズレ閾値Wより大きくなる。以上の具体例では、位置Pxから位置Peaまでの調整前白基準データが平均階調Iaveに調整される。同様に、領域Rの中央から位置Peb(左側壁)の方向へ見た場合、位置Pyの画素Gbのズレ幅が最初にズレ閾値Wより大きくなる。以上の具体例では、位置Pyから位置Pebまでの調整前白基準データが平均階調Iaveに調整される。
 図8(c)は、第2実施形態における調整領域Raを説明するための図である。図8(c)は、上述の図8(b)と同様に、調整前白基準データを示す。ただし、図8(c)の具体例では、調整領域Raを含む調整前白基準データの一部分を示す。
 図8(c)に示す通り、調整領域Raは、上述の第1実施形態と同様に、位置Psaから位置Pea(右側壁)までの予め定められた領域である。以上の位置Psaは、ガイド部8Rの形状および屈折率(検知光の屈折が影響する範囲)を考慮して予め設定される。同様に、調整領域Rbは、上述の第1実施形態と同様に、位置Psbから位置Peb(左側壁)までの予め定められた領域である。以上の位置Psbは、ガイド部8Lの形状および屈折率を考慮して予め設定される。
 図8(d)は、上述の図8(c)の具体例において、調整領域Raの階調Iが調整された白基準データを示す図である。図8(d)の具体例では、位置Pxから位置Peaまでの階調Iが平均階調Iaveに調整された場合を想定する。なお、調整領域Rbの階調Iは、調整領域Raと同様な方法により調整される。紙幣鑑別装置Hは、調整領域Raおよび調整領域Rbの階調Iが調整された調整前白基準データの全領域の階調Iを1/10倍し、白基準データとして記憶する。
 以上の第2実施形態においても、上述の第1実施形態と同様な効果が奏せられる。なお、ガイド部(8R、8L)を設ける位置は適宜に変更できる。例えば、下部カバー7の上面7dにガイド部が設けられる構成としてもよい。また、第2実施形態では、ガイド部を搬送路4の側壁近傍に設けたが、搬送路4の中央付近に設けてもよい。以上の場合、中央付近に設けられたガイド部が含まれる領域が調整領域に設定され、当該調整領域に位置する画素Gbの白基準データが調整される。
<第3実施形態>
 上述の第1実施形態では、白基準部材10(図3(a)参照)を搬送路4の領域Rに載置した状態で得られた調整前白基準データから、シェーディング補正で実際に使用する白基準データを決定した。また、第2実施形態では、白基準部材10を搬送路4の領域Rに載置しない状態で得られた(発光素子Gaから画素Gbへ検知光を直接照射することにより得られた)調整前白基準データから白基準データを決定した。
 以下、説明のため、白基準部材10を載置した状態で得られた調整前白基準データを「第1調整前データ」と記載する場合がある。また、白基準部材10を載置しない状態で得られた調整前白基準データを「第2調整前データ」と記載する場合がある。詳細には後述するが、第3実施形態では、第1調整前データおよび第2調整前データの双方を用いて、白基準データD(後述の図9(c)参照)が決定される。
 図9(a)から図9(c)は、第3実施形態を説明するための図である。第3実施形態の紙幣鑑別装置100は、上述の第1実施形態と同様に、紙幣が通過する領域R(RxおよびRyを含む)を具備する。上述した通り、領域Rのうち領域Rxは、右側壁面7a近傍の領域である。また、領域Rのうち領域Ryは、左側壁面7b近傍の領域である。以下、説明のため、領域Rxおよび領域Ry以外の領域Rを「領域Rz」と記載する。以上の領域Rzは、領域Rの中央を含む領域である。
 第3実施形態の紙幣鑑別装置100には、N個の画素Gが設けられる。具体的には、左側壁面7bから右側壁面7aへ向けて、画素G1、画素G2…画素GNの順にN個の画素Gが一列に設けられる。例えば、N個の画素Gのうち、画素G1から画素Gnのn個の画素Gが領域Ryに設けられる。また、画素G(n+1)から画素G(N-n)のN-2n個の画素Gが領域Rzに設けられ、画素G(N-n+1)から画素GNのn個の画素Gが領域Rxに設けられる。なお、第3実施形態において、左側壁面7bから見てi番目の画素Gを「画素Gi」と記載する場合がある(1≦i≦N)。
 図9(a)は、第1調整前データを説明するための図である。第1調整前データは、上述の第1実施形態の図5(b)に示した調整前白基準データと略同じである。
 具体的には、領域Rのうち領域Rzの画素G(n+1)から画素G(N-n)は、白基準部材10の白基準シート10aと対向する。したがって、領域Rzにおける各画素Gの第1調整前データの階調(以下「階調Ia」と記載する場合がある)は白基準データとして採用され得る。一方、領域Rのうち領域Ryの画素G1から画素Gnは、白基準部材10のガード部材10bと対向する。したがって、領域Ryにおける階調Iaは白基準データとして適当ではない。領域Rのうち領域Rxにおける階調Iaについても、領域Ryにおける階調Iaと同様に、白基準データとして適当ではない。
 図9(b)は、第2調整前データを説明するための図である。第2調整前データは、上述の第2実施形態の図8(b)に示した調整前白基準データと略同じである。ただし、第3実施形態では、予め定められた階調(以下「上限階調Im」)より強い検知光が画素Gへ照射されたとしても、当該画素Gの第2調整前データは上限階調Imになる。
 図9(b)に示す通り、領域Rのうち領域Rzにおける第2調整前データは上限階調Imになる。一方、領域Rのうち領域Rxおよび領域Ryでは、上述した通り、ガイド部8により検知光が屈折する。したがって、領域Rxおよび領域Ryにおける各画素Gの第2調整前データの階調(以下「階調Ib」と記載する場合がある)は、図9(b)に示す通り、上限階調Imにならない場合がある。
 以上の構成では、実際の検知光の階調が上限階調Imより強い場合、領域Rzにおける第2調整前データは、実際の検知光の階調と相違する。一方、領域Rzにおける第1調整前データは、実際の検知光の階調を示す。したがって、領域Rzの各画素Gの階調は、第2調整前データから得られる白基準データで補正されるより、第1調整前データから得られる白基準データで補正されるのが望ましい。
 また、上述した通り、領域Rxおよび領域Ryにおける第1調整前データは、白基準データとして適当ではない。したがって、領域Rxおよび領域Ryの各画素Gの階調は、第1調整前データから得られる白基準データで補正されるより、第2調整前データから得られる白基準データで補正されるのが望ましい。なお、領域Rxおよび領域Ryの各画素Gの階調を第2調整前データから得られる白基準データで補正することにより、紙幣と対向しない画素Gの階調が上限階調Imに補正され、紙幣と対向しない画素Gの階調が上限階調Im未満に補正される。したがって、紙幣の外縁が検知し易くなるという利点がある。
 以上の事情を考慮して、第3実施形態の白基準データは、領域Rzの各画素Gの階調を補正する白基準データは第1調整前データから決定され、領域Rxおよび領域Ryの各画素Gの階調を補正する白基準データは第2調整前データから決定される構成を採用した。
 図9(c)は、第3実施形態における白基準データDの概念図である。白基準データDは、N個の補正値dを含んで構成される。各補正値dは、各画素Gの何れかに対応する。以下、画素Giに対応する補正値dを「補正値di」と記載する。画素Giの補正前の階調を実測階調Ivi(1≦i≦N)とすると、シェーディング補正後の当該画素Giの階調(以下「補正階調Ici」と記載する)は、実測階調Iviに補正値diを乗算することで求められる(Ici=Ivi×di)。
 以上の各補正値dは、第1調整前データ(図9(a)参照)から決定される補正値dと、第2調整前データ(図9(b)参照)から決定される補正値dとを含む。以上の構成は、白基準データDは、白基準部材10に検知光を照射することにより得られた補正値d(第1補正値)と、白基準部材10を透過していない検知光を画素G(受光手段)に照射することにより得られた補正値d(第2補正値)とを含んで構成されるとも換言される。
 例えば、第2調整前データのうち、領域Ryの画素G1の階調Ia1からは、補正値d1が決定される。同様に、第2調整前データのうち、領域Ryの画素G2から画素Gnの各階調Ia(Ia2~Ian)からは、補正値d2から補正値dnが決定される。また、第2調整前データのうち、領域Rxの画素G(N-n+1)の階調Ia(N-n+1)からは、補正値d(N-n+1)が決定される。同様に、第2調整前データのうち、領域Rxの画素G(N-n+2)から画素GNの各階調Ia(Ia(N-n+2)~IaN)からは、補正値d(N-n+2)から補正値dNが決定される。
 以上の説明から理解される通り、領域Rxおよび領域Ryの各画素Gに対応する補正値dは、第2調整前データから決定される。具体的には、領域Rxおよび領域Ryの各画素Gに対応する補正値diは(1≦i≦n,N-n≦i≦Nの場合)、第2調整前データの階調Ibiを上限階調Imに除算することで求められる(di=Im/Ibi)。
一方、領域Rzの各画素Gに対応する補正値dは、第1調整前データから決定される。具体的には、第1調整前データのうち、領域Rzの画素G(n+1)の階調Ia(n+1)からは、補正値d(n+1)が決定される。同様に、第1調整前データのうち、領域Rzの画素G(n+2)から画素G(N-n)の各階調Ia(Ia(n+2)~Ia(N-n))からは、補正値d(n+2)から補正値d(N-n)が決定される。具体的には、白色となる階調Iを白色階調Iwとすると、領域Rzの各画素Gに対応する補正値diは(n+1≦i≦N-n-1の場合)、第1調整前データの階調Iaiを白色階調Iwに除算することで求められる(di=Iw/Iai)。
 なお、第1調整前データから補正値dが決定される画素G、および、第2調整前データから補正値dが決定される画素Gは適宜に変更できる。例えば、領域Rzより広い領域の画素Gの補正値が、第1調整前データから決定される構成としてもよい。
 本発明の紙葉鑑別装置は、例えば以下の紙葉鑑別装置である。
 本発明の紙葉鑑別装置(100)は、搬送路(4)に沿って紙葉を移動させる搬送手段(搬送制御部101)と、移動中の紙葉の一面へ検知光を照射する発光手段(発光素子Ga)と、移動中の紙葉の他面と対向する位置に配置されて紙葉を通過してきた検知光を受光すると共に、紙葉の移動方向(Y軸方向)と直交する幅方向(X軸方向、走査軸方向)に沿って複数配置された受光手段(画素Gb)と、受光手段に入射した検知光に応じた階調の画像データを生成する画像データ生成手段(画像データ生成部104)と、画像データをシェーディング補正するのに用いる白基準部材(10)に検知光を照射することにより得られた白基準データを記憶する白基準データ記憶手段(白基準データ記憶部105)と、搬送路の幅方向端部に位置し、当該搬送路の側壁を形成する移動規制手段(右側壁面7a、左側壁面7b)と、受光手段の幅方向位置が予め定められた特定領域(調整領域Ra、調整領域Rb)内であること条件に、当該受光手段の画像データをシェーディング補正するための白基準データを、所定値(平均階調Iave)に調整する調整手段(調整部109)と、を具備する。以上の構成によれば、紙葉の画像が適当にシェーディング補正される。
 本発明の好適な態様として、特定領域は、移動規制手段までの幅方向上の距離が所定距離(図5のPsaからPeaまでの距離、または、PsbからPebまでの距離)以下の領域であることを特徴とする。また、本発明の好適な他の態様として、発光手段と受光手段との間に設けられ、紙葉の一面または他面に当接するとともに、光を透過する部材で形成される当接手段(ガイド部)を具備し、当接手段の幅方向上の位置は、特定領域に位置する。
 1…下部ユニット、10…白基準部材、10a…白基準シート、10b…ガード部材、2…上部ユニット、3a…挿入口、3b…取込口、4…搬送路、5…搬送装置、5a…下側搬送部材、5a…搬送部、5b…上側搬送部材、6a…第1画像センサ、6b…第2画像センサ、6c…磁気センサ、7…下部カバー、7a…右側壁面、7a…個右側壁面、7b…左側壁面、7c…凹所、7d…上面、8…ガイド部、8…上部トレイ、8L…ガイド部、8R…ガイド部、8a…凹所、8b…下面、9…反射用白基準片、100…紙幣鑑別装置、101…搬送制御部、102…センサ部、103…センサ制御部、104…画像データ生成部、105…白基準データ記憶部、106…補正部、107…白基準データ生成部、108…調整位置決定部、109…調整部、10b`…長手方向両端部。

Claims (6)

  1.  搬送路に沿って紙葉を移動させる搬送手段と、
     移動中の前記紙葉の一面へ検知光を照射する発光手段と、
     移動中の前記紙葉の他面と対向する位置に配置されて紙葉を通過してきた前記検知光を受光すると共に、前記紙葉の移動方向と直交する幅方向に沿って複数配置された受光手段と、
     前記受光手段に入射した前記検知光に応じた階調の画像データを生成する画像データ生成手段と、
     前記画像データをシェーディング補正するのに用いる白基準部材に前記検知光を照射することにより得られた白基準データを記憶する白基準データ記憶手段と、
     前記搬送路の幅方向端部に位置し、当該搬送路の側壁を形成する移動規制手段と、
     前記受光手段の前記幅方向位置が予め定められた特定領域内であること条件に、当該受光手段の画像データをシェーディング補正するための前記白基準データを、所定値に調整する調整手段と、を具備する紙葉鑑別装置。
  2.  前記特定領域は、前記移動規制手段までの前記幅方向上の距離が所定距離以下の領域であることを特徴とする請求項1に記載の紙葉鑑別装置。
  3.  前記発光手段と前記受光手段との間に設けられ、前記紙葉の一面または他面に当接するとともに、光を透過する部材で形成される当接手段を具備し、
     前記当接手段の前記幅方向上の位置は、前記特定領域に位置することを特徴とする請求項1または2に記載の紙葉鑑別装置。
  4.  搬送路に沿って紙葉を移動させる搬送手段と、移動中の前記紙葉の一面へ検知光を照射する発光手段と、移動中の前記紙葉の他面と対向する位置に配置されて紙葉を通過してきた前記検知光を受光すると共に、前記紙葉の移動方向と直交する幅方向に沿って複数配置された受光手段と、前記受光手段に入射した前記検知光に応じた階調の画像データを生成する画像データ生成手段と、前記搬送路の幅方向端部に位置し、当該搬送路の側壁を形成する移動規制手段と、を具備する紙葉鑑別装置において、前記画像データをシェーディング補正するのに用いる白基準データの調整方法であって、
     前記受光手段の前記幅方向位置が予め定められた特定領域内であること条件に、当該受光手段の画像データをシェーディング補正するための前記白基準データを、所定値に調整するステップ、を具備する白基準データの調整方法。
  5.  搬送路に沿って紙葉を移動させる搬送手段と、移動中の前記紙葉の一面へ検知光を照射する発光手段と、移動中の前記紙葉の他面と対向する位置に配置されて紙葉を通過してきた前記検知光を受光すると共に、前記紙葉の移動方向と直交する幅方向に沿って複数配置された受光手段と、前記受光手段に入射した前記検知光に応じた階調の画像データを生成する画像データ生成手段と、前記搬送路の幅方向端部に位置し、当該搬送路の側壁を形成する移動規制手段と、を具備する紙葉鑑別装置において、前記画像データをシェーディング補正するのに用いる白基準データをコンピュータに調整させるプログラムであって、
     前記受光手段の前記幅方向位置が予め定められた特定領域内であること条件に、当該受光手段の画像データをシェーディング補正するための前記白基準データを、所定値に調整する調整手段としてコンピュータを機能させるプログラム。
  6.  搬送路に沿って紙葉を移動させる搬送手段と、
     移動中の前記紙葉の一面へ検知光を照射する発光手段と、
     移動中の前記紙葉の他面と対向する位置に配置されて紙葉を通過してきた前記検知光を受光すると共に、前記紙葉の移動方向と直交する幅方向に沿って複数配置された受光手段と、
     前記受光手段に入射した前記検知光に応じた階調の画像データを生成する画像データ生成手段と、
     前記画像データをシェーディング補正するのに用いる白基準データを記憶する白基準データ記憶手段と、を具備し、
     前記白基準データは、白基準部材に前記検知光を照射することにより得られた第1補正値と、前記白基準部材を透過していない前記検知光を前記受光手段に照射することにより得られた第2補正値とを含んで構成される
     紙葉鑑別装置。
PCT/JP2020/008938 2019-03-29 2020-03-03 紙葉鑑別装置、白基準データの調整方法、及びプログラム WO2020202985A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP20784402.8A EP3951699A4 (en) 2019-03-29 2020-03-03 PAPER SHEET SORTING DEVICE, WHITE REFERENCE DATA SETTING METHOD AND PROGRAM

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2019-066319 2019-03-29
JP2019066319 2019-03-29
JP2020025243A JP6823739B2 (ja) 2019-03-29 2020-02-18 紙葉鑑別装置、白基準データの調整方法、及びプログラム
JP2020-025243 2020-02-18

Publications (1)

Publication Number Publication Date
WO2020202985A1 true WO2020202985A1 (ja) 2020-10-08

Family

ID=72668614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/008938 WO2020202985A1 (ja) 2019-03-29 2020-03-03 紙葉鑑別装置、白基準データの調整方法、及びプログラム

Country Status (2)

Country Link
EP (1) EP3951699A4 (ja)
WO (1) WO2020202985A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7198318B1 (ja) 2021-08-06 2022-12-28 日本金銭機械株式会社 紙幣鑑別用光学センサ装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322625A (ja) 1999-05-13 2000-11-24 Nec Corp 防犯システム内蔵の自動取引装置
JP2000358142A (ja) * 1999-04-12 2000-12-26 Fuji Photo Film Co Ltd 感度補正方法及び画像読取装置
JP2003315944A (ja) * 2002-04-26 2003-11-06 Fuji Photo Film Co Ltd 画像読取装置
JP2004007542A (ja) * 2003-04-03 2004-01-08 Fuji Photo Film Co Ltd シェーディング補正データの生成方法及びシェーディング補正方法
JP2009016915A (ja) * 2007-06-29 2009-01-22 Sharp Corp 原稿読取装置およびそれを備える画像形成装置、ならびに画像処理方法
JP2009295125A (ja) 2008-06-09 2009-12-17 Japan Cash Machine Co Ltd 紙葉類取扱装置
JP2016208126A (ja) * 2015-04-16 2016-12-08 キヤノンファインテック株式会社 画像読取装置、及びその制御方法、プログラム

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6242570B2 (ja) * 2012-09-06 2017-12-06 株式会社東芝 画像読取装置、及び紙葉類処理装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000358142A (ja) * 1999-04-12 2000-12-26 Fuji Photo Film Co Ltd 感度補正方法及び画像読取装置
JP2000322625A (ja) 1999-05-13 2000-11-24 Nec Corp 防犯システム内蔵の自動取引装置
JP2003315944A (ja) * 2002-04-26 2003-11-06 Fuji Photo Film Co Ltd 画像読取装置
JP2004007542A (ja) * 2003-04-03 2004-01-08 Fuji Photo Film Co Ltd シェーディング補正データの生成方法及びシェーディング補正方法
JP2009016915A (ja) * 2007-06-29 2009-01-22 Sharp Corp 原稿読取装置およびそれを備える画像形成装置、ならびに画像処理方法
JP2009295125A (ja) 2008-06-09 2009-12-17 Japan Cash Machine Co Ltd 紙葉類取扱装置
JP2016208126A (ja) * 2015-04-16 2016-12-08 キヤノンファインテック株式会社 画像読取装置、及びその制御方法、プログラム

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7198318B1 (ja) 2021-08-06 2022-12-28 日本金銭機械株式会社 紙幣鑑別用光学センサ装置
WO2023013225A1 (ja) * 2021-08-06 2023-02-09 日本金銭機械株式会社 紙幣鑑別用光学センサ装置
JP2023024202A (ja) * 2021-08-06 2023-02-16 日本金銭機械株式会社 紙幣鑑別用光学センサ装置

Also Published As

Publication number Publication date
EP3951699A1 (en) 2022-02-09
EP3951699A4 (en) 2022-12-28

Similar Documents

Publication Publication Date Title
JP4609531B2 (ja) 画像読取装置
JP4522952B2 (ja) 画像読取装置
US7586592B2 (en) Sheet recognizing device and method
RU2598296C2 (ru) Способ проверки оптического защитного признака ценного документа
US8073245B2 (en) Card identifying apparatus
US8965099B2 (en) Paper sheet recognition apparatus and paper sheet recognition method
JP4703403B2 (ja) 検査装置
EP1962490B1 (en) Image sensor
JP2000131243A (ja) 反射型光センサ
US20110128526A1 (en) Bank notes handling apparatus
WO2020202985A1 (ja) 紙葉鑑別装置、白基準データの調整方法、及びプログラム
JP6823739B2 (ja) 紙葉鑑別装置、白基準データの調整方法、及びプログラム
JP4810257B2 (ja) 画像形成装置
EP0917112B1 (en) Sheet discriminating apparatus
US7015474B2 (en) System and method for detecting and characterizing media
JP7111494B2 (ja) 光検出センサ、光検出装置、シート類処理装置および光検出方法
JP5056892B2 (ja) 画像読取装置
US20210018622A1 (en) Light detection sensor, light detection device, and paper sheets processing device
JP2006093791A (ja) 画像読取装置および画像形成装置
JP5540771B2 (ja) 紙葉類識別装置、紙幣処理装置、及び紙幣取扱装置
WO2016021294A1 (ja) 紙葉類処理装置
JP2003263667A (ja) 紙葉類蛍光検出センサ
JP2009020707A (ja) 紙葉類識別装置
JPH07239960A (ja) 紙幣識別装置
JP2005190370A (ja) 検査装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20784402

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020784402

Country of ref document: EP

Effective date: 20211029