TWI739337B - Paper discriminating device, white reference data adjustment method, program, and calibration method - Google Patents

Paper discriminating device, white reference data adjustment method, program, and calibration method Download PDF

Info

Publication number
TWI739337B
TWI739337B TW109107995A TW109107995A TWI739337B TW I739337 B TWI739337 B TW I739337B TW 109107995 A TW109107995 A TW 109107995A TW 109107995 A TW109107995 A TW 109107995A TW I739337 B TWI739337 B TW I739337B
Authority
TW
Taiwan
Prior art keywords
light
white reference
paper
reference data
image data
Prior art date
Application number
TW109107995A
Other languages
Chinese (zh)
Other versions
TW202101393A (en
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
Application filed by 日商日本金錢機械股份有限公司 filed Critical 日商日本金錢機械股份有限公司
Publication of TW202101393A publication Critical patent/TW202101393A/en
Application granted granted Critical
Publication of TWI739337B publication Critical patent/TWI739337B/en

Links

Images

Landscapes

  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Input (AREA)

Abstract

本發明之課題在於適當地暗影校正紙張的影像。 The subject of the present invention is to appropriately shading and correct the image of the paper.

本發明之解決手段在於具備:受光手段,其是配置於與移動中的紙張之另一面相向的位置用以接收通過紙張而來的偵測光,並且沿與紙張之移動方向正交的寬度方向配置有複數個;及影像資料生成手段,其是用以生成與已入射於受光手段之偵測光相應的階度之影像資料;以及白色基準資料記憶手段,其是記憶白色基準資料,該白色基準資料係藉由對為了暗影校正影像資料所使用的白色基準構件照射偵測光所獲得。在以上的構成中,並具備:移動限制手段,其是位於搬運路徑之寬度方向端部,且形成該搬運路徑之側壁;以及調整手段,其是以受光手段之寬度方向位置為事先所決定之特定區域內為條件,將用以暗影校正該受光手段之影像資料的白色基準資料,調整成既定值。 The solution of the present invention is to provide: light receiving means, which is arranged at a position opposite to the other side of the moving paper to receive the detection light passing through the paper, and along the width direction orthogonal to the moving direction of the paper It is equipped with a plurality of pieces; and an image data generating means, which is used to generate image data corresponding to the level of the detection light that has been incident on the light receiving means; and a white reference data memory means, which memorizes the white reference data, the white The reference data is obtained by irradiating the detection light on the white reference member used for the shading correction of the image data. In the above configuration, it is equipped with: movement restricting means, which is located at the end of the conveying path in the width direction and forming the side wall of the conveying path; and adjustment means, which is determined in advance by the position of the light receiving means in the width direction In a specific area as a condition, the white reference data of the image data used for the shading correction of the light receiving means is adjusted to a predetermined value.

Description

紙張鑑別裝置、白色基準資料的調整方法、程式、以及校正方法 Paper discriminating device, white reference data adjustment method, program, and calibration method

本發明係關於一種紙張鑑別裝置、白色基準資料的調整方法、以及程式(program)。 The invention relates to a paper identification device, a method for adjusting white reference data, and a program.

以往,已知有一種將從插入口所插入的紙張接受於搬運路徑內部並實施紙張之真偽、錢幣種類等之鑑別處理的紙張鑑別裝置。在以上的紙張鑑別裝置中,被搬運至搬運路徑的紙張是由影像感測器(image sensor)所拍攝,且生成表示該紙張的影像資料(image data)。以上的影像資料,係使用於紙張之真偽的鑑別等。 In the past, there has been known a paper discriminating device that accepts paper inserted from the insertion port into the conveying path and performs discriminating processing such as authenticity of the paper, currency type, and the like. In the above paper identification device, the paper being conveyed to the conveying path is captured by an image sensor, and image data representing the paper is generated. The above image data is used to identify the authenticity of the paper.

例如,在專利文獻1,係揭示有一種具備影像感測器(image sensor)的紙張鑑別裝置,該影像感測器係由發光手段及受光手段所構成,該發光手段係朝向搬運路徑的紙張之一面照射偵測光,該受光手段係供朝向紙張之另一面側穿透後的偵測光入射。在以上的紙張鑑別裝置中,有的情況是採用一種暗影校正(shading correction)藉由影像感測器所生成之影像的技術。 For example, Patent Document 1 discloses a paper discriminating device equipped with an image sensor. The image sensor is composed of a light-emitting means and a light-receiving means. One side irradiates the detection light, and the light receiving means allows the detection light that penetrates toward the other side of the paper to enter. Among the above paper discriminating devices, in some cases, a shading correction technique is used to correct the image generated by the image sensor.

[先前技術文獻] [Prior Technical Literature] [專利文獻] [Patent Literature]

專利文獻1:日本特開2009-295125號公報 Patent Document 1: Japanese Patent Application Publication No. 2009-295125

使用於暗影校正的白色基準資料,係由事先所決定的方法所生成。但是,會有以下的情況:難以藉由生成白色基準資料的方法(例如,白色基準構件之形狀),來適當地生成白色基準資料,該白色基準資料係用以校正位於事先所決定之特定區域(例如,搬運路徑的側壁之近旁)的像素之影像資料。考慮以上的情形,本發明之目的係在於能夠調整位於上述之特定區域的像素之白色基準資料。 The white reference data used for shading correction is generated by a predetermined method. However, there will be the following situations: it is difficult to properly generate white reference data by the method of generating white reference data (for example, the shape of the white reference member), and the white reference data is used to calibrate the specific area determined in advance (For example, the image data of the pixels near the side wall of the conveying path). Considering the above situation, the purpose of the present invention is to be able to adjust the white reference data of the pixels located in the above-mentioned specific area.

為了解決以上的課題,而具備:搬運手段,其是使紙張沿搬運路徑移動;及發光手段,其是朝向移動中的紙張之一面照射偵測光;及受光手段,其是配置於與移動中的紙張之另一面相向的位置,用以接收通過紙張而來的偵測光,並且沿與紙張之移動方向正交的寬度方向配置有複數個;及影像資料生成手段,其是用以生成與已入射於受光手段之偵測光相應的階度(gradation)之影像資料;及白色基準資料記憶手段,其是記憶白色基準資料,該白色基準資料係藉由對為了暗影校正影像資料所使用的白色基準構件照射偵測光所獲得;及移動限制手段,其是位於搬運路徑之寬度方向端部,且形成該搬運路徑之側壁;以及調整手段,其是以受光手段之寬度方向位置為事先已決定之特定區域內為條件,將用以暗影校正該受光手段之影像資料的白色基準資料,調整成既定值。In order to solve the above problems, it is provided with: a conveying means, which moves the paper along a conveying path; and a light emitting means, which irradiates a detection light toward one surface of the moving paper; and a light receiving means, which is arranged in and moving The opposite side of the paper is used to receive the detection light from the paper, and a plurality of them are arranged along the width direction orthogonal to the moving direction of the paper; and the image data generating means, which is used to generate and The image data corresponding to the gradation of the detection light that has been incident on the light receiving means; and the white reference data memory means, which memorize the white reference data, which is used to correct the image data for shading The white reference member is obtained by irradiating the detection light; and the movement restricting means, which is located at the end of the conveying path in the width direction, and forming the side wall of the conveying path; and the adjustment means, which is based on the width direction position of the light receiving means. The determined specific area is the condition, and the white reference data of the image data used for the shading correction of the light receiving means is adjusted to a predetermined value.

依據本發明,能適當地暗影校正紙張的影像。According to the present invention, the image of the paper can be shadingly corrected appropriately.

[第一實施形態][First Embodiment]

圖1(a)係第一實施形態的紙幣鑑別裝置H之外觀立體圖。又,圖1(b)係圖1(a)中的A-A線之剖視圖。以上的紙幣鑑別裝置H,係具備由CPU(Central Processing Unit;中央處理單元)、ROM(Read Only Memory;唯讀記憶體)、RAM(Random Access Memory;隨機存取記憶體)及快閃記憶體(flash memory)等所構成的控制裝置。Fig. 1(a) is a perspective view of the appearance of the banknote identification device H of the first embodiment. In addition, Fig. 1(b) is a cross-sectional view taken along the line A-A in Fig. 1(a). The above paper money identification device H is equipped with CPU (Central Processing Unit; Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory; random access memory) and flash memory (flash memory) and other control devices.

如同圖1(a)所示,紙幣鑑別裝置H,係包含下部單元1及上部單元2所構成,且對形成於下部單元1的上表面與上部單元2的下表面之間的搬運路徑4,從插入口3a插入紙張(例如,紙幣)。已插入於插入口3a的紙幣,係朝向圖1(b)之箭頭所示的移動方向移動至搬運路徑4內。As shown in Fig. 1(a), the banknote identification device H is composed of a lower unit 1 and an upper unit 2, and is formed between the upper surface of the lower unit 1 and the lower surface of the upper unit 2 for the conveyance path 4, Insert paper (for example, banknotes) from the insertion port 3a. The banknotes inserted in the insertion port 3a are moved into the conveyance path 4 toward the movement direction shown by the arrow in FIG. 1(b).

如同圖1(b)所示,在紙幣鑑別裝置H,係設置有搬運裝置5。搬運裝置5,係包含複數個下側搬運構件5a及上側搬運構件5b所構成,該複數個下側搬運構件5a係由已配置於搬運路徑4之下側的搬運滾筒(drum)(輥子(roller))、搬運皮帶等所構成,該上側搬運構件5b係配置於搬運路徑4之上側並由與各個下側搬運構件5a分別相向配置的搬運滾筒等所構成。本例的下側搬運構件5a,為一邊以其外周面來與紙幣下表面相接觸且一邊藉由馬達所旋轉驅動的搬運滾筒、搬運皮帶等。上側搬運構件5b係一邊以其外周面來與紙幣上表面相接觸且一邊透過紙幣與下側搬運構件5a共同旋轉。已插入於插入口3a的紙幣,係配置於下側搬運構件5a及上側搬運構件5b之間而被夾持雙面,且伴隨下側搬運構件5a之旋轉以固定速度移動至搬運路徑4。再者,用以搬運紙幣的搬運裝置5係不被限定於上述之例。As shown in FIG. 1(b), the paper money identification device H is provided with a conveying device 5. The conveying device 5 is composed of a plurality of lower conveying members 5a and upper conveying members 5b. )), a conveying belt, etc., and the upper conveying member 5b is arranged on the upper side of the conveying path 4 and is constituted by conveying rollers etc. arranged opposite to the respective lower conveying members 5a. The lower conveyance member 5a of this example is a conveyance roller, a conveyance belt, etc. which are driven by a motor while contacting the lower surface of the banknote with its outer peripheral surface. The upper conveying member 5b is in contact with the upper surface of the banknote with its outer peripheral surface, and rotates together with the lower conveying member 5a through the banknotes. The banknotes inserted in the insertion port 3a are arranged between the lower conveying member 5a and the upper conveying member 5b, are sandwiched on both sides, and move to the conveying path 4 at a fixed speed as the lower conveying member 5a rotates. In addition, the conveying device 5 for conveying banknotes is not limited to the above-mentioned example.

如同圖1(b)所示,紙幣鑑別裝置H,係具備感測器6(6a、6b、6c)。紙幣鑑別裝置H之控制裝置,係因應從感測器6取得已插入於插入口3a的紙幣之真偽等後的資訊而進行鑑別。具體而言,感測器6,係包含二個影像感測器6(6a、6b)及一個磁性感測器6c所構成。但是,亦可設為藉由以上之感測器以外的感測器來鑑別紙幣的構成。As shown in FIG. 1(b), the banknote identification device H includes sensors 6 (6a, 6b, 6c). The control device of the paper money identification device H performs identification in response to information obtained from the sensor 6 on the authenticity of the paper money inserted into the insertion port 3a. Specifically, the sensor 6 is composed of two image sensors 6 (6a, 6b) and a magnetic sensor 6c. However, it can also be set as the structure which discriminates banknotes by the sensor other than the above-mentioned sensor.

第一影像感測器6a,為CIS(Contact Image Sensor;接觸式影像感測器)。又,第二影像感測器6b,係與第一影像感測器6a同樣為CIS。以上的各個影像感測器,係分別包含發光部(例如,後述的發光元件Ga)及受光部(例如,後述的像素Gb),該發光部係朝向搬運路徑4之紙幣照射偵測光,該受光部係供該偵測光入射。又,影像感測器之發光部,係包含反射光源及穿透光源之二種類的光源。各個光源,係照射波長不同的複數種類之偵測光。再者,本發明中的「偵測光」,係除了可見光(波長=360nm至760nm)以外還能包含有不可見光(紅外線等)。The first image sensor 6a is a CIS (Contact Image Sensor; contact image sensor). In addition, the second image sensor 6b is a CIS similar to the first image sensor 6a. Each of the above image sensors includes a light-emitting part (for example, the light-emitting element Ga described later) and a light-receiving part (for example, the pixel Gb mentioned later). The light receiving part is for the detection light to enter. In addition, the light-emitting part of the image sensor includes two types of light sources: a reflective light source and a penetrating light source. Each light source irradiates a plurality of types of detection light with different wavelengths. Furthermore, the "detection light" in the present invention can include invisible light (infrared light, etc.) in addition to visible light (wavelength=360nm to 760nm).

例如,從第一影像感測器6a之反射光源所照射來的偵測光,係在搬運路徑4中的紙幣之一面反射,且朝向第一影像感測器6a之受光部入射。又,從第二影像感測器6b之反射光源所照射來的偵測光,係在搬運路徑4中的紙幣之另一面反射,且朝向第二影像感測器6b之受光部入射。For example, the detection light irradiated from the reflected light source of the first image sensor 6a is reflected on one side of the banknote in the conveying path 4 and enters toward the light receiving part of the first image sensor 6a. In addition, the detection light irradiated from the reflected light source of the second image sensor 6b is reflected on the other side of the banknote in the conveying path 4, and enters toward the light receiving part of the second image sensor 6b.

從第一影像感測器6a之穿透光源所照射來的偵測光,係從搬運路徑4中的紙幣之一面側朝向另一面側穿透,且朝向第二影像感測器6b之受光部入射。又,從第二影像感測器6b之穿透光源所照射來的偵測光,係從搬運路徑4中的紙幣之另一面側朝向一面側穿透,且朝向第一影像感測器6a之受光部入射。The detection light irradiated from the penetrating light source of the first image sensor 6a penetrates from one side of the banknote in the conveying path 4 to the other side, and faces the light-receiving part of the second image sensor 6b Incident. In addition, the detection light irradiated from the penetrating light source of the second image sensor 6b penetrates from the other side of the banknote in the conveying path 4 toward one side, and faces the first image sensor 6a. The light receiving part is incident.

影像感測器(6a、6b)之受光部,係由複數個像素所構成。又,與已入射於以上之像素的偵測光(穿透光、反射光)相應的偵測信號,是輸入至上述的控制裝置。控制裝置之CPU,係執行已記憶於ROM的程式,藉此基於偵測信號來生成表示紙幣的影像資料。The light receiving part of the image sensor (6a, 6b) is composed of a plurality of pixels. In addition, a detection signal corresponding to the detection light (transmitted light, reflected light) that has been incident on the above pixels is input to the above-mentioned control device. The CPU of the control device executes the program stored in the ROM to generate image data representing the banknote based on the detection signal.

根據影像資料,來執行除去暗電流成分的黑色校正處理。又,雖然詳細將於後述,但是在執行黑色校正處理之後,會對影像資料執行暗影校正。所謂暗影校正,係指減低影像資料所包含之亮度不均的方法,例如是指藉由白色基準資料的各個像素之階度,來除以所對應之影像資料的各個像素之階度,以校正該影像資料的各個像素之階度的方法。使用於暗影校正的白色基準資料,例如是在供紙幣鑑別裝置H製造的工序中所生成,且記憶於控制裝置之快閃記憶體。According to the image data, black correction processing to remove dark current components is performed. Also, although the details will be described later, after performing the black correction processing, the shading correction is performed on the image data. The so-called shading correction refers to the method of reducing the uneven brightness contained in the image data, for example, by dividing the level of each pixel of the white reference data by the level of each pixel of the corresponding image data to correct The method of the level of each pixel of the image data. The white reference data used for shading correction is, for example, generated during the manufacturing process of the banknote identification device H and stored in the flash memory of the control device.

磁性感測器6c,係檢測紙幣的印刷面之油墨中所含有的鐵成分。CPU係藉由來自以上之感測器6的偵測信號來鑑別紙幣。例如,在已判斷出非為合法的紙幣之情況下,該紙幣會藉由搬運裝置5從插入口3a被排出。另一方面,在已判斷出為合法的紙幣之情況下,該紙幣會朝向取入口3b移動。雖然省略詳細的說明,但是紙幣鑑別裝置H,係安裝於例如日本特開2009-295125號公報所記載的紙張處理裝置。朝向紙幣鑑別裝置H之取入口3b移動後的紙幣,之後會容納於紙張處理裝置之容納單元。The magnetic sensor 6c detects the iron component contained in the ink on the printing surface of the banknote. The CPU uses the detection signal from the above sensor 6 to identify banknotes. For example, in a case where it has been determined that it is not a legal banknote, the banknote is discharged from the insertion port 3a by the conveying device 5. On the other hand, when it has been judged to be a legal banknote, the banknote moves toward the intake port 3b. Although detailed description is omitted, the banknote identification device H is installed in, for example, a paper processing device described in Japanese Patent Application Laid-Open No. 2009-295125. The banknotes moved toward the intake port 3b of the banknote discriminating device H are then accommodated in the accommodating unit of the paper processing device.

圖2(a)係紙幣鑑別裝置H之分解立體圖。又,圖2(b)係上述之圖1(a)中的B-B線之剖視圖。如同圖2(a)所示,紙幣鑑別裝置H,係除了上述之下部單元1、上部單元2、第一影像感測器6a及第二影像感測器6b,還包含下部蓋體(lower cover)7、上部承盤(upper tray)8、反射用白色基準片9(9a、9b)。再者,在圖2(b)中,係省略紙幣鑑別裝置H的各個構成之中的第一影像感測器6a、第二影像感測器6b、下部蓋體7、上部承盤8及反射用白色基準片9(9a、9b)以外的構成來顯示。Fig. 2(a) is an exploded perspective view of the banknote identification device H. In addition, Fig. 2(b) is a cross-sectional view taken along the line B-B in Fig. 1(a) described above. As shown in Figure 2(a), the banknote identification device H includes the lower unit 1, the upper unit 2, the first image sensor 6a, and the second image sensor 6b, and also includes a lower cover ) 7. Upper tray 8, white reference sheet 9 for reflection (9a, 9b). Furthermore, in FIG. 2(b), the first image sensor 6a, the second image sensor 6b, the lower cover 7, the upper holder 8 and the reflector among the various components of the banknote identification device H are omitted. Display with a structure other than the white reference sheet 9 (9a, 9b).

如圖2(a)所示,上部承盤8係形成於上面具有有底之凹處8a的大致箱狀,如圖2(b)所示,在上部承盤8之凹處8a內係收納有第一影像感測器6a。更且,如圖2(b)所示,上部承盤8之下表面8b,係形成搬運路徑4之上面(頂面)。以上的上部承盤8,係由具有光穿透性的材料,例如透明的樹脂所形成。As shown in Fig. 2(a), the upper bearing plate 8 is formed in a substantially box shape with a bottomed recess 8a on the upper surface. As shown in Fig. 2(b), the upper bearing plate 8 is housed in the recess 8a There is a first image sensor 6a. Furthermore, as shown in FIG. 2(b), the lower surface 8b of the upper support plate 8 forms the upper surface (top surface) of the conveyance path 4. The above upper support plate 8 is formed of a light-transmitting material, such as a transparent resin.

在圖2(b)係顯示有作為第一影像感測器6a之穿透光源的複數個發光元件Ga。再者,在圖2(b)中,係選取全部的發光元件Ga之一部分來顯示。以上的發光元件Ga,係在已將搬運路徑4之紙幣移動的方向作為Y軸方向(搬運方向)的情況下,以相對於Y軸方向沿朝向水平方向正交的X軸方向(寬度方向)延伸複數個的方式來配置。在本實施形態中, 720個發光元件Ga是朝向X軸方向排列。Fig. 2(b) shows a plurality of light-emitting elements Ga as the penetrating light source of the first image sensor 6a. Furthermore, in FIG. 2(b), a part of all the light-emitting elements Ga is selected and displayed. The above light-emitting element Ga is based on the X-axis direction (width direction) perpendicular to the horizontal direction with respect to the Y-axis direction when the direction in which the banknotes move in the conveying path 4 is taken as the Y-axis direction (conveying direction) Extend multiple ways to configure. In this embodiment, 720 light-emitting elements Ga are arranged in the X-axis direction.

如圖2(b)所示,第一影像感測器6a,係以發光元件Ga位於上述之下表面8b側的方式收納於上部承盤8之凹處8a內。如同上面所述,上部承盤8係具有光穿透性。從而,從發光元件Ga所照射來的偵測光,係可以穿透上部承盤8而朝向搬運路徑4進入。As shown in FIG. 2(b), the first image sensor 6a is housed in the recess 8a of the upper support plate 8 in such a way that the light emitting element Ga is located on the side of the lower surface 8b. As mentioned above, the upper bearing plate 8 is light-transmissive. Therefore, the detection light irradiated from the light-emitting element Ga can penetrate the upper holder 8 and enter toward the conveyance path 4.

如圖2(b)所示,本實施形態之第二影像感測器6b,係具備供從第一影像感測器6a所照射來的偵測光入射的複數個像素Gb。再者,在圖2(b)中,係選取全部的像素Gb之中的一部分來顯示。在以上的第二影像感測器6b,係設置有與第一影像感測器6a之發光元件Ga相同數目(720個)的像素Gb。又,各個像素Gb係與發光元件Ga同樣地排列於X軸方向,一個發光元件Ga與一個像素Gb係以光軸L(參照圖2(b))一致的方式來相向。As shown in FIG. 2(b), the second image sensor 6b of this embodiment includes a plurality of pixels Gb into which the detection light irradiated from the first image sensor 6a enters. Furthermore, in FIG. 2(b), a part of all the pixels Gb is selected for display. The above second image sensor 6b is provided with the same number (720) of pixels Gb as the light-emitting elements Ga of the first image sensor 6a. In addition, each pixel Gb is arranged in the X-axis direction similarly to the light-emitting element Ga, and one light-emitting element Ga and one pixel Gb face each other so that the optical axis L (see FIG. 2(b)) coincides.

如圖2(a)所示,在下部蓋體7,係設置有右側壁面7a、左側壁面7b、凹處7c及上表面7d,該凹處7c係沿下部蓋體之搬運方向裡側端緣形成有缺口且朝向上下方向貫通,該上表面7d係位於已迴避凹處7c的部位。如圖2(b)所示,下部蓋體7,係以覆蓋第二影像感測器6b之上面(像素Gb側)的方式所設置。又,下部蓋體7之上表面7d係構成搬運路徑4之底面。從本實施形態中的搬運路徑4之底面(下部蓋體7)至頂面(上部承盤8)為止的高度(圖2(b)所示之距離h)係約為2mm。As shown in Figure 2(a), the lower cover 7 is provided with a right side wall 7a, a left side wall 7b, a recess 7c, and an upper surface 7d. The recess 7c is along the inner end edge of the lower cover in the conveying direction A notch is formed and penetrates in the up-down direction, and the upper surface 7d is located at a position where the recess 7c has been avoided. As shown in FIG. 2(b), the lower cover 7 is arranged to cover the upper surface (the pixel Gb side) of the second image sensor 6b. In addition, the upper surface 7d of the lower cover 7 constitutes the bottom surface of the conveyance path 4. The height (distance h shown in FIG. 2(b)) from the bottom surface (lower cover 7) to the top surface (upper tray 8) of the conveyance path 4 in this embodiment is about 2 mm.

當下部蓋體7設置於下部單元1上時,搬運裝置5之搬運皮帶等的下側搬運構件5a就會透過凹處7c朝向搬運路徑4側突出。搬運路徑4之紙幣,係伴隨搬運皮帶之旋轉朝向搬運方向移動。When the lower cover 7 is installed on the lower unit 1, the lower conveying member 5a such as the conveying belt of the conveying device 5 protrudes toward the conveying path 4 side through the recess 7c. The banknotes in the conveying path 4 move in the conveying direction along with the rotation of the conveying belt.

下部蓋體7,係與上述的上部承盤8同樣地由透明的樹脂等之具有光穿透性的材料所形成。從而,從第一影像感測器6a之發光元件Ga所照射,且穿透搬運路徑4之紙幣後的偵測光,係能夠穿透下部蓋體7(上表面7d),並入射於第二影像感測器6b之像素Gb。The lower cover 7 is formed of a light-transmitting material, such as transparent resin, similarly to the above-mentioned upper receiving plate 8. Therefore, the detection light irradiated from the light-emitting element Ga of the first image sensor 6a and penetrating the paper money in the conveying path 4 can penetrate the lower cover 7 (upper surface 7d) and be incident on the second The pixel Gb of the image sensor 6b.

如圖2(b)所示,下部蓋體7之右側壁面7a及左側壁面7b,係形成搬運路徑4之側壁。具體而言,右側壁面7a,係從移動至搬運路徑4的紙幣來看形成右側之側壁。又,左側壁面7b,係從移動至搬運路徑4的紙幣來看形成左側之側壁。在本實施形態中,為了說明起見,將X軸(主掃描軸)上的區域之中從右側壁面7a至左側壁面7b為止的區域稱為「區域R」。以上的區域R,係指供用以鑑別紙幣的影像拍攝的區域。As shown in FIG. 2(b), the right side wall surface 7a and the left side wall surface 7b of the lower cover 7 form the side walls of the conveyance path 4. Specifically, the right side wall 7a forms a right side wall when viewed from the banknotes moved to the conveyance path 4. In addition, the left side wall surface 7b forms a left side wall when viewed from the banknotes moved to the conveyance path 4. In this embodiment, for the sake of description, the area from the right wall surface 7a to the left wall surface 7b among the areas on the X axis (main scanning axis) is referred to as "area R". The above area R refers to the area used for imaging the banknotes.

在本實施形態中,區域R之長度(從右側壁面7a至左側壁面7b為止的距離),係僅比移動至搬運路徑4的紙幣之X軸方向的寬度還長約4mm。以上的構成,係與例如區域R之長度比紙幣之寬度還長4mm以上的構成相較,搬運路徑4的寬度會變短。從而,依據本實施形態,會有容易將紙幣鑑別裝置H小型化的優點。In the present embodiment, the length of the region R (the distance from the right wall surface 7a to the left wall surface 7b) is only about 4 mm longer than the width of the banknotes moving to the conveyance path 4 in the X-axis direction. In the above configuration, the width of the conveying path 4 becomes shorter than the configuration in which the length of the region R is longer than the width of the banknote by 4 mm or more, for example. Therefore, according to the present embodiment, there is an advantage that the paper money identification device H can be easily downsized.

如同上面所述,本實施形態的紙幣鑑別裝置H,係能夠進行影像之暗影校正。具體而言,紙幣鑑別裝置H,係能夠進行藉由反射光源所獲得的影像之暗影校正、以及藉由穿透光源所獲得的影像之暗影校正的雙方。As described above, the banknote identification device H of this embodiment is capable of performing shading correction of images. Specifically, the paper money identification device H is capable of performing both the shading correction of the image obtained by the reflected light source and the shading correction of the image obtained by the penetrating light source.

紙幣鑑別裝置H,係使用上述的區域R之外側的反射光源及受光部,來生成使用於藉由反射光源所獲得的影像之暗影校正的白色基準資料。另一方面,使用於藉由穿透光源(發光元件Ga)所獲得的影像之暗影校正的白色基準資料,係使用上述的區域R之內側的穿透光源及受光部(像素Gb)來生成。The banknote identification device H uses the reflected light source and the light receiving part outside the above-mentioned area R to generate white reference data used for shading correction of the image obtained by the reflected light source. On the other hand, the white reference data used for shading correction of the image obtained by the penetrating light source (light emitting element Ga) is generated using the penetrating light source and the light receiving portion (pixel Gb) inside the region R described above.

紙幣鑑別裝置H,係為了生成使用於藉由反射光源所獲得的影像之暗影校正的白色基準資料而具備反射用白色基準片(9a、9b)。如同圖2(a)所示,在以上的反射用白色基準片9係設置有白色的二個反射板T。如同圖2(b)所示,反射用白色基準片9,係以反射板T位於區域R之外側的區域r之方式所設置。再者,如同圖2(b)所示,各個反射板T之前端係抵接於下部蓋體7。在本實施形態中,在區域R及區域r之全區域排列有像素Gb。The banknote identification device H is equipped with white reference sheets (9a, 9b) for reflection in order to generate white reference data used for shading correction of an image obtained by a reflected light source. As shown in FIG. 2(a), two white reflection plates T are provided on the above white reference sheet 9 for reflection. As shown in FIG. 2(b), the white reference sheet 9 for reflection is installed so that the reflection plate T is located in the region r outside the region R. As shown in FIG. Furthermore, as shown in FIG. 2( b ), the front end of each reflector T abuts against the lower cover 7. In this embodiment, the pixels Gb are arranged in the entire area of the area R and the area r.

在二個反射板T之中一方的反射板T,係可供從第一影像感測器6a的反射光源之中位於區域r的反射光源所射出來的光照射。又,從以上的反射光源所射出且在反射板T反射來的光,係入射於第一影像感測器6a之反射光用的受光元件(像素)。同樣,在二個反射板T之中另一方的反射板T,係可供從第二影像感測器6b的反射光源之中位於區域r的反射光源所射出來的光照射。又,從以上的反射光源所射出且在反射板T反射來的光,係入射於第二影像感測器6b之反射光用的受光元件(像素)。控制裝置之CPU,係因應已入射於受光元件之來自反射板T的反射光之階度,來生成用以校正由反射光源所獲得之影像的白色基準資料。One of the two reflective plates T can be irradiated with light emitted from the reflective light source located in the region r among the reflective light sources of the first image sensor 6a. In addition, the light emitted from the above reflective light source and reflected on the reflector T is a light receiving element (pixel) for reflected light incident on the first image sensor 6a. Similarly, the other reflective plate T among the two reflective plates T can be irradiated by the light emitted from the reflective light source located in the region r among the reflective light sources of the second image sensor 6b. In addition, the light emitted from the above reflective light source and reflected on the reflector T is a light receiving element (pixel) for reflected light incident on the second image sensor 6b. The CPU of the control device generates white reference data for correcting the image obtained by the reflected light source according to the degree of the reflected light from the reflector T that has been incident on the light receiving element.

如同以上所述,藉由反射光源所獲得的影像之白色基準資料,係使用反射用白色基準片9(反射板T)所生成。另一方面,藉由穿透光源(發光元件Ga)所獲得的影像之白色基準資料,係使用後述的白色基準構件10(參照圖3)所生成。再者,生成藉由反射光源所獲得的影像之白色基準資料的時期係可以適當地設定。例如,亦可設為在紙幣剛插入於插入口3a之後(紙幣由影像感測器所偵測之前),生成以上的白色基準資料的構成。As described above, the white reference data of the image obtained by the reflected light source is generated using the white reference sheet 9 for reflection (reflection plate T). On the other hand, the white reference data of the image obtained by the penetrating light source (light emitting element Ga) is generated using the white reference member 10 (refer to FIG. 3) described later. Furthermore, the time period for generating the white reference data of the image obtained by the reflected light source can be appropriately set. For example, just after the banknote is inserted into the insertion port 3a (before the banknote is detected by the image sensor), the above white reference data may be generated.

圖3(a)係上述的白色基準構件10之立體圖。在本實施形態中,係在紙幣鑑別裝置H之製造過程中,使用白色基準構件10來生成白色基準資料。但是,亦可設為白色基準資料在其他的時機生成的構成。白色基準構件10,係在生成白色基準資料的情況下,配置於搬運路徑4(下部蓋體7之上表面7d)(參照後述的圖3(b))。又,白色基準構件10,係在生成白色基準資料之後,藉由作業員所拆除。亦即,在紙幣鑑別裝置H作為完成品來出貨的情況下,在搬運路徑4不配置有白色基準構件10。Fig. 3(a) is a perspective view of the white reference member 10 described above. In this embodiment, the white reference member 10 is used to generate the white reference data during the manufacturing process of the banknote identification device H. However, the white reference data may be generated at another timing. The white reference member 10 is arranged on the conveyance path 4 (the upper surface 7d of the lower cover 7) when the white reference data is generated (refer to FIG. 3(b) described later). In addition, the white reference member 10 is removed by the operator after the white reference data is generated. That is, when the banknote identification device H is shipped as a finished product, the white reference member 10 is not arranged in the conveyance path 4.

如同圖3(a)所示,白色基準構件10,係包含白色基準薄片10a、以及保持白色基準薄片10a之外周緣的矩形環狀之防護構件(guard member)10b所構成。白色基準薄片10a,係在發光元件Ga之偵測光已照射的情況下,會穿透與紙幣之白色部分同樣的光(種類、強度)。以上的白色基準薄片10a,例如是由與紙幣大致相同的厚度所形成。As shown in FIG. 3(a), the white reference member 10 is composed of a white reference sheet 10a and a rectangular ring-shaped guard member 10b that holds the outer periphery of the white reference sheet 10a. The white reference sheet 10a penetrates the same light (type and intensity) as the white part of the banknote when the detection light of the light-emitting element Ga has been irradiated. The above-mentioned white reference sheet 10a is formed of, for example, approximately the same thickness as a banknote.

防護構件10b,為外緣呈大致矩形的大致板狀之環狀構件(殼體),且如同圖3(a)所示,設置有已貫通的開口部K。白色基準薄片10a,係以堵塞開口部K的方式安裝(貼附)於防護構件10b。防護構件10b,係由強度比白色基準薄片10a還高且比重較大(較重)的材料所形成。例如,防護構件10b是由不鏽鋼等的合金所形成。The shield member 10b is a substantially plate-shaped ring-shaped member (housing) with a substantially rectangular outer edge, and as shown in FIG. 3(a), a penetrating opening K is provided. The white reference sheet 10a is attached (attached) to the protection member 10b so as to block the opening K. The protective member 10b is formed of a material with a higher strength and a larger specific gravity (heavier) than the white reference sheet 10a. For example, the protective member 10b is formed of an alloy such as stainless steel.

依據設置有防護構件10b的白色基準構件10,則與例如僅由白色基準薄片10a所構成的白色基準構件10相較,會有以下的優點:在將白色基準構件10配置於搬運路徑4時,能抑制白色基準薄片10a折彎的缺陷。又,有以下的優點:能抑制白色基準構件10(白色基準薄片10a)因風的影響而偏離的缺陷。According to the white reference member 10 provided with the protection member 10b, compared with, for example, the white reference member 10 composed of only the white reference sheet 10a, there is the following advantage: when the white reference member 10 is arranged in the conveyance path 4, The bending defect of the white reference sheet 10a can be suppressed. In addition, there is an advantage that the defect that the white reference member 10 (white reference sheet 10a) deviates due to the influence of wind can be suppressed.

圖3(b)係用以說明已載置於搬運路徑4的白色基準構件10之示意圖。在生成白色基準資料的情況下,可藉由作業員暫時在搬運路徑4配置白色基準構件10。具體而言,白色基準構件10是配置於第一影像感測器6a與第二影像感測器6b之間,且配置於可供第一影像感測器6a之發光元件Ga已照射的偵測光照射的位置。FIG. 3(b) is a schematic diagram for explaining the white reference member 10 that has been placed on the conveyance path 4. In the case of generating white reference data, the white reference member 10 can be temporarily arranged on the conveyance path 4 by an operator. Specifically, the white reference member 10 is arranged between the first image sensor 6a and the second image sensor 6b, and is arranged for detecting that the light-emitting element Ga of the first image sensor 6a has been illuminated. The location of the light.

如同圖3(b)所示,白色基準構件10之長邊的長度,係與區域R之長度近似(大致相等)。在以上的情況下,白色基準構件10(防護構件10b)之短邊,係位於(大致抵接於)搬運路徑4之側壁(7a、7b)的近旁。再者,白色基準構件10之構成係不被限定於上述之例。As shown in FIG. 3(b), the length of the long side of the white reference member 10 is approximately (approximately equal) to the length of the region R. In the above case, the short side of the white reference member 10 (protection member 10b) is located (approximately abutting) near the side walls (7a, 7b) of the conveyance path 4. In addition, the structure of the white reference member 10 is not limited to the above-mentioned example.

在生成白色基準資料時,已將白色基準構件10載置於搬運路徑4之區域R的狀態下,會從發光元件Ga照射出偵測光。在以上的情況下,來自發光元件Ga的偵測光之中,已照射於白色基準構件10之白色基準薄片10a的偵測光,係穿透白色基準薄片10a而入射於像素Gb。從已入射於以上之像素Gb的偵測光,來生成適當的白色基準資料。When generating white reference data, in a state where the white reference member 10 has been placed in the area R of the conveyance path 4, detection light is irradiated from the light-emitting element Ga. In the above case, among the detection light from the light-emitting element Ga, the detection light that has been irradiated on the white reference sheet 10a of the white reference member 10 penetrates the white reference sheet 10a and is incident on the pixel Gb. From the detection light incident on the above pixel Gb, an appropriate white reference data is generated.

另一方面,白色基準構件10之中防護構件10b,係與紙幣的白色部分(白色基準薄片10a)相較,光之穿透率較低。例如,在防護構件10b為金屬製的情況下,不會使偵測光穿透。從而,在已將白色基準構件10設置於區域R的狀態下,使偵測光從第一影像感測器6a之發光元件Ga照射的情況下,已照射於防護構件10b(長邊方向兩端部10b’)的偵測光,因不朝向第二影像感測器6b側穿透,故而不由像素Gb所受光。在以上的情況下,不能適當地生成用以暗影校正該像素Gb已生成之像素資料的白色基準資料(參照後述的圖5(b))。On the other hand, in the white reference member 10, the protective member 10b has a lower light transmittance than the white part of the banknote (the white reference sheet 10a). For example, when the protective member 10b is made of metal, the detection light will not pass through. Therefore, in the state where the white reference member 10 has been installed in the region R, the detection light is irradiated from the light-emitting element Ga of the first image sensor 6a, and has been irradiated to the protective member 10b (at both ends in the longitudinal direction) The detection light of the portion 10b′) does not pass through the second image sensor 6b, so it is not received by the pixel Gb. In the above case, the white reference data (refer to FIG. 5(b) described later) for shading correction of the pixel data already generated for the pixel Gb cannot be appropriately generated.

如同從以上的說明所理解,在使用本實施形態之白色基準構件10生成白色基準資料後的情況下,不能適當地生成用以校正與防護構件10b之長邊方向兩端部10b’相向的像素Gb之影像的白色基準資料。亦即,不能適當地生成位於搬運路徑4之側壁近旁的像素Gb之白色基準資料。在不能適當地生成位於搬運路徑4之側壁近旁的像素Gb之白色基準資料的情況下,例如會如圖3(c)所示,在紙幣B已移動至搬運路徑4之側壁近旁的情況下會成為問題。As understood from the above description, when the white reference member 10 of this embodiment is used to generate white reference data, it is impossible to properly generate pixels for correcting the opposite ends 10b' of the protection member 10b in the longitudinal direction. The white reference data of the Gb image. That is, the white reference data of the pixel Gb located near the side wall of the conveyance path 4 cannot be appropriately generated. In the case where the white reference data of the pixels Gb located near the side wall of the conveying path 4 cannot be properly generated, for example, as shown in FIG. Become a problem.

例如,以往在ATM(Automatic Teller Machine;自動櫃員機)裝置等中,有採用一種紙幣被非法取出(被盜)的情況下,會對該紙幣噴射被盜油墨的技術(例如,參照日本特開2000-322625號公報)。根據以上的情形,在紙幣鑑別裝置H中,較佳的構成是能夠判別在被插入的紙幣是否已附著被盜油墨。但是,被盜油墨有很多的情況是附著於紙幣之寬度方向外緣近旁的部位。從而,假使在不能適當地進行在搬運路徑4之側壁近旁所拍攝到的影像之暗影校正的情況下,有的情況無法正確地判別在該紙幣是否已附著被盜油墨。For example, in the past, ATM (Automatic Teller Machine; automatic teller machine) devices, etc., have adopted a technology that sprays stolen ink on the banknote when the banknote is illegally taken out (stolen) (for example, refer to Japanese Patent Publication 2000 -Bulletin No. 322625). Based on the above situation, in the banknote discriminating device H, a preferable configuration is capable of determining whether or not stolen ink has adhered to the inserted banknote. However, there are many cases where the stolen ink adheres to a location near the outer edge of the banknote in the width direction. Therefore, if the shading correction of the image taken near the side wall of the conveyance path 4 cannot be performed properly, there are cases in which it is impossible to accurately determine whether the stolen ink has adhered to the banknote.

考慮以上的情形,本實施形態的紙幣鑑別裝置H,係具備:搬運路徑4之側壁近旁的影像能適當地暗影校正的構成(後述之圖4所示的白色基準資料生成部107等)。依據以上的紙幣鑑別裝置H,會有以下的優點:一邊將搬運路徑4之寬度形成比較短,同時一邊可以適當地發現已附著於紙幣之外緣近旁的被盜油墨。Considering the above situation, the banknote identification device H of the present embodiment is provided with a structure in which the image near the side wall of the conveying path 4 can be appropriately shaded (the white reference data generating unit 107 shown in FIG. 4 described later). According to the above banknote identification device H, there are advantages in that the width of the conveying path 4 is made relatively short, and at the same time, the stolen ink that has adhered to the outer edge of the banknote can be properly detected.

具體而言,本實施形態的紙幣鑑別裝置H,係採用了以下的構成:在使用白色基準構件10來生成白色基準資料之後,能夠調整用以校正與防護構件10b相向的像素Gb之影像的白色基準資料。依據以上的構成,因即便紙幣B已移動至搬運路徑4之側壁近旁的情況下,仍能適當地暗影校正搬運路徑4之側壁近旁的像素Gb之影像,故而可以以鮮明的影像來鑑別該紙幣B。Specifically, the banknote discriminating device H of the present embodiment adopts the following configuration: after the white reference member 10 is used to generate white reference data, the white color of the image of the pixel Gb facing the protection member 10b can be adjusted to be adjusted. Benchmark information. According to the above structure, even if the banknote B has moved to the vicinity of the side wall of the conveying path 4, the image of the pixel Gb near the side wall of the conveying path 4 can still be shadow-corrected, so that the banknote can be identified with a clear image. B.

再者,作為適當地生成搬運路徑4之側壁近旁的像素Gb之白色基準資料其他方法,係可考慮以下的方法:將能夠載置白色基準構件10的防護構件10b之長邊方向兩端部10b’的區域設置於區域R之外側(側壁之外側),且使區域R之全區與白色基準薄片10a相向。但是,在以上的方法中,可能會發生紙幣鑑別裝置H不易小型化的缺陷。在本實施形態中,係能抑制以上的缺陷。In addition, as another method of appropriately generating white reference data for pixels Gb near the side walls of the conveyance path 4, the following method can be considered: the both ends 10b in the longitudinal direction of the protective member 10b on which the white reference member 10 can be placed The area of 'is arranged on the outer side of the area R (outside the side wall), and the entire area of the area R is opposed to the white reference sheet 10a. However, in the above method, there may be a defect that the paper money identification device H is not easy to be miniaturized. In this embodiment, the above defects can be suppressed.

圖4係第一實施形態的紙幣鑑別裝置100(H)之功能方塊圖。藉由紙幣鑑別裝置100之CPU執行程式,就能實現各種的功能。但是,在紙幣鑑別裝置100之製造工序中,亦可將紙幣鑑別裝置100與外部電腦連接成能夠通信,且該外部電腦是實現圖4所示的各個功能之一部分(例如,後述的白色基準資料生成部107)。在以上的情況下,紙幣鑑別裝置100及外部電腦之組合能相當於本發明的「紙張鑑別裝置」。Fig. 4 is a functional block diagram of the banknote identification device 100(H) of the first embodiment. Various functions can be realized by the CPU of the banknote identification device 100 executing programs. However, in the manufacturing process of the paper money identification device 100, the paper money identification device 100 can also be connected to an external computer so as to be able to communicate, and the external computer is a part of each function shown in FIG. 4 (for example, the white reference data described later) The generating unit 107). In the above case, the combination of the paper money identification device 100 and an external computer can be equivalent to the "paper identification device" of the present invention.

如同圖4所示,紙幣鑑別裝置100,係具備搬運控制部101、感測器部102、感測器控制部103、影像資料生成部104、白色基準資料記憶部105、校正部106及白色基準資料生成部107。搬運控制部101,係控制上述的搬運裝置5。例如,當紙幣被插入於插入口3a時,搬運控制部101就會輸出使搬運裝置5之下側搬運構件5a(搬運皮帶等)旋轉的驅動信號,以便該紙幣朝向搬運方向移動。As shown in FIG. 4, the banknote identification 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. The conveyance control unit 101 controls the aforementioned conveyance device 5. For example, when a banknote is inserted into the insertion port 3a, the conveyance control unit 101 outputs a drive signal for rotating the conveying member 5a (conveying belt, etc.) on the lower side of the conveying device 5 so that the banknote moves in the conveying direction.

感測器部102,係包含上述的第一影像感測器6a及第二影像感測器6b所構成。又,感測器控制部103,係將第一影像感測器6a之發光元件Ga進行點亮控制。例如,感測器控制部103,係在紙幣通過上述之區域R的期間(以下稱為「拍攝期間」)中使發光元件Ga點亮。又,感測器控制部103,係將表示在拍攝期間之各個時間點已入射於各個像素Gb的偵測光(穿透紙幣後的偵測光)之階度的信號,朝向後述的影像資料生成部104輸入。The sensor unit 102 is composed of the above-mentioned first image sensor 6a and second image sensor 6b. In addition, the sensor control unit 103 controls the 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 when the banknote passes through the above-mentioned region R (hereinafter referred to as the "imaging period"). In addition, the sensor control unit 103 directs the signal indicating the level of the detection light (detection light after penetrating the banknote) that has been incident on each pixel Gb at various points in the shooting period toward the image data described later The generating unit 104 inputs.

本實施形態的感測器控制部103,係在紙幣鑑別裝置H之製造過程生成白色基準資料的期間(以下稱為「生成期間」)中使發光元件Ga點亮。又,感測器控制部103,係將表示在以上的生成期間之各個時間點已入射於各個像素Gb的偵測光(穿透白色基準薄片10a後的偵測光)之階度的信號,朝向後述的白色基準資料生成部107輸入。The sensor control unit 103 of the present embodiment lights the light-emitting element Ga during the period during which the white reference data is generated during the manufacturing process of the banknote discriminating device H (hereinafter referred to as "generation period"). In addition, the sensor control unit 103 is a signal indicating the level of the detection light (detection light after penetrating the white reference sheet 10a) that has been incident on each pixel Gb at each time point during the above generation period, It is input to the white reference data generating unit 107 described later.

影像資料生成部104,係生成表示已被插入於插入口3a的紙幣之影像的影像資料。具體而言,在紙幣通過上述之區域R的拍攝期間之各個時間點,表示已入射於各個像素Gb的偵測光(穿透紙幣後的偵測光)之階度的信號會朝向影像資料生成部104輸入。影像資料生成部104,係根據以上的信號來生成表示該紙幣的影像資料。The image data generating unit 104 generates image data representing an image of the banknote inserted into the insertion port 3a. Specifically, at each time point during the shooting period when the banknote passes through the above-mentioned region R, a signal indicating the level of the detection light (detection light after penetrating the banknote) that has been incident on each pixel Gb will be generated toward the image data部104input. The image data generating unit 104 generates image data representing the banknote based on the above-mentioned signals.

白色基準資料記憶部105,係記憶使用於影像資料生成部104已生成的影像資料之暗影校正的白色基準資料。以上的白色基準資料,係藉由後述的白色基準資料生成部107所生成。The white reference data storage unit 105 stores 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 generating unit 107 described later.

校正部106,係使用上述的白色基準資料,來進行影像資料生成部104已生成的影像資料之暗影校正。再者,在紙幣鑑別裝置100中,係在暗影校正之前先執行影像資料之黑色校正處理。具體而言,紙幣鑑別裝置100,係在影像感測器(6a、6b)之發光元件Ga熄滅的期間中,記憶從像素Gb所取得的暗電流成分。又,紙幣鑑別裝置100,係在影像資料已生成的情況下,從該影像資料減去上述的暗電流成分。The correction unit 106 uses the aforementioned white reference data to perform shading correction of the image data generated by the image data generation unit 104. Furthermore, in the banknote identification device 100, the black correction process of the image data is performed before the shading correction. Specifically, the banknote identification device 100 stores the dark current component obtained from the pixel Gb during the period when the light emitting element Ga of the image sensor (6a, 6b) is turned off. In addition, the banknote identification device 100 subtracts the aforementioned dark current component from the image data when the image data has been generated.

白色基準資料生成部107,係包含調整位置決定部108及調整部109所構成,且生成由白色基準資料記憶部105所記憶的白色基準資料。如同上面所述,在白色基準資料生成部107,係在紙幣鑑別裝置100之製造過程生成白色基準資料的生成期間中,表示已入射於各個像素Gb的偵測光(穿透白色基準薄片10a後的偵測光)之階度的信號會從上述的感測器部102輸入。白色基準資料生成部107,係根據以上的信號來生成調整前白色基準資料(參照後述的圖5(b))。The white reference data generation unit 107 is composed of an adjustment position determination unit 108 and an adjustment unit 109, and generates the white reference data stored in the white reference data storage unit 105. As described above, in the white reference data generation section 107, during the generation period of the white reference data generated during the manufacturing process of the banknote discriminating device 100, the detection light that has entered each pixel Gb (after penetrating the white reference sheet 10a) The signal of the order of the detection light) is input from the above-mentioned sensor unit 102. The white reference data generation unit 107 generates the pre-adjustment white reference data based on the above-mentioned signals (refer to FIG. 5(b) described later).

調整前白色基準資料,係指能夠針對每一像素Gb特定在生成期間中已入射的偵測光之階度的資料。白色基準資料生成部107之調整位置決定部108,係從已排列於掃描軸方向的像素Gb之中決定調整調整前白色基準資料的像素Gb。雖然詳細將於後述,但是調整位置決定部108係能夠決定與白色基準構件10之防護構件10b相向的像素Gb。The pre-adjusted white reference data refers to data that can specify the gradation of the detected light that has been incident during the generation period for each pixel Gb. The adjustment position determining unit 108 of the white reference data generating unit 107 determines the pixels Gb of the white reference data before adjustment from among the pixels Gb arranged in the scanning axis direction. Although the details will be described later, the adjustment position determination unit 108 can determine the pixel Gb facing the guard member 10b of the white reference member 10.

白色基準資料生成部107之調整部109,係將調整位置決定部108已決定的像素Gb之調整前白色基準資料,調整成事先所決定的既定值(後述的「平均階度Iave」)。白色基準資料生成部107,係使藉由調整部109所調整後的白色基準資料記憶於白色基準資料記憶部105。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 determined in advance ("average level 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.

圖5(a)及圖5(b)係用以說明調整前白色基準資料之示意圖。圖5(a)係與上述的圖2(b)同樣為圖1(a)所示的B-B剖視圖。但是,在圖5(a)中,係選取紙幣鑑別裝置100的各個構成之中的第一影像感測器6a、第二影像感測器6b、下部蓋體7及上部承盤8來顯示。又,在圖5(a)係以虛線的箭頭來顯示從發光元件Ga所照射來的偵測光之光程。Figures 5(a) and 5(b) are schematic diagrams for illustrating the white reference data before adjustment. Fig. 5(a) is a cross-sectional view of B-B shown in Fig. 1(a) similarly to Fig. 2(b) described above. However, in FIG. 5(a), the first image sensor 6a, the second image sensor 6b, the lower cover 7 and the upper tray 8 of the respective components of the banknote identification device 100 are selected and displayed. In addition, in FIG. 5(a), the optical path of the detection light irradiated from the light-emitting element Ga is shown with a dotted arrow.

在圖5(a)的具體例中,係假定白色基準構件10(白色基準薄片10a、防護構件10b)已配置於搬運路徑4之區域R的情況。如同上面所述,在已將白色基準構件10載置於搬運路徑4的情況下,該白色基準構件10的防護構件10b之長邊方向兩端部10b’是位於搬運路徑4之側壁(7a、7b)的近旁。In the specific example of FIG. 5(a), it is assumed that the white reference member 10 (the white reference sheet 10a, the protection member 10b) has been arranged in the area R of the conveyance path 4. As described above, when the white reference member 10 has been placed on the conveyance path 4, the both ends 10b' in the longitudinal direction of the protection member 10b of the white reference member 10 are located on the side walls (7a, 7a, 7b) nearby.

如同圖5(a)所示,從第一影像感測器6a(發光元件Ga)所照射來的偵測光之中已照射於白色基準薄片10a之長邊方向兩端部10b’的偵測光,係穿透白色基準薄片10a並入射於第二影像感測器6b(像素Gb)。另一方面,從第一影像感測器6a所照射來的偵測光之中已照射於防護構件10b之長邊方向兩端部10b’的偵測光,係不朝向第二影像感測器6b側穿透。從而,已照射於防護構件10b之長邊方向兩端部10b’的偵測光,係不到達第二影像感測器6b。As shown in FIG. 5(a), the detection light irradiated from the first image sensor 6a (light emitting element Ga) has been irradiated on both ends 10b' of the white reference sheet 10a in the longitudinal direction. The light penetrates the white reference sheet 10a and is incident on the second image sensor 6b (pixel Gb). On the other hand, among the detection light irradiated from the first image sensor 6a, the detection light that has been irradiated on both ends 10b' in the longitudinal direction of the protective member 10b is not directed toward the second image sensor. 6b side penetration. Therefore, the detection light that has been irradiated on both ends 10b' in the longitudinal direction of the protective member 10b does not reach the second image sensor 6b.

圖5(b)係用以說明調整前白色基準資料之示意圖。在圖5(b)係顯示區域R(搬運路徑4之側壁間的區域)的X軸上之各個位置中之已入射於第二影像感測器6b的偵測光(穿透光)之階度I(亮度)。在本實施形態中,為了說明起見,將搬運路徑4之右側壁面7a(區域R之右端)的X軸上之位置記載為「位置Pea」。同樣,將搬運路徑4之左側壁面7b(區域R之左端)的X軸上之位置記載為「位置Peb」。Figure 5(b) is a schematic diagram illustrating the white reference data before adjustment. Figure 5(b) shows the level of the detection light (transmitting light) that has been incident on the second image sensor 6b in each position on the X axis of the display area R (the area between the side walls of the conveying path 4) Degree I (brightness). In this embodiment, for the sake of explanation, the position on the X axis of the right side wall surface 7a (the right end of the region R) of the conveyance path 4 is described as "position Pea". Similarly, the position on the X axis of the left side wall surface 7b (the left end of the region R) of the conveyance path 4 is described as "position Peb".

又,將位於右側壁面7a之近旁的防護構件10b之長邊方向兩端部10b’與第二影像感測器6b相向的X軸上之區域記載為「區域Rx」。同樣,將位於左側壁面7b之近旁的防護構件10b與第二影像感測器6b相向的X軸上之區域記載為「區域Ry」。In addition, the area on the X axis where both ends 10b' in the longitudinal direction of the protective member 10b located near the right wall surface 7a face the second image sensor 6b is referred to as "area Rx". Similarly, the area on the X axis where the protective member 10b and the second image sensor 6b located near the left wall surface 7b face the second image sensor 6b is referred to as "area Ry".

在圖5(b)之具體例中,係假定防護構件10b抵接於右側壁面7a及左側壁面7b的情況。在以上的具體例中,如同圖5(b)所示,區域Rx之右端的座標係成為位置Pea(與右側壁面7a共同)。同樣,區域Ry之左端的座標係成為位置Peb(與左側壁面7b共同)。在圖5(b)之具體例中,區域Rx之左端的座標為位置Px,區域Ry之左端的座標為位置Py。In the specific example of FIG. 5(b), it is assumed that the protection member 10b abuts on the right side wall surface 7a and the left side wall surface 7b. In the above specific example, as shown in FIG. 5(b), the coordinate system of the right end of the region Rx becomes the position Pea (common to the right wall surface 7a). Similarly, the coordinate system of the left end of the region Ry becomes the position Peb (common to the left wall surface 7b). In the specific example of FIG. 5(b), the coordinates of the left end of the area Rx are the position Px, and the coordinates of the left end of the area Ry are the position Py.

本來,白色基準資料,較佳的構成是將白色基準薄片10a載置於區域R之全區(包含區域Rx及區域Ry),且對該白色基準薄片10a照射偵測光所生成。在圖5(c)中,係顯示將白色基準薄片10a載置於區域R之全區所生成的白色基準資料。Originally, the white reference data is preferably generated by placing the white reference sheet 10a on the entire area (including the area Rx and the area Ry) of the area R, and irradiating the white reference sheet 10a with detection light. In FIG. 5(c), the white reference data generated by placing the white reference sheet 10a on the entire area of the area R is displayed.

但是,如同從圖5(b)及圖5(c)所理解,防護構件10b所處之區域Rx及區域Ry中的階度I,係與已假定白色基準薄片10a位於區域Rx及區域Ry之情況的階度I不同。在以上的調整前白色基準資料中,係可能發生無法對影像資料進行適當的暗影校正之缺陷。However, as understood from FIG. 5(b) and FIG. 5(c), the level I in the region Rx and the region Ry where the protective member 10b is located is the same as the one where the white reference sheet 10a is assumed to be located in the region Rx and the region Ry. The order I of the situation is different. In the above-mentioned pre-adjusted white reference data, there may be a defect that the image data cannot be properly corrected for shading.

考慮以上的情形,在本實施形態中,係能夠調整區域R之中包含區域Rx的調整區域Ra中之階度I。又,能夠調整區域R之中包含區域Ry的調整區域Rb中之階度I。再者,為了說明起見,有的情況是將區域R之中調整區域Ra及調整區域Rb以外的區域記載為區域Rc。以上的區域Rc之全區,係設置有白色基準薄片10a(不設置防護構件10b)。Considering the above situation, in the present embodiment, the level I in the adjustment region Ra including the region Rx in the region R can be adjusted. In addition, the level I in the adjustment region Rb including the region Ry in the region R can be adjusted. In addition, for the sake of explanation, there are cases in which the regions other than the adjustment region Ra and the adjustment region Rb in the region R are described as the region Rc. The entire area of the above region Rc is provided with a white reference sheet 10a (the protective member 10b is not provided).

圖6(a)至圖6(c)係用以說明調整調整前白色基準資料的構成之示意圖。圖6(a)係與上述的圖5(b)同樣地顯示調整前白色基準資料。但是,在圖6(a)之具體例中,係顯示包含上述之區域Rx(側壁之近旁)及調整區域Ra的調整前白色基準資料之一部分。6(a) to 6(c) are schematic diagrams for explaining the composition of the white reference data before adjustment. Fig. 6(a) shows the white reference data before adjustment in the same way as the above-mentioned Fig. 5(b). However, in the specific example of FIG. 6(a), a part of the pre-adjusted white reference data including the above-mentioned area Rx (near the side wall) and the adjustment area Ra is displayed.

如同上面所述,調整區域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)側。As described above, the adjustment area Ra refers to the area including the area Rx where the protective member 10b is located. Specifically, as shown in FIG. 6(a), from the position Pea (the right side wall surface 7a) on the X axis to the search start position Psa is set as the adjustment area Ra. The aforementioned search start position Psa is located closer to the area Rc (white reference sheet 10a) than the left end (position Px) of the area Rx (protection member 10b). Similarly, from the position Peb on the X axis (the left wall surface 7b) to the search start position Psb, it is set as the adjustment area Rb. The above-mentioned search start position Psb is located closer to the area Rc (white reference sheet 10a) than the left end (position Py) of the area Ry.

如同以上所述,可供調整前白色基準資料調整的調整區域Ra,係藉由檢索開始位置Psa所規定。以上的檢索開始位置Psa,例如是考慮長邊方向兩端部10b’之X軸方向的厚度所事先決定。又,可供調整前白色基準資料調整的調整區域Rb,係藉由檢索開始位置Psb所規定。以上的檢索開始位置Psb,例如是考慮防護構件10b之X軸方向的厚度所事先決定。紙幣鑑別裝置100之快閃記憶體,係記憶以上的檢索開始位置Psa及檢索開始位置Psb。As described above, the adjustment area Ra available for adjustment of the white reference data before adjustment is specified by the search start position Psa. The above search start position Psa is determined in advance in consideration of the thickness in the X-axis direction of both ends 10b' in the longitudinal direction, for example. In addition, the adjustment area Rb available for adjustment of the white reference data before adjustment is defined by the search start position Psb. The above search start position Psb is determined in advance in consideration of the thickness of the shield member 10b in the X-axis direction, for example. The flash memory of the banknote identification device 100 memorizes the above search start position Psa and search start position Psb.

在圖6(a)係顯示有平均階度Iave。在本實施形態中,位於區域Rc的各個像素Gb之中,位於檢索開始位置Psa的像素Gb、以及從該像素Gb連續地排列於區域Rc側的四個像素Gb(合計五個像素Gb)之階度I會被抽樣(sampling)。又,算出該五個階度I之平均值,且算出結果被記憶作為平均階度Iave。再者,平均階度Iave之算出方法係不被限定於上述之例。例如,亦可設為:抽樣以上的五個像素Gb以外之階度I,且藉由該階度I來算出平均階度Iave的構成。Figure 6(a) shows the average order Iave. In this embodiment, among the pixels Gb located in the region Rc, the pixel Gb located at the search start position Psa, and four pixels Gb (five pixels Gb in total) arranged continuously from the pixel Gb on the region Rc side The order I will be sampled. In addition, the average value of the five levels I is calculated, and the calculation result is memorized as the average level Iave. In addition, the calculation method of the average level Iave is not limited to the above example. For example, it can also be set as a configuration in which the level I other than the five pixels Gb above the sample is calculated, and the average level Iave is calculated from the level I.

又,在圖6(a)係顯示有從平均階度Iave至偏離臨限值W以內的範圍(Iave-W≦I≦Iave+W)。以下,有的情況是將以上的階度I之範圍,稱為「正常範圍」。本實施形態的偏離臨限值W,係以調整區域Ra的像素Gb之中與白色基準薄片10a相向的像素Gb之階度I成為正常範圍,且區域Rx的像素Gb之階度脫離正常範圍的方式所事先決定。In addition, FIG. 6(a) shows the range from the average gradation Iave to the deviation threshold W (Iave-W≦I≦Iave+W). Hereinafter, in some cases, the range of the above gradation I is referred to as the "normal range". The deviation threshold value W of this embodiment is based on the fact that the order I of the pixel Gb facing the white reference sheet 10a among the pixels Gb in the adjustment area Ra becomes the normal range, and the order of the pixels Gb in the area Rx deviates from the normal range The method is decided in advance.

本實施形態的紙幣鑑別裝置100,係特定階度I已脫離正常範圍後的X軸上之位置(像素Gb)。具體而言,朝向圖6(a)所示的白色之箭頭的方向(X軸方向),從檢索開始位置Psa之階度I起,依順序地判定該階度I與平均階度Iave之差的絕對值(以下稱為「偏離寬度」)是否比偏離臨限值W還大。在圖6(a)之具體例中,係最初判斷在位置Px上,偏離寬度已超過偏離臨限值W。The banknote identification device 100 of this embodiment is a position (pixel Gb) on the X-axis after the specified gradation I has deviated from the normal range. Specifically, toward the direction of the white arrow shown in FIG. 6(a) (X-axis direction), from the level I of the search start position Psa, the difference between the level I and the average level Iave is sequentially determined Is the absolute value of (hereinafter referred to as "deviation width") greater than the deviation threshold W. In the specific example of FIG. 6(a), it is initially determined that the deviation width has exceeded the deviation threshold value W at the position Px.

圖6(b)係用以說明調整後的白色基準資料之一部分的示意圖。在圖6(b)之具體例中,係顯示有白色基準資料之中位於區域Rx近旁的一部分。又,在圖6(b)之具體例中,係與上述的圖6(a)之具體例同樣地假定已判斷出在位置Px上偏離寬度已超過偏離臨限值W的情況。在以上的情況下,如同圖6(b)所示,比位置Px更靠位置Pea(右側壁面7a)側的區域(區域Rx)之階度I是調整成平均階度Iave。Figure 6(b) is a schematic diagram illustrating a part of the adjusted white reference data. In the specific example of FIG. 6(b), a part of the white reference data located near the area Rx is displayed. Furthermore, in the specific example of FIG. 6(b), it is assumed that the deviation width exceeds the deviation threshold value W at the position Px in the same manner as the specific example of FIG. 6(a) described above. In the above case, as shown in FIG. 6(b), the level I of the region (region Rx) on the side of the position Pea (the right wall surface 7a) relative to the position Px is adjusted to the average level Iave.

圖6(c)係用以說明調整後的白色基準資料之整體的示意圖。在圖6(c)之具體例中,係與上述的圖6(b)之具體例同樣地假定已判斷出在位置Px上偏離寬度已超過偏離臨限值W的情況。在以上的情況下,比位置Px更靠位置Pea側的區域之階度I是調整成平均階度Iave。以下,將調整區域Ra之階度I所調整的平均階度Iave記載為「平均階度Iave1」。Fig. 6(c) is a schematic diagram for explaining the overall white reference data after adjustment. In the specific example of FIG. 6(c), it is assumed that the deviation width has exceeded the deviation threshold value W at the position Px, similarly to the specific example of FIG. 6(b) described above. In the above case, the degree I of the region closer to the position Pea than the position Px is adjusted to the average degree Iave. Hereinafter, the average level Iave adjusted by the level I of the adjustment area Ra is described as "average level Iave1".

紙幣鑑別裝置100,係與上述的調整區域Ra同樣地調整調整區域Rb之階度I。具體而言,紙幣鑑別裝置100,係抽樣位於檢索開始位置Psa的像素Gb、以及從該像素Gb連續地排列於區域Rc側的四個像素Gb(合計五個像素Gb)之階度I。又,算出該五個階度I之平均值,且算出結果被記憶作為平均階度Iave2。再者,亦可設為:藉由以上的五個像素Gb以外之階度I來算出平均階度Iave2的構成。The banknote discriminating device 100 adjusts the level I of the adjustment area Rb in the same manner as the adjustment area Ra described above. Specifically, the banknote identification device 100 samples the pixel Gb located at the search start position Psa and the four pixels Gb (five pixels Gb in total) arranged continuously from the pixel Gb on the area Rc side. In addition, the average value of the five levels I is calculated, and the calculation result is memorized as the average level Iave2. Furthermore, it may also be a configuration in which the average gradation Iave2 is calculated from the gradation I other than the above five pixels Gb.

之後,紙幣鑑別裝置100,係從檢索開始位置Psb朝向位置Peb,判定各個位置(像素Gb)的階度I與平均階度Iave2之差的絕對值(偏離寬度)是否比偏離臨限值W還大。在圖6(c)之具體例中,係假定最初已判斷出在位置Py上偏離寬度已超過偏離臨限值W的情況。在以上的情況下,紙幣鑑別裝置100,係將調整前白色基準資料中之從位置Py至位置Peb的階度I調整成平均階度Iave2。After that, the banknote discriminating device 100 moves from the search start position Psb to the position Peb, and determines whether the absolute value (deviation width) of the difference between the level I and the average level Iave2 of each position (pixel Gb) is greater than the deviation threshold W Big. In the specific example of FIG. 6(c), it is assumed that it has been initially determined that the deviation width has exceeded the deviation threshold value W at the position Py. In the above case, the banknote discriminating device 100 adjusts the gradation I from the position Py to the position Peb in the white reference data before adjustment to the average gradation Iave2.

在調整調整區域Ra及調整區域Rb的階度I之後,紙幣鑑別裝置100,係使白色基準資料記憶於白色基準資料記憶部105。依據以上的白色基準資料,在搬運路徑4之側壁(7a、7b)近旁(調整區域Ra、調整區域Rb)所拍攝到的紙幣之影像就可以適當地進行暗影校正。After adjusting the gradation I of the adjustment area Ra and the adjustment area Rb, the banknote discriminating device 100 stores the white reference data in the white reference data storage unit 105. Based on the above white reference data, the image of banknotes taken near the side walls (7a, 7b) of the conveyance path 4 (adjustment area Ra, adjustment area Rb) can be appropriately shading corrected.

圖7係紙幣鑑別裝置100執行的出貨前調整處理之流程圖。以上的出貨前調整處理,係在紙幣鑑別裝置100之製造工序(出貨前)中執行。紙幣鑑別裝置100,係在出貨前調整處理中調整調整前白色基準資料,且將調整後之白色基準資料記憶於白色基準資料記憶部105。FIG. 7 is a flowchart of the pre-shipment adjustment processing performed by the banknote identification device 100. The above adjustment processing before shipment is performed in the manufacturing process (before shipment) of the banknote identification device 100. The paper money identification device 100 adjusts the pre-adjusted white reference data in the pre-shipment adjustment process, and stores the adjusted white reference data in the white reference data storage unit 105.

如同上面所述,紙幣鑑別裝置100,係針對紙幣通過的區域R之中調整區域Ra(右側壁面7a之近旁)及調整區域Rb(左側壁面7b之近旁)的雙方,調整調整前白色基準資料之階度I。紙幣鑑別裝置100,係在執行調整區域Ra及調整區域Rb之中供調整區域Ra之階度I所調整的出貨前調整處理之後,才執行供調整區域Rb之階度I所調整的出貨前調整處理。在圖7之具體例中,係假定在出貨前調整處理中,調整區域Ra之階度I被調整的情況。As described above, the banknote discriminating device 100 adjusts the white reference data before adjustment for both the adjustment area Ra (near the right wall 7a) and the adjustment area Rb (near the left wall 7b) in the area R where the bill passes Degree I. The banknote discriminating device 100 executes the pre-shipment adjustment process for the adjustment of the adjustment area Ra's degree I in the adjustment area Ra and the adjustment area Rb before performing the adjustment of the adjustment area Rb's degree I. Pre-adjustment processing. In the specific example of FIG. 7, it is assumed that the level I of the adjustment area Ra is adjusted during the adjustment process before shipment.

如同圖7所示,當開始出貨前調整處理時,紙幣鑑別裝置100就從調整前白色基準資料取得五個像素Gb之階度I(S1)。如同上面所述,例如在調整調整區域Ra中的像素Gb之階度I的情況下,會從作為調整區域Ra之左側(與右側壁為相反側)之端部的檢索開始位置Psa取得被排列於左側方向(X軸相反方向)的五個像素Gb(亦即,排列於圖6(a)之區域Rc的像素Gb)之階度I。穿透白色基準薄片10a後的偵測光,係入射於以上的各個像素Gb。As shown in FIG. 7, when the pre-shipment adjustment process is started, the banknote discriminating device 100 obtains the level I of five pixels Gb from the pre-adjustment white reference data (S1). As described above, for example, in the case of adjusting the level I of the pixel Gb in the adjustment area Ra, the arrangement will be obtained from the search start position Psa which is the end of the left side (opposite to the right side wall) of the adjustment area Ra The level I of the five pixels Gb (that is, the pixels Gb arranged in the region Rc of FIG. 6(a)) in the left direction (the opposite direction of the X axis). The detection light after penetrating the white reference sheet 10a is incident on each of the above pixels Gb.

從調整前白色基準資料取得五個像素Gb之階度I之後,紙幣鑑別裝置100係從該像素Gb之階度I算出平均階度Iave(S2)。之後,紙幣鑑別裝置100,係從各個像素Gb特定對象像素Gb(S3)。在初次的步驟S3中,位於上述之檢索開始位置Psa的像素Gb是被特定作為對象像素Gb。又,在下次的步驟S3中,已在前次之步驟S3所特定的像素Gb之右鄰(位於一個右側壁面7a側的)像素是被特定成對象像素Gb。After obtaining the gradation I of the five pixels Gb from the pre-adjusted white reference data, the banknote discriminating device 100 calculates the average gradation Iave from the gradation I of the pixel Gb (S2). After that, the banknote identification device 100 identifies the target pixel Gb from each pixel Gb (S3). In the first step S3, the pixel Gb located at the above-mentioned search start position Psa is specified as the target pixel Gb. In addition, in the next step S3, the pixel to the right of the pixel Gb specified in the previous step S3 (on the side of a right side wall 7a) is specified as the target pixel Gb.

在已特定對象像素Gb之後,紙幣鑑別裝置100係針對該對象像素Gb之階度I來算出偏離寬度。具體而言,紙幣鑑別裝置100,係對對象像素Gb之階度I減去已在上述之步驟S2算出的平均階度Iave,且將減算結果的絕對值記憶作為該對象像素Gb之偏離寬度。After the target pixel Gb has been specified, the banknote identification device 100 calculates the deviation width with respect to the level I of the target pixel Gb. Specifically, the banknote discrimination device 100 subtracts the average gradation Iave calculated in the above step S2 from 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.

在已針對對象像素Gb算出偏離寬度之後,紙幣鑑別裝置100係判定該偏離寬度是否比偏離臨限值W還大(S5)。在已判斷出偏離寬度比偏離臨限值W還小的情況下(S5:否),紙幣鑑別裝置100係將處理返回至上述之步驟S3。之後,紙幣鑑別裝置100,係一邊在步驟S3變更對象像素Gb,同時一邊反覆執行步驟S4及步驟S5。在以上的構成中,係一邊朝向搬運路徑4之側壁方向逐個錯開對象像素Gb,且一邊反覆判定各個像素Gb之偏離寬度是否比偏離臨限值W還大。After the deviation width has been calculated for the target pixel Gb, the banknote discriminating device 100 determines whether the deviation width is larger than the deviation threshold value W (S5). When it has been determined that the deviation width is smaller than the deviation threshold value W (S5: No), the banknote discriminating device 100 returns the process to the above-mentioned step S3. 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, the target pixels Gb are shifted one by one toward the side wall direction of the conveyance path 4, and it is repeatedly determined whether the deviation width of each pixel Gb is larger than the deviation threshold value W.

在已判斷出對象像素Gb之偏離寬度比偏離臨限值W還大的情況下(S5:是),紙幣鑑別裝置100係針對從該對象像素Gb至搬運路徑4之側壁為止的各個像素,將白色基準資料調整成平均階度Iave(S6)。例如,在調整右側壁面7a近旁的調整區域Ra之白色基準資料的情況下,從對象像素Gb至右側壁面7a為止的各個像素Gb之白色基準資料會調整成平均階度Iave。在調整白色基準資料之後,紙幣鑑別裝置H係結束出貨前調整處理。When it has been determined that the deviation width of the target pixel Gb is greater than the deviation threshold value W (S5: Yes), the banknote discriminating device 100 is configured for each pixel from the target pixel Gb to the side wall of the conveying path 4 The white reference data is adjusted to the average gradation Iave (S6). For example, when adjusting the white reference data of the adjustment area Ra near the right wall surface 7a, the white reference data of each pixel Gb from the target pixel Gb to the right wall surface 7a is adjusted to the average gradation Iave. After adjusting the white reference data, the banknote discriminating device H system ends the pre-shipment adjustment processing.

[第二實施形態] 以下說明本發明的第二實施形態。再者,有關在以下例示的各個形態中作用或功能與第一實施形態同等的要素,係沿用在第一實施形態之說明中所參照的符號並適當地省略各自的詳細說明。[Second Embodiment] The second embodiment of the present invention will be described below. In addition, regarding the elements whose functions or functions are equivalent to those of the first embodiment in each of the following exemplified embodiments, the symbols referred to in the description of the first embodiment are used, and detailed descriptions of each are appropriately omitted.

圖8(a)係第二實施形態中的紙幣鑑別裝置H之剖視圖。圖8(a)係對應於上述的第一實施形態之圖1(a)所示的B-B剖視圖。但是,在圖8(a)中,係選取紙幣鑑別裝置100的各個構成之中第一影像感測器6a、第二影像感測器6b、下部蓋體7及上部承盤8來顯示。又,在圖8(a)係以虛線之箭頭來顯示從發光元件Ga所照射來的偵測光之光程。Fig. 8(a) is a cross-sectional view of the banknote discriminating device H in the second embodiment. Fig. 8(a) is a B-B cross-sectional view corresponding to Fig. 1(a) of the above-mentioned first embodiment. However, in FIG. 8(a), the first image sensor 6a, the second image sensor 6b, the lower cover 7 and the upper tray 8 among the various components of the banknote identification device 100 are selected and displayed. In addition, in FIG. 8(a), the optical path of the detection light irradiated from the light-emitting element Ga is shown with a dotted arrow.

如同圖8(a)所示,在上部承盤8係設置有導引部8L及導引部8R。導引部8R為大致板狀,且沿搬運路徑4之右側壁(7a)所豎立設置。如同8(a)所示,導引部8R之下端,係位於比上部承盤8之與下部蓋體7的抵接面(圖8(a)所示的S)更靠搬運路徑4之底面側。以上的導引部8R之下端,係與已載置於搬運路徑4之底面的紙幣之右端近旁抵接,且限制該紙幣朝向上側方向(Z軸方向)移動。As shown in FIG. 8(a), a guide portion 8L and a guide portion 8R are provided on the upper retainer 8 system. The guide portion 8R is substantially plate-shaped, and is erected along the right side wall (7a) of the conveyance path 4. As shown in 8(a), the lower end of the guide portion 8R is located closer to the bottom surface of the conveying path 4 than the contact surface of the upper support plate 8 and the lower cover 7 (S shown in Fig. 8(a)) side. The lower end of the above-mentioned guide portion 8R abuts on the vicinity of the right end of the banknotes placed on the bottom surface of the conveying path 4 and restricts the banknotes from moving in the upper direction (Z-axis direction).

導引部8L,係與導引部8L同樣為大致板狀,且沿搬運路徑4之左側壁(7b)所豎立設置。又,如同8(a)所示,導引部8L之下端,係位於比上部承盤8中之與下部蓋體7的抵接面S更靠搬運路徑4之底面側,且與已載置於搬運路徑4之底面的紙幣之左端近旁抵接,限制該紙幣朝向上側方向移動。The guide part 8L is substantially plate-shaped like the guide part 8L, and is erected along the left side wall (7b) of the conveyance path 4. Also, as shown in 8(a), the lower end of the guide portion 8L is located closer to the bottom surface of the conveying path 4 than the contact surface S of the upper receiving plate 8 and the lower cover 7, and is in contact with the placed The banknotes on the bottom surface of the conveying path 4 abut against the left end of the banknotes to restrict the banknotes from moving upward.

假定不設置有導引部8(R、L)的對比例。在以上的對比例中,有的情況紙幣之左端或右端會移動達至上述的抵接面S(發生浮起)。在以上的情況下,紙幣之端部會侵入於上部承盤8與下部蓋體7之間,造成該紙幣無法在搬運路徑4移動,而有無法完全地排除發生紙幣堵塞之可能性的缺陷。依據第二實施形態的導引部8(R、L),如同上面所述,因能抑制紙幣之左右兩端的浮起,故而有能抑制上述之缺陷的優點。Assume a comparative example in which the guide 8 (R, L) is not provided. In the above comparative example, there are cases where the left or right end of the banknote will move to the aforementioned abutting surface S (floating occurs). In the above situation, the end of the banknote will penetrate between the upper support plate 8 and the lower cover 7, causing the banknote to be unable to move in the conveyance path 4, and there is a defect that the possibility of banknote clogging cannot be completely eliminated. According to the guide portion 8 (R, L) of the second embodiment, as described above, since the floating of the left and right ends of the banknote can be suppressed, there is an advantage that the above-mentioned defects can be suppressed.

第二實施形態的導引部8(R、L),係設置於可供使用於紙幣之鑑別的影像拍攝的區域R(參照上述的圖5(a))內。以上的構成中,係與例如導引部8(R、L)已設置於區域R之外側的構成相較,會有紙幣鑑別裝置H容易小型化的優點。The guide portion 8 (R, L) of the second embodiment is provided in an area R (refer to the above-mentioned FIG. 5(a)) that can be used for image capturing for identification of banknotes. In the above-mentioned structure, compared with the structure in which the guide part 8 (R, L) is provided on the outer side of the area|region R, for example, there exists an advantage that the banknote identification device H can be easily reduced in size.

但是,位於第一影像感測器6a的發光元件Ga與第二影像感測器6b的像素Gb之間的構件,係有必要使光穿透。考慮以上的情形,與上部承盤8同樣,導引部8(R、L),係由具有光穿透性的構件(例如透明的樹脂)所形成。However, the components located between the light-emitting element Ga of the first image sensor 6a and the pixel Gb of the second image sensor 6b need to transmit light. Considering the above situation, similar to the upper receiving plate 8, the guide portions 8 (R, L) are formed of a light-transmitting member (for example, a transparent resin).

但是,在已將透明的導引部8(R、L)設置於區域R的情況下,可能會發生偵測光因該導引部8(R、L)而折射之新的問題。亦即,藉由導引部8(R、L),可能會發生偵測光之光程從本來的光程偏離的問題。又,在已發生以上之問題的情況下,可能會發生無法適當地生成使用於影像資料之暗影校正的白色基準資料的缺陷。However, in the case where the transparent guide portion 8 (R, L) has been provided in the region R, a new problem of the detection light being refracted by the guide portion 8 (R, L) may occur. That is, with the guide portion 8 (R, L), the problem of the optical path of the detection light deviating from the original optical path may occur. In addition, when the above problems have occurred, there may be a defect that the white reference data used for the shading correction of the image data cannot be properly generated.

例如,從位在導引部8R之正上方的發光元件Ga所照射來的偵測光,係本來應入射於位在導引部8R之正下方的像素Gb。但是,例如如圖8(a)所示,在從發光元件Ga所照射來的偵測光已在導引部8R折射的情況下,該偵測光可能會入射於與本來應入射的像素Gb為另外的像素Gb(例如鄰接的像素Gb)。在以上的情況下,該偵測光本來應入射之像素Gb中的白色基準資料(調整前白色基準資料)之階度I,係成為比本來之(沒有導引部8R的情況之)階度I還小。另一方面,該另外的像素Gb中的白色基準資料之階度I,係成為比本來之階度I還大。For example, the detection light irradiated from the light emitting element Ga located directly above the guide portion 8R should originally be incident on the pixel Gb located directly below the guide portion 8R. However, for example, as shown in FIG. 8(a), when the detection light irradiated from the light-emitting element Ga has been refracted by the guide portion 8R, the detection light may be incident on the pixel Gb that should be incident. It is another pixel Gb (for example, an adjacent pixel Gb). In the above case, the level I of the white reference data (the white reference data before adjustment) in the pixel Gb where the detection light should be incident is higher than the original level (without the guide 8R) I'm still small. On the other hand, the gradation I of the white reference data in the other pixel Gb is larger than the original gradation I.

圖8(b)係用以說明第二實施形態中的調整前白色基準資料之示意圖。在圖8(b)係顯示有區域R(搬運路徑4之側壁間的區域)之X軸上的各個位置中之已入射於第二影像感測器6b的偵測光之階度I。Fig. 8(b) is a schematic diagram for explaining the white reference data before adjustment in the second embodiment. FIG. 8(b) shows the level I of the detection light that has been incident on the second image sensor 6b in each position on the X axis of the area R (the area between the side walls of the conveying path 4).

再者,在上述的第一實施形態中,係藉由將偵測光照射於白色基準構件10(參照圖3)來生成白色基準資料。在第二實施形態中,係在生成白色基準資料時,白色基準構件10未載置於搬運路徑4(區域R)。在以上的第二實施形態中,因在生成白色基準資料時沒有必要將白色基準構件10載置於搬運路徑4,故而在紙幣鑑別裝置H之製造過程後的期間(在市場運轉的期間)中,可以定期地生成白色基準資料。例如,可以在每次輸入紙幣檢別裝置H之電源時,都會生成白色基準資料。Furthermore, in the above-mentioned first embodiment, the white reference data is generated by irradiating the detection light on the white reference member 10 (refer to FIG. 3). In the second embodiment, when the white reference material is generated, the white reference member 10 is not placed on the conveyance path 4 (area R). In the above second embodiment, it is not necessary to place the white reference member 10 on the conveyance path 4 when generating the white reference data, so during the period after the manufacturing process of the banknote identification device H (during market operation) , Can generate white reference data on a regular basis. For example, it is possible to generate white reference data every time the power supply of the banknote checking device H is input.

從發光元件Ga所照射來的偵測光之階度I,係在已穿透白色基準紙(例如,上述的白色基準薄片10a)的情況下,會成為不穿透白色基準紙的情況之約1/10。考慮以上的情形,在第二實施形態中,使各個像素Gb之階度成為1/10後的白色基準資料會記憶於白色基準資料記憶部105。The level I of the detection light irradiated from the light-emitting element Ga, when it has penetrated the white reference paper (for example, the above-mentioned white reference sheet 10a), will become an approximation of the situation that does not penetrate the white reference paper. 1/10. Considering the above situation, in the second embodiment, the white reference data whose gradation of each pixel Gb becomes 1/10 is stored in the white reference data storage section 105.

如同圖8(b)所示,在第二實施形態中,係與上述的第一實施形態同樣地將搬運路徑4之右側壁面7a(區域R之右端)的X軸上之位置記載為「位置Pea」。又,將搬運路徑4之左側壁面7b(區域R之左端)的X軸上之位置記載為「位置Peb」。As shown in FIG. 8(b), in the second embodiment, the position on the X axis of the right side wall surface 7a (the right end of the region R) of the conveying path 4 is described as "position Pea". In addition, the position on the X axis of the left side wall surface 7b (the left end of the region R) of the conveyance path 4 is described as "position Peb".

又,在第二實施形態中,係與上述的第一實施形態同樣地調整搬運路徑4之右側壁近旁的調整區域Ra以及左側壁近旁的調整區域Rb之像素Gb的校正前白色基準資料。具體而言,有關平均階度Iave與階度I之差的絕對值(偏離寬度)比偏離臨限值W還大的像素Gb,該像素Gb之階度I會調整成平均階度Iave。In the second embodiment, the pre-correction white reference data of the pixels Gb in the adjustment area Ra near the right side wall and the adjustment area Rb near the left side wall of the conveyance path 4 are adjusted in the same manner as in the first embodiment described above. Specifically, for a pixel Gb whose absolute value (deviation width) of the difference between the average gradation Iave and the gradation I is larger than the deviation threshold W, the gradation I of the pixel Gb is adjusted to the average gradation Iave.

在圖8(b)之具體例中,係在從區域R之中央朝向位置Pea(右側壁)之方向來看的情況下,位置Px的像素Gb之偏離寬度最初會成為比偏離臨限值W還大。在以上的具體例中,從位置Px至位置Pea為止的調整前白色基準資料會調整成平均階度Iave。同樣,在從區域R之中央朝向位置Peb(左側壁)之方向來看的情況下,位置Py的像素Gb之偏離寬度最初會成為比偏離臨限值W還大。在以上的具體例中,從位置Py至位置Peb為止的調整前白色基準資料會調整成平均階度Iave。In the specific example of FIG. 8(b), when viewed from the center of the region R toward the position Pea (the right side wall), the deviation width of the pixel Gb at the position Px will initially be greater than the deviation threshold W It's still big. In the above specific example, the pre-adjusted white reference data from the position Px to the position Pea is adjusted to the average gradation Iave. Similarly, when viewed from the center of the region R toward the position Peb (left side wall), the deviation width of the pixel Gb at the position Py becomes larger than the deviation threshold value W at first. In the above specific example, the pre-adjusted white reference data from the position Py to the position Peb is adjusted to the average gradation Iave.

圖8(c)係用以說明第二實施形態中的調整區域Ra之示意圖。圖8(c)係與上述的圖8(b)同樣地顯示調整前白色基準資料。但是,在圖8(c)之具體例中,係顯示包含調整區域Ra的調整前白色基準資料之一部分。Fig. 8(c) is a schematic diagram for explaining the adjustment area Ra in the second embodiment. Fig. 8(c) shows the white reference data before adjustment in the same manner as in Fig. 8(b) described above. However, in the specific example of FIG. 8(c), a part of the pre-adjustment white reference data including the adjustment area Ra is displayed.

如同圖8(c)所示,調整區域Ra係與上述的第一實施形態同樣是指位置Psa至位置Pea(右側壁)為止之事先所決定的區域。以上的位置Psa,係考慮導引部8R之形狀及折射率(偵測光之折射所影響的範圍)所事先設定。同樣,調整區域Rb係與上述的第一實施形態同樣是指位置Psb至位置Peb(左側壁)為止之事先所決定的區域。以上的位置Psb,係考慮導引部8L之形狀及折射率所事先設定。As shown in FIG. 8(c), the adjustment area Ra refers to an area determined in advance from the position Psa to the position Pea (right side wall), similarly to the above-mentioned first embodiment. The above position Psa is set in advance in consideration of the shape and refractive index of the guide portion 8R (the range affected by the refraction of the detected light). Similarly, the adjustment area Rb refers to an area determined in advance from the position Psb to the position Peb (left side wall) as in the above-mentioned first embodiment. The above position Psb is set in advance in consideration of the shape and refractive index of the guide portion 8L.

圖8(d)係顯示在上述的圖8(c)之具體例中,調整區域Ra之階度I已被調整後的白色基準資料之示意圖。在圖8(d)之具體例中,係假定從位置Px至位置Pea為止之階度I已調整成平均階度Iave的情況。再者,調整區域Rb之階度I,係藉由與調整區域Ra同樣的方法所調整。紙幣鑑別裝置H,係將調整區域Ra及調整區域Rb之階度I已被調整後的調整前白色基準資料之全部區域的階度I形成為1/10倍,且記憶作為白色基準資料。FIG. 8(d) is a schematic diagram showing the white reference data after the gradation I of the adjustment area Ra has been adjusted in the specific example of FIG. 8(c) described above. In the specific example of FIG. 8(d), it is assumed that the level I from the position Px to the position Pea has been adjusted to the average level Iave. Furthermore, the level I of the adjustment area Rb is adjusted by the same method as the adjustment area Ra. The banknote discriminating device H forms the gradation I of all areas of the pre-adjusted white reference data after the gradation I of the adjustment area Ra and the adjustment area Rb has been adjusted to 1/10 times, and memorizes it as the white reference data.

即便是在以上的第二實施形態中,仍能達到與上述之第一實施形態同樣的功效。再者,設置導引部(8R、8L)的位置係可以適當地變更。例如,亦可設為:在下部蓋體7之上表面7d設置有導引部的構成。又,在第二實施形態中,雖然是將導引部設置於搬運路徑4之側壁近旁,但是亦可設置於搬運路徑4之中央附近。在以上的情況下,包含有已設置於中央附近之導引部的區域會被設定成調整區域,且可調整位於該調整區域的像素Gb之白色基準資料。Even in the above-mentioned second embodiment, the same effect as the above-mentioned first embodiment can be achieved. In addition, the positions where the guides (8R, 8L) are provided can be changed as appropriate. For example, it can also be set as the structure which provided the guide part on the upper surface 7d of the lower cover 7. In addition, in the second embodiment, although the guide portion is provided near the side wall of the conveying path 4, it may be provided near the center of the conveying path 4. In the above case, the area including the guide portion that has been set near the center is set as the adjustment area, and the white reference data of the pixels Gb located in the adjustment area can be adjusted.

[第三實施形態] 在上述的第一實施形態中,係從在已將白色基準構件10(參照圖3(a))載置於搬運路徑4之區域R的狀態下所獲得的調整前白色基準資料,來決定在暗影校正中實際使用的白色基準資料。又,在第二實施形態中,係從在不將白色基準構件10載置於搬運路徑4之區域R的狀態下所獲得的(藉由從發光元件Ga朝向像素Gb直接照射偵測光所獲得的)調整前白色基準資料來決定白色基準資料。[Third Embodiment] In the first embodiment described above, the pre-adjustment white reference data obtained in the state where the white reference member 10 (see FIG. 3(a)) has been placed in the area R of the conveyance path 4 is used to determine the The white reference data actually used in shading correction. Also, in the second embodiment, the white reference member 10 is obtained from the state where the white reference member 10 is not placed in the area R of the conveyance path 4 (obtained by directly irradiating the detection light from the light-emitting element Ga toward the pixel Gb ) Adjust the pre-white reference data to determine the white reference data.

以下,為了說明起見,有的情況是將在已載置白色基準構件10之狀態下所獲得的調整前白色基準資料記載為「第一調整前資料」。又,有的情況是將在不載置白色基準構件10之狀態下所獲得的調整前白色基準資料記載為「第二調整前資料」。雖然詳細將於後述,但是在第三實施形態中,係使用第一調整前資料及第二調整前資料之雙方,來決定白色基準資料D(參照後述的圖9(c))。Hereinafter, for the sake of explanation, there are cases where the pre-adjustment white reference data obtained in the state where the white reference member 10 has been placed is described as the "first pre-adjustment data". In addition, there is a case where the pre-adjustment white reference data obtained in a state where the white reference member 10 is not placed is described as the "second pre-adjustment data". Although the details will be described later, in the third embodiment, both the first pre-adjustment data and the second pre-adjustment data are used to determine the white reference data D (refer to FIG. 9(c) described later).

圖9(a)至圖9(c)係用以說明第三實施形態的示意圖。第三實施形態的紙幣鑑別裝置100,係與上述的第一實施形態同樣地具備供紙幣通過的區域R(包含Rx及Ry)。如同上面所述,區域R之中,區域Rx係指右側壁面7a近旁的區域。又,區域R之中,區域Ry係指左側壁面7b近旁的區域。以下,為了說明起見,將區域Rx及區域Ry以外的區域R記載為「區域Rz」。以上的區域Rz,係指包含區域R之中央的區域。9(a) to 9(c) are schematic diagrams for explaining the third embodiment. The banknote discriminating device 100 of the third embodiment is similar to the above-mentioned first embodiment, and includes a region R (including Rx and Ry) through which banknotes pass. As described above, in the area R, the area Rx refers to the area near the right side wall 7a. In the region R, the region Ry refers to the region near the left wall surface 7b. Hereinafter, for the sake of description, the area R other than the area Rx and the area Ry is referred to as "area Rz". The above area Rz refers to the area including the center of the area R.

在第三實施形態的紙幣鑑別裝置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。再者,在第三實施形態中,從左側壁面7b來看有的情況是將第i個像素G記載為「像素Gi」(1≦i≦N)。In the banknote identification device 100 of the third embodiment, N pixels G are provided. Specifically, from the left side wall 7b to the right side wall 7a, in the order of the pixel G1, the pixel G2, ..., the pixel GN, a row of N pixels G are arranged. For example, among the N pixels G, n pixels G from the pixel G1 to the pixel Gn are arranged in the region Ry. In addition, the N-2n pixels G from the pixel G(n+1) to the pixel G(Nn) are arranged in the area Rz, and the n pixels G from the pixel G(N-n+1) to the pixel GN are arranged in the area Rx . Furthermore, in the third embodiment, when viewed from the left wall surface 7b, there is a case where the i-th pixel G is described as "pixel Gi" (1≦i≦N).

圖9(a)係用以說明第一調整前資料的示意圖。第一調整前資料,係與上述的第一實施形態之圖5(b)所示的調整前白色基準資料大致相同。Figure 9(a) is a schematic diagram illustrating the first pre-adjustment data. The first pre-adjustment data is substantially the same as the pre-adjusted white reference data shown in Fig. 5(b) of the above-mentioned first embodiment.

具體而言,區域R之中從區域Rz的像素G(n+1)至像素G(N-n),係與白色基準構件10之白色基準薄片10a相向。從而,區域Rz中的各個像素G之第一調整前資料之階度(以下有的情況記載為「階度Ia」)係能採用作為白色基準資料。另一方面,區域R之中從區域Ry的像素G1至像素Gn,係與白色基準構件10之防護構件10b相向。從而,區域Ry中的階度Ia係不適當作為白色基準資料。有關區域R之中區域Rx中的階度Ia,亦與區域Ry中的階度Ia同樣地不適當作為白色基準資料。Specifically, in the region R, the pixel G(n+1) to the pixel G(N-n) in the region Rz are opposed to the white reference sheet 10a of the white reference member 10. Therefore, the gradation of the first pre-adjustment data for each pixel G in the region Rz (in some cases described below as “gradation Ia”) can be adopted as the white reference data. On the other hand, in the region R, the pixels G1 to Gn in the region Ry are opposed to the protection member 10b of the white reference member 10. Therefore, the gradation Ia in the region Ry is inappropriate as the white reference data. The gradation Ia in the region Rx in the relevant region R is also inappropriate as the white reference data in the same way as the gradation Ia in the region Ry.

圖9(b)係用以說明第二調整前資料的示意圖。第二調整前資料,係與上述的第二實施形態之圖8(b)所示的調整前白色基準資料大致相同。但是,在第三實施形態中,即便比事先所決定的階度(以下稱為「上限階度Im」)還強的偵測光朝向像素G照射,該像素G之第二調整前資料仍會成為上限階度Im。Figure 9(b) is a schematic diagram illustrating the second pre-adjustment data. The second pre-adjustment data is substantially the same as the pre-adjusted white reference data shown in FIG. 8(b) of the second embodiment described above. However, in the third embodiment, even if the detection light stronger than the predetermined level (hereinafter referred to as the "upper limit level Im") is irradiated toward the pixel G, the second adjustment data of the pixel G will still be It becomes the upper limit level Im.

如同圖9(b)所示,區域R之中區域Rz中的第二調整前資料係成為上限階度Im。另一方面,在區域R之中區域Rx及區域Ry中,係如同上面所述,偵測光會藉由導引部8(R、L)所折射。從而,區域Rx及區域Ry中的各個像素G之第二調整前資料的階度(以下有的情況是記載為「階度Ib」),係如同圖9(b)所示,有的情況不會成為上限階度Im。As shown in FIG. 9(b), the second pre-adjustment data in the area Rz in the area R becomes the upper limit level Im. On the other hand, in the area Rx and the area Ry in the area R, as described above, the detection light is refracted by the guide portion 8 (R, L). Therefore, the level of the second pre-adjustment data of each pixel G in the region Rx and the region Ry (in some cases described below is described as "level Ib") is as shown in FIG. 9(b), and some cases are not Will become the upper limit level Im.

在以上的構成中,在實際的偵測光之階度比上限階度Im還強的情況下,區域Rz中的第二調整前資料,係與實際的偵測光之階度不同。另一方面,區域Rz中的第一調整前資料,係表示實際的偵測光之階度。從而,區域Rz的各個像素G之階度,相較於以從第二調整前資料所獲得的白色基準資料來校正,較佳是以從第一調整前資料所獲得的白色基準資料來校正。In the above configuration, when the actual detected light level is stronger than the upper limit level Im, the second pre-adjustment data in the region Rz is different from the actual detected light level. On the other hand, the first pre-adjustment data in the region Rz represents the actual level of the detected light. Therefore, the gradation of each pixel G in the region Rz is preferably corrected by the white reference data obtained from the first pre-adjustment data, compared to the white reference data obtained from the second pre-adjustment data.

又,如同上面所述,區域Rx及區域Ry中的第一調整前資料,係不適當作為白色基準資料。從而,區域Rx及區域Ry的各個像素G之階度,相較於以從第一調整前資料所獲得的白色基準資料來校正,較佳是以從第二調整前資料所獲得的白色基準資料來校正。再者,藉由以從第二調整前資料所獲得的白色基準資料來校正區域Rx及區域Ry的各個像素G之階度,不與紙幣相向的像素G之階度被校正成上限階度Im、或不與紙幣相向的像素G之階度被校正成未滿上限階度Im。從而,會有紙幣之外緣成為容易偵測的優點。In addition, as described above, the first pre-adjustment data in the region Rx and the region Ry are inappropriate as the white reference data. Therefore, the gradation of each pixel G in the area Rx and the area Ry is preferably corrected by the white reference data obtained from the second pre-adjustment data, compared to the white reference data obtained from the second pre-adjustment data. To correct. Furthermore, by correcting the gradation of each pixel G in the area Rx and the area Ry with the white reference data obtained from the second pre-adjustment data, the gradation of the pixel G that does not face the banknote is corrected to the upper limit gradation Im , Or the gradation of the pixel G that does not face the banknote is corrected to be less than the upper limit gradation Im. Therefore, the outer edge of the banknote has the advantage of being easy to detect.

考慮以上的情形,第三實施形態的白色基準資料,係採用了以下的構成:校正區域Rz的各個像素G之階度的白色基準資料係由第一調整前資料所決定,校正區域Rx及區域Ry的各個像素G之階度的白色基準資料係由第二調整前資料所決定。Considering the above situation, the white reference data of the third embodiment adopts the following structure: the white reference data of the gradation of each pixel G of the correction area Rz is determined by the first pre-adjustment data, and the correction area Rx and the area The white reference data of the gradation of each pixel G of Ry is determined by the second pre-adjustment data.

圖9(c)係第三實施形態中的白色基準資料D之概念圖。白色基準資料D,係包含N個校正值d所構成。各個校正值d,係對應於各個像素G之其中任一個。以下,將對應於像素Gi的校正值d記載為「校正值di」。當將像素Gi之校正前的階度設為實測階度Ivi(1≦i≦N)時,暗影校正後的該像素Gi之階度(以下記載為「校正階度Ici」),就能藉由實測階度Ivi乘以校正值di所求得(Ici=Ivi×di)。Fig. 9(c) is a conceptual diagram of the white reference data D in the third embodiment. The white reference data D is composed of N correction values d. Each correction value d corresponds to any one of each pixel G. Hereinafter, the correction value d corresponding to the pixel Gi is referred to as "correction value di". When the gradation of the pixel Gi before correction is set to the measured gradation Ivi (1≦i≦N), the gradation of the pixel Gi after shading correction (hereinafter referred to as "correction gradation Ici") can be borrowed It is obtained by multiplying the measured order Ivi by the correction value di (Ici=Ivi×di).

以上的各個校正值d,係包含:由第一調整前資料(參照圖9(a))所決定的校正值d;以及由第二調整前資料(參照圖9(b))所決定的校正值d。以上的構成,換言之,白色基準資料D,係包含校正值d(第一校正值)及校正值d(第二校正值)所構成,該校正值d(第一校正值)係藉由對白色基準構件10照射偵測光所獲得,該校正值d(第二校正值)係藉由將並未穿透白色基準構件10的偵測光照射於像素G(受光手段)所獲得。Each of the above correction values d includes: the correction value d determined by the first pre-adjustment data (refer to Fig. 9(a)); and the correction value determined by the second pre-adjustment data (refer to Fig. 9(b)) Value d. The above configuration, in other words, the white reference data D is composed of a correction value d (first correction value) and a correction value d (second correction value). The correction value d (first correction value) The reference member 10 is obtained by irradiating the detection light, and the correction value d (second correction value) is obtained by irradiating the detection light that has not penetrated the white reference member 10 to the pixel G (light receiving means).

例如,第二調整前資料之中,從區域Ry的像素G1之階度Ia1,來決定校正值d1。同樣,第二調整前資料之中,從區域Ry的像素G2至像素Gn之各個階度Ia(Ia2至Ian),來決定校正值d2至校正值dn。又,第二調整前資料之中,從區域Rx的像素G(N-n+1)之階度Ia(N-n+1),來決定校正值d(N-n+1)。同樣,第二調整前資料之中,從區域Rx的像素G(N-n+2)至像素GN之各個階度Ia(Ia(N-n+2)至IaN),來決定校正值d(N-n+2)至校正值dN。For example, in the second pre-adjustment data, the correction value d1 is determined from the gradation Ia1 of the pixel G1 in the region Ry. Similarly, in the second pre-adjustment data, each level Ia (Ia2 to Ian) from the pixel G2 to the pixel Gn in the region Ry determines the correction value d2 to the correction value dn. Furthermore, in the second pre-adjustment data, the correction value d(N-n+1) is determined from the level Ia(N-n+1) of the pixel G(N-n+1) in the region Rx. Similarly, in the second pre-adjustment data, each level Ia (Ia(N-n+2) to IaN) from the pixel G(N-n+2) of the region Rx to the pixel GN is used to determine the correction value d( N-n+2) to the correction value dN.

如同從以上的說明所理解,與區域Rx及區域Ry之各個像素G對應的校正值d,係由第二調整前資料所決定。具體而言,與區域Rx及區域Ry之各個像素G對應的校正值di(1≦i≦n、N-n≦i≦N的情況),係藉由上限階度Im除以第二調整前資料之階度Ibi所求得(di=Im/Ibi)。As understood from the above description, the correction value d corresponding to each pixel G of the region Rx and the region Ry is determined by the second pre-adjustment data. Specifically, the correction value di corresponding to each pixel G in the region Rx and the region Ry (in the case of 1≦i≦n, Nn≦i≦N) is obtained by dividing the upper limit level Im by the second pre-adjustment data The order is obtained by Ibi (di=Im/Ibi).

另一方面,與區域Rz之各個像素G對應的校正值d,係由第一調整前資料所決定。具體而言,第一調整前資料之中,從區域Rz的像素G(n+1)之階度Ia(n+1),來決定校正值d(n+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的情況),就能藉由白色階度Iw除以第一調整前資料之階度Iai所求得(di=Iw/Iai)。On the other hand, the correction value d corresponding to each pixel G in the region Rz is determined by the first data before adjustment. Specifically, in the first data before adjustment, the correction value d(n+1) is determined from the level Ia(n+1) of the pixel G(n+1) in the region Rz. Similarly, in the first pre-adjustment data, each level Ia (Ia(n+2) to Ia(Nn)) from pixel G(n+2) to pixel G(Nn) in area Rz is used to determine the correction value d(n+2) to the corrected value d(Nn). Specifically, when the white gradation I is set to the white gradation Iw, the correction value di corresponding to each pixel G in the region Rz (in the case of n+1≦i≦Nn-1) can be determined by The white level Iw is divided by the level Iai of the data before the first adjustment (di=Iw/Iai).

再者,由第一調整前資料決定校正值d的像素G、以及由第二調整前資料決定校正值d的像素G係可以適當地變更。例如,亦可設為:比區域Rz還寬的區域之像素G的校正值,是由第一調整前資料所決定的構成。Furthermore, 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 changed as appropriate. For example, it can also be set that the correction value of the pixel G in an area wider than the area Rz is determined by the first pre-adjustment data.

本發明的紙張鑑別裝置,例如是以下的紙張鑑別裝置。The paper discriminating device of the present invention is, for example, the following paper discriminating device.

本發明的紙張鑑別裝置(100),係具備:搬運手段(搬運控制部101),其是使紙張沿搬運路徑(4)移動;及發光手段(發光元件Ga),其是朝向移動中的紙張之一面照射偵測光;及受光手段(像素Gb),其是配置於與移動中的紙張之另一面相向的位置用以接收通過紙張而來的偵測光,並且沿與紙張之移動方向(Y軸方向)正交的寬度方向(X軸方向、掃描軸方向)配置有複數個;及影像資料生成手段(影像資料生成部104),其是用以生成與已入射於受光手段之偵測光相應的階度之影像資料;及白色基準資料記憶手段(白色基準資料記憶部105),其是記憶白色基準資料,該白色基準資料係藉由對為了暗影校正影像資料所使用的白色基準構件(10)照射偵測光所獲得;及移動限制手段(右側壁面7a、左側壁面7b),其是位於搬運路徑之寬度方向端部,且形成該搬運路徑之側壁;以及調整手段(調整部109),其是以受光手段之寬度方向位置為事先所決定之特定區域(調整區域Ra、調整區域Rb)內為條件,將用以暗影校正該受光手段之影像資料的白色基準資料,調整成既定值(平均階度Iave)。依據以上的構成,能適當地暗影校正紙張之影像。The paper discriminating device (100) of the present invention is provided with: conveying means (conveyance control unit 101), which moves the paper along the conveying path (4); and light emitting means (light emitting element Ga), which is directed toward the moving paper One side irradiates the detection light; and the light receiving means (pixel Gb), which is arranged at a position opposite to the other side of the moving paper to receive the detection light passing through the paper, and along the moving direction of the paper ( The Y-axis direction) orthogonal to the width direction (X-axis direction, scanning axis direction) is arranged in a plurality of; and image data generation means (image data generation part 104), which is used to generate and have been incident on the light receiving means detection The image data of the gradation corresponding to the light; and the white reference data storage means (the white reference data storage section 105), which memorizes the white reference data, the white reference data is obtained by correcting the white reference member used for the shading correction of the image data (10) Obtained by irradiating the detection light; and movement restricting means (right side wall 7a, left side wall 7b), which are located at the end of the conveying path in the width direction and forming the side wall of the conveying path; and adjusting means (adjusting part 109 ), which is based on the condition that the position in the width direction of the light receiving means is within a predetermined specific area (adjustment area Ra, adjustment area Rb), and the white reference data used for shading correction of the image data of the light receiving means is adjusted to a predetermined Value (average degree Iave). According to the above structure, the image of the paper can be appropriately shading corrected.

作為本發明之較佳的態樣,特定區域,係指到達移動限制手段之寬度方向上的距離為既定距離(從圖5之Psa至Pea為止的距離、或從Psb至Peb為止的距離)以下的區域。又,作為本發明之較佳的其他態樣,係具備:抵接手段(導引部),其是設置於發光手段與受光手段之間,且抵接於紙張之一面或另一面,並且由穿透光的構件所形成,而抵接手段之寬度方向上的位置,係位於特定區域。As a preferred aspect of the present invention, the specific area means that the distance in the width direction to the movement restriction means is less than a predetermined distance (the distance from Psa to Pea in FIG. 5, or the distance from Psb to Peb) Area. In addition, as another preferred aspect of the present invention, it is provided with: abutting means (guide portion), which is provided between the light-emitting means and the light-receiving means, and abuts on one or the other side of the paper, and The light-transmitting member is formed, and the position in the width direction of the abutting means is located in a specific area.

1:下部單元 2:上部單元 3a:插入口 3b:取入口 4:搬運路徑 5:搬運裝置 5a:下側搬運構件(搬運部) 5b:上側搬運構件 6:感測器 6a:第一影像感測器 6b:第二影像感測器 6c:磁性感測器 7:下部蓋體 7a:右側壁面 7b:左側壁面 7c,8a:凹處 7d:上表面 8:上部承盤 8b:下表面 8L,8R:導引部 9,9a,9b:反射用白色基準片 10:白色基準構件 10a:白色基準薄片 10b:防護構件 10b’:長邊方向兩端部 100,H:紙幣鑑別裝置 101:搬運控制部 102:感測器部 103:感測器控制部 104:影像資料生成部 105:白色基準資料記憶部 106:校正部 107:白色基準資料生成部 108:調整位置決定部 109:調整部 B:紙幣 D:白色基準資料 d,di:校正值 G:像素 Ga:發光元件 Gb:像素(對象像素) h:距離 I,Ia,Ib:階度 Iave,Iave1,Iave2:平均階度 Ici:校正階度 Im:上限階度 Iw:白色階度 K:開口部 L:光軸 Pea,Peb,Px,Py:位置 Psa,Psb:檢索開始位置 R,Rc,Rx,Ry,Rz,r:區域 Ra,Rb:調整區域 S:抵接面 T:反射板 W:偏離臨限值1: Lower unit 2: Upper unit 3a: Insertion port 3b: Take the entrance 4: Transport path 5: Handling device 5a: Lower transport member (transportation part) 5b: Upper transport member 6: Sensor 6a: The first image sensor 6b: Second image sensor 6c: Magnetic sensor 7: Lower cover 7a: Right side wall 7b: left side wall 7c, 8a: recess 7d: upper surface 8: Upper bearing plate 8b: lower surface 8L, 8R: Guiding part 9, 9a, 9b: white reference film for reflection 10: White reference component 10a: White reference flake 10b: Protective member 10b’: Both ends in the longitudinal direction 100, H: Paper currency identification device 101: Transport Control Department 102: Sensor Department 103: Sensor control unit 104: Image data generation department 105: White reference data memory 106: Correction Department 107: White reference data generation department 108: Adjust the position determination part 109: Adjustment Department B: banknotes D: White reference data d,di: correction value G: pixel Ga: Light-emitting element Gb: pixel (object pixel) h: distance I, Ia, Ib: degree Iave, Iave1, Iave2: average order Ici: correction level Im: upper limit Iw: white degree K: opening L: Optical axis Pea, Peb, Px, Py: location Psa, Psb: Search start position R, Rc, Rx, Ry, Rz, r: area Ra, Rb: adjustment area S: abutting surface T: reflector W: Deviation from the threshold

[圖1]係第一實施形態的紙幣鑑別裝置之外觀立體圖及剖視圖。 [圖2]係第一實施形態的紙幣鑑別裝置之分解立體圖及放大剖視圖。 [圖3]係用以說明第一實施形態的白色基準構件之示意圖。 [圖4]係第一實施形態的紙幣鑑別裝置之功能方塊圖。 [圖5]係用以說明第一實施形態的調整前白色基準資料之示意圖。 [圖6]係用以說明第一實施形態的白色基準資料的調整方法的示意圖。 [圖7]係第一實施形態的出貨前調整處理之流程圖(flowchart)。 [圖8]係用以說明第二實施形態的白色基準資料的調整方法的示意圖。 [圖9]係用以說明第三實施形態的白色基準資料之示意圖。[Fig. 1] is a perspective view and a cross-sectional view of the appearance of the banknote discriminating device of the first embodiment. [Figure 2] is an exploded perspective view and an enlarged cross-sectional view of the banknote identification device of the first embodiment. [Fig. 3] A schematic diagram for explaining the white reference member of the first embodiment. [Figure 4] is a functional block diagram of the banknote identification device of the first embodiment. [Fig. 5] A schematic diagram for explaining the white reference data before adjustment of the first embodiment. Fig. 6 is a schematic diagram for explaining the method of adjusting the white reference data of the first embodiment. [Fig. 7] is a flowchart (flowchart) of the pre-shipment adjustment processing of the first embodiment. Fig. 8 is a schematic diagram for explaining the method of adjusting the white reference data of the second embodiment. [Fig. 9] is a schematic diagram for explaining the white reference data of the third embodiment.

I:階度 I: Degree

Iave,Iave1,Iave2:平均階度 Iave, Iave1, Iave2: average order

Pea,Peb,Px,Py:位置 Pea, Peb, Px, Py: location

Psa,Psb:檢索開始位置 Psa, Psb: Search start position

Ra,Rb:調整區域 Ra, Rb: adjustment area

Rc,Rx:區域 Rc, Rx: area

W:偏離臨限值 W: Deviation from the threshold

Claims (6)

一種紙張鑑別裝置,其特徵為,具備:搬運手段,其是使紙張沿搬運路徑移動;及發光手段,其是朝向移動中的前述紙張之一面照射偵測光;及受光手段,其是配置於與移動中的前述紙張之另一面相向的位置,用以接收通過紙張而來的前述偵測光,並且沿與前述紙張之移動方向正交的寬度方向配置有複數個;及影像資料生成手段,其是用以生成與已入射於前述受光手段之前述偵測光相應的階度之影像資料;及白色基準資料記憶手段,其是記憶白色基準資料,該白色基準資料係藉由對為了暗影校正前述影像資料所使用的白色基準構件照射前述偵測光所獲得;及移動限制手段,其是位於前述搬運路徑之寬度方向端部,且形成該搬運路徑之側壁;及抵接手段,其前述寬度方向上的位置是在事先已決定之特定區域內,是設置於前述發光手段與前述受光手段之間,且抵接於前述紙張之一面或另一面,並且由穿透光的構件所形成;以及調整手段,其是以前述受光手段之前述寬度方向位置為事先已決定之前述特定區域內為條件,將用以暗影校正該受光手段之影像資料的前述白色基準資料,調整成既定值。 A paper discriminating device, which is characterized by comprising: a conveying means for moving the paper along a conveying path; and a light emitting means for irradiating a detection light toward one of the moving paper surfaces; and a light receiving means, which is arranged at The position opposite to the other side of the moving paper is used to receive the detecting light from the paper, and a plurality of them are arranged along the width direction orthogonal to the moving direction of the paper; and image data generating means, It is used to generate image data corresponding to the level of the detection light that has been incident on the light receiving means; and the white reference data memory means, which memorizes white reference data, the white reference data is corrected by shading The white reference member used in the aforementioned image data is obtained by irradiating the aforementioned detection light; and a movement restricting means, which is located at the end of the aforementioned conveying path in the width direction and forming the side wall of the conveying path; and abutting means, the aforementioned width The position in the direction is in a specific area determined in advance, is set between the light emitting means and the light receiving means, abuts on one side or the other side of the paper, and is formed by a light-transmitting member; and The adjusting means adjusts the white reference data used for shading correction of the image data of the light receiving means to a predetermined value based on the condition that the widthwise position of the light receiving means is within the predetermined area determined in advance. 如請求項1之紙張鑑別裝置,其中,前述特定區域,係到達前述移動限制手段為止的前述寬度方向上之距離為既定距離以下的區域。 The paper discriminating device of claim 1, wherein the specific area is an area where the distance in the width direction to the movement restricting means is less than a predetermined distance. 一種白色基準資料的調整方法,係在紙張鑑別裝置中為了暗影校正前述影像資料所使用之白色基準資料的調整方法,該紙張鑑別裝置係具備:搬運手段,其是使紙張沿搬運路徑移動;及發光手段,其是朝向移動中的前述紙張之一面照射偵測光;及受光手段,其是配置於與移動中的前述紙張之另一面相向的位置,用以接收通過紙張而來的前述偵測光,並且沿與前述紙張之移動方向正交的寬度方向配置有複數個;及影像資料生成手段,其是用以生成與已入射於前述受光手段之前述偵測光相應的階度之影像資料;及移動限制手段,其是位於前述搬運路徑之寬度方向端部,且形成該搬運路徑之側壁;以及抵接手段,其前述寬度方向上的位置是在事先已決定之特定區域內,是設置於前述發光手段與前述受光手段之間,且抵接於前述紙張之一面或另一面,並且由穿透光的構件所形成;其特徵為,具備:以前述受光手段之前述寬度方向位置為事先已決定之特定區域內為條件,將用以暗影校正該受光手段之影像資料的前述白色基準資料,調整成既定值的步驟。 A method for adjusting white reference data is a method for adjusting the white reference data used in the shading correction of the aforementioned image data in a paper discriminating device, the paper discriminating device is provided with: a conveying means that moves the paper along a conveying path; and The light-emitting means irradiates the detection light toward one side of the moving paper; and the light-receiving means is arranged at a position opposite to the other side of the moving paper to receive the detection light from passing through the paper Light, and a plurality of pieces are arranged along the width direction orthogonal to the moving direction of the paper; and image data generating means for generating image data of the level corresponding to the detection light that has been incident on the light receiving means ; And movement restriction means, which are located at the widthwise end of the aforementioned conveying path and form the side walls of the conveying path; and abutting means, whose position in the aforementioned width direction is within a specific area determined in advance, is set Between the light-emitting means and the light-receiving means, and abut on one or the other surface of the paper, and are formed by a light-transmitting member; A step of adjusting the aforementioned white reference data used for shading correction of the image data of the light-receiving means to a predetermined value in the determined specific area as a condition. 一種程式,係用以使電腦調整在紙張鑑別裝置中為了暗影校正前述影像資料所使用之白色基準資料的程式,該紙張鑑別裝置係具備:搬運手段,其是使紙 張沿搬運路徑移動;及發光手段,其是朝向移動中的前述紙張之一面照射偵測光;及受光手段,其是配置於與移動中的前述紙張之另一面相向的位置,用以接收通過紙張而來的前述偵測光,並且沿與前述紙張之移動方向正交的寬度方向配置有複數個;及影像資料生成手段,其是用以生成與已入射於前述受光手段之前述偵測光相應的階度之影像資料;及移動限制手段,其是位於前述搬運路徑之寬度方向端部,且形成該搬運路徑之側壁;以及抵接手段,其前述寬度方向上的位置是在事先已決定之特定區域內,是設置於前述發光手段與前述受光手段之間,且抵接於前述紙張之一面或另一面,並且由穿透光的構件所形成;其特徵為:使電腦發揮作為調整手段的功能,該調整手段係以前述受光手段之前述寬度方向位置為事先已決定之特定區域內為條件,將用以暗影校正該受光手段之影像資料的前述白色基準資料,調整成既定值。 A program that is used to make a computer adjust the white reference data used for shading correction of the aforementioned image data in the paper discriminating device. The sheet moves along the conveying path; and a light emitting means, which irradiates detection light toward one side of the moving paper; and a light receiving means, which is arranged at a position opposite to the other side of the moving paper, for receiving the passing The detection light from the paper, and a plurality of them are arranged along the width direction orthogonal to the moving direction of the paper; and the image data generating means, which is used to generate the detection light that has been incident on the light receiving means Image data of the corresponding gradation; and movement restriction means, which are located at the end of the conveying path in the width direction and forming the side wall of the conveying path; and abutting means, the position of which in the width direction is determined in advance The specific area is set between the light-emitting means and the light-receiving means, and abuts on one or the other side of the paper, and is formed by a light-transmitting member; its characteristic is that the computer is used as an adjustment means The adjusting means adjusts the white reference data used for shading correction of the image data of the light receiving means to a predetermined value based on the condition that the widthwise position of the light receiving means is within a predetermined area determined in advance. 一種紙張鑑別裝置,其特徵為,具備:搬運手段,其是使紙張沿搬運路徑移動;及發光手段,其是朝向移動中的前述紙張之一面照射偵測光;及受光手段,其是配置於與移動中的前述紙張之另一面相向的位置,用以接收通過紙張而來的前述偵測光,並且沿與前述紙張之移動方向正交的寬度方向配置有複數個;及 影像資料生成手段,其是用以生成與已入射於前述受光手段之前述偵測光相應的階度之影像資料;以及白色基準資料記憶手段,其是記憶為了暗影校正前述影像資料所使用的白色基準資料;前述白色基準資料,係包含第一校正值及第二校正值所構成,該第一校正值係藉由對白色基準構件照射前述偵測光所獲得,該第二校正值係藉由將並未穿透前述白色基準構件的前述偵測光照射於前述受光手段所獲得;進一步具備有校正部,前述校正部,將前述寬度方向上的位置是在事先已決定之特定區域外的前述受光手段的前述影像資料,使用前述第一校正值進行暗影校正,並且將前述寬度方向上的位置是在事先已決定之前述特定區域內的前述受光手段的前述影像資料,使用前述第二校正值進行暗影校正。 A paper discriminating device, which is characterized by comprising: a conveying means for moving the paper along a conveying path; and a light emitting means for irradiating a detection light toward one of the moving paper surfaces; and a light receiving means, which is arranged at The position opposite to the other side of the moving paper is used to receive the detecting light from the paper, and a plurality of them are arranged along the width direction orthogonal to the moving direction of the paper; and Image data generating means, which is used to generate image data corresponding to the gradation of the detection light that has been incident on the light receiving means; and white reference data memory means, which memorize the white used for shading correction of the image data Reference data; the aforementioned white reference data is composed of a first correction value and a second correction value, the first correction value is obtained by irradiating the aforementioned detection light on the white reference member, and the second correction value is obtained by It is obtained by irradiating the detection light that has not penetrated the white reference member to the light receiving means; and is further provided with a correction part, and the correction part sets the position in the width direction to be outside the predetermined specific area. The image data of the light-receiving means uses the first correction value to perform shading correction, and the position in the width direction is within the predetermined area determined in advance for the image data of the light-receiving means, and the second correction value is used Perform shading correction. 一種校正方法,是用來暗影校正影像資料的校正方法,該紙張鑑別裝置係具備:搬運手段,其是使紙張沿搬運路徑移動;及發光手段,其是朝向移動中的前述紙張之一面照射偵測光;及受光手段,其是配置於與移動中的前述紙張之另一面相向的位置,用以接收通過紙張而來的前述偵測光,並且沿與前述紙張之移動方向正交的寬度方向配置有複數個;及影像資料生成手段,其是用以生成與已入射於前述受 光手段之前述偵測光相應的階度之影像資料;以及白色基準資料記憶手段,其是記憶為了暗影校正前述影像資料所使用的白色基準資料;前述白色基準資料,係包含第一校正值及第二校正值所構成,該第一校正值係藉由對白色基準構件照射前述偵測光所獲得,該第二校正值係藉由將並未穿透前述白色基準構件的前述偵測光照射於前述受光手段所獲得;具備有校正步驟,前述校正步驟,是將前述寬度方向上的位置是在事先已決定之特定區域外的前述受光手段的前述影像資料,使用前述第一校正值進行暗影校正,並且將前述寬度方向上的位置是在事先已決定之前述特定區域內的前述受光手段的前述影像資料,使用前述第二校正值進行暗影校正。 A correction method is a correction method for shadow correction of image data. The paper discriminating device is provided with: a conveying means for moving the paper along a conveying path; and a light emitting means for illuminating the detecting surface toward one of the moving papers. Metering; and light receiving means, which is arranged at a position opposite to the other side of the moving paper, used to receive the detection light from the paper, and along the width direction orthogonal to the moving direction of the paper Is equipped with a plurality of; and image data generating means, which is used to generate and have been incident on the aforementioned receiving The light means the image data corresponding to the level of the detected light; and the white reference data memory means, which memorizes the white reference data used for the shading correction of the image data; the white reference data includes the first correction value and The second correction value is formed by irradiating the detection light on the white reference member, and the second correction value is obtained by irradiating the detection light that does not penetrate the white reference member Obtained by the aforementioned light-receiving means; equipped with a correction step, the aforementioned correction step is to use the aforementioned first correction value to perform shading on the aforementioned image data of the aforementioned light-receiving means whose position in the width direction is outside a predetermined specific area Correcting, and using the second correction value to perform shading correction on the image data of the light receiving means whose position in the width direction is in the predetermined specific area determined in advance.
TW109107995A 2019-03-29 2020-03-11 Paper discriminating device, white reference data adjustment method, program, and calibration method TWI739337B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2019066319 2019-03-29
JP2019-066319 2019-03-29
JP2020-025243 2020-02-18
JP2020025243A JP6823739B2 (en) 2019-03-29 2020-02-18 Paper leaf discrimination device, white standard data adjustment method, and program

Publications (2)

Publication Number Publication Date
TW202101393A TW202101393A (en) 2021-01-01
TWI739337B true TWI739337B (en) 2021-09-11

Family

ID=72716312

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109107995A TWI739337B (en) 2019-03-29 2020-03-11 Paper discriminating device, white reference data adjustment method, program, and calibration method

Country Status (2)

Country Link
JP (1) JP6823739B2 (en)
TW (1) TWI739337B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7198318B1 (en) 2021-08-06 2022-12-28 日本金銭機械株式会社 Optical sensor device for banknote discrimination

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080316510A1 (en) * 2007-06-25 2008-12-25 Canon Kabushiki Kaisha Image processing apparatus and image processing method, computer program and storage medium
US20090302529A1 (en) * 2008-06-09 2009-12-10 Japan Cash Machine Co., Ltd. Document handler capable of protecting a built-in sensor from extraneous substance
US20110096370A1 (en) * 2009-10-23 2011-04-28 Seiko Epson Corporation Image Reading Device, Correction Method, and Image Processing Method Using an Image Reading Device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080316510A1 (en) * 2007-06-25 2008-12-25 Canon Kabushiki Kaisha Image processing apparatus and image processing method, computer program and storage medium
US20090302529A1 (en) * 2008-06-09 2009-12-10 Japan Cash Machine Co., Ltd. Document handler capable of protecting a built-in sensor from extraneous substance
US20110096370A1 (en) * 2009-10-23 2011-04-28 Seiko Epson Corporation Image Reading Device, Correction Method, and Image Processing Method Using an Image Reading Device

Also Published As

Publication number Publication date
JP6823739B2 (en) 2021-02-03
TW202101393A (en) 2021-01-01
JP2020166836A (en) 2020-10-08

Similar Documents

Publication Publication Date Title
JP6242570B2 (en) Image reading apparatus and paper sheet processing apparatus
RU2597505C2 (en) Device and method for processing banknotes
EP2397840B1 (en) Image inspecting apparatus, image inspecting method, image forming apparatus
US7586592B2 (en) Sheet recognizing device and method
EP1834306B1 (en) Acceptor device for sheet objects
RU2598296C2 (en) Method for checking optical security feature of value document
EP2711901B1 (en) Image reading apparatus and sheet processing apparatus
US8965099B2 (en) Paper sheet recognition apparatus and paper sheet recognition method
TWI739337B (en) Paper discriminating device, white reference data adjustment method, program, and calibration method
JP2012198188A (en) Photodetection device and paper sheet processing apparatus including photodetection device
CA2419948A1 (en) Methods and apparatus for detection of coin denomination and other parameters
JP4775946B2 (en) Edge detection device
TW200921040A (en) Edge detection device
JP2010039897A (en) Light detection device and paper sheet processor
WO2020202985A1 (en) Paper sheet sorting device, white reference data adjustment method, and program
JP2018169725A (en) Coin identification device and coin identification method
JP5520701B2 (en) Paper sheet discrimination method, paper sheet discrimination apparatus, and damage discrimination learning method
WO2019194152A1 (en) Light detection sensor, light detection device, sheets processing device, and light detection method
EP2355056B1 (en) Paper sheet recognition apparatus and paper sheet recognition method
WO2010026646A1 (en) Paper sheet discriminating device, paper sheet discriminating method, and paper sheet discriminating program
JPH09218968A (en) Coin identifier
JP6751569B2 (en) Method for detecting the document identification device, the document processor, the image sensor unit, and the optical variable element region
WO2018142999A1 (en) Image collection device, coin-shaped medium processing device, and image collection method
JP4505053B2 (en) Inspection device
JP4176611B2 (en) Coin discrimination method and apparatus