CN105427449A - Bank note image optical compensation correction method, bank note testing identification device, and ATM - Google Patents

Bank note image optical compensation correction method, bank note testing identification device, and ATM Download PDF

Info

Publication number
CN105427449A
CN105427449A CN201510724829.0A CN201510724829A CN105427449A CN 105427449 A CN105427449 A CN 105427449A CN 201510724829 A CN201510724829 A CN 201510724829A CN 105427449 A CN105427449 A CN 105427449A
Authority
CN
China
Prior art keywords
data
image
correction
sensor
banknote
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510724829.0A
Other languages
Chinese (zh)
Inventor
蒋菲
杨琼柱
李翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ndt Science & Technology Co Ltd
Original Assignee
Ndt Science & Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ndt Science & Technology Co Ltd filed Critical Ndt Science & Technology Co Ltd
Priority to CN201510724829.0A priority Critical patent/CN105427449A/en
Publication of CN105427449A publication Critical patent/CN105427449A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/20Testing patterns thereon
    • G07D7/2008Testing patterns thereon using pre-processing, e.g. de-blurring, averaging, normalisation or rotation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Image Input (AREA)

Abstract

The invention relates to a bank note image optical compensation correction method, a bank note testing identification device, and an ATM. The bank note image optical compensation correction method is applied to the bank note testing identification device; the ATM employs the bank note testing identification device. The method utilizes an ARM processor in a microprocessor to perform unified scheduling; a DSP (Digital Signal Processor) generates correction data together with a programming logic device, and utilizes the correction data to perform optical compensation correction on the original image data collected by a contact image sensor (CIS) to obtain data approaching real bank not image data. The microcontroller controls a whole flow of optical compensation correction, well equalizes and scientifically manages task dispatching and data, order and program flow, and improves the whole performance of the bank note testing identification device.

Description

A kind of banknote image light compensation correction method and currency examine recognition device, ATM
Technical field
The present invention relates to ATM field, particularly a kind of device utilizing contact-type image sensor collection banknote image to carry out currency examine identification, and there is the ATM of such banknote tester.
Background technology
Contact-type image sensor (ContactImageSensor, CIS) be optical sensor conventional in current paper money recognition banknote tester, due to the impact of the technological level of CIS, aging, deformation, the factors such as light uneven irradiation and external environment dust, temperature, the response of each pixel of CIS imageing sensor to light shows inconsistent phenomenon, have impact on the gray level image of scanning and the discriminating of bank note, reduce the receptance that bank note is differentiated, increase the failure rate of currency examine identification.To contact image sensor scan out gray level image carry out necessary light compensation correction, can reduce and avoid above-mentioned factor on the impact of the image of contact image sensor scan.
The each pixel of light compensation correction to contact-type image sensor carries out pointwise compensation, eliminates the contact-type image sensor photo-sensitive cell image intensity value error amount that light reflex produces under same environment, reduces former banknote image more really.
At present, for the above-mentioned characteristic of CIS, in banknote tester, the process being generally all provided with light compensation correction carries out light compensation correction to the banknote image that CIS gathers, to obtain banknote image accurately.
China Patent Publication No. CN103310528A discloses a kind of image compensation modification method and identifies banknote tester, the programmable logic device (PLD) that this device comprises microcontroller, is connected with described microcontroller, the A/D chip be connected with programmable logic device (PLD) respectively, driving circuit, static RAM, the contact-type image sensor be connected with A/D chip, described driving circuit respectively, static RAM is pre-stored with compensating approach look-up table, and the method adopted is as follows:
Programmable logic device (PLD) receives the first configuration-direct that microcontroller exports, and controls described driving circuit and drives contact-type image sensor to gather the first banknote image slices vegetarian refreshments;
First banknote image slices vegetarian refreshments analog-to-digital conversion is the second banknote image slices vegetarian refreshments by A/D chip;
Programmable logic device (PLD) obtains the second banknote image slices vegetarian refreshments, and using the numerical value of described second banknote image slices vegetarian refreshments as address date, access the compensating approach look-up table of described static RAM pre-stored, find the banknote compensating approach data corresponding with the second banknote image slices vegetarian refreshments, and send described microcontroller to.
Above-mentioned banknote image rectification building-out method and device, controlled to carry out light compensation correction and the storage to correction data to the raw image data of contact-type image sensor by programmable logic device (PLD) to the light compensation correction of bank note, programmable logic device (PLD) also takes into account the identification currency examine, the information communication function that coordinate other simultaneously.With identify that other microprocessors and module in banknote tester do not accomplish good balanced, scientific management in the management of task assignment and data, order, program flow, and then have impact on the overall performance identifying banknote tester.
Summary of the invention
The present invention overcomes the deficiency in current banknote tester, provides a kind of method of banknote image light compensation correction and uses currency examine recognition device and the ATM of this bearing calibration.
The technical solution adopted in the present invention is: a kind of banknote image light compensation correction method, to under micro-processor control, the banknote image that the touch imageing sensor that programmable logic device (PLD) drives gathers carries out light compensation and correction, and microprocessor comprises ARM and DSP; Comprise the following steps:
Generate the correction data of described touch imageing sensor in advance in accordance with the following steps:
Utilize the bright output image data X of the i-th row that a jth pixel of the touch imageing sensor acquisition correction paper described in programmable logic device (PLD) driving exports 1(i, j) and dark output image data X 2(i, j);
Under ARM controls, DSP is by the bright output image data X being about to receive 1(i, j) and dark output image data X 2m is capable for (i, j) buffer memory; And to bright output image data X 1(i, j) and dark output image data X 2(i, j) is according to bright output calibration data SW (j) of a following formulae discovery contact-type image sensor jth pixel and dark output calibration data SB (j);
S W ( j ) = 1 m Σ i = 1 m X 1 ( i , j ) ;
S B ( j ) = 1 m Σ i = 1 1 X 2 ( i , j ) ;
Be sent to ARM by calculating bright output calibration data SW (j) obtained with dark output calibration data SB (j), bright output calibration data SW (j) and dark output calibration data SB (j) are kept in Flash by ARM;
When carrying out Real-Time Optical compensation correction:
Bright output calibration data SW (j) in Flash and dark output calibration data SB (j) are loaded among the RAM resource of programmable logic device (PLD);
Bright output calibration data SW (j) and dark output calibration data SB (j) are read the banknote image data X (i to be corrected obtained with described touch image sensor scan by programmable logic device (PLD) from RAM, j) computing is carried out, just can obtain the banknote image Y (i after correcting, j), the trimming process to banknote image is namely completed;
Y ( i , j ) = 255 S W ( j ) - S B ( j ) × ( X ( i , j ) - S B ( j ) ) .
In the present invention, share calculation task by the scheduling DSP of arm processor and programmable logic device (PLD) equilibrium; Balance the workload of modules unit, scientific management, decrease the failure rate identifying banknote tester to a certain extent, improve its performance.
The present invention also has following preferred version:
State output image data clearly and refer to that contact-type image sensor scans the correction paper of White-opalescent under reflected light under correction mode, scan white translucent under transmitted light and correct the view data that paper obtains; Dark output image data refers to that contact-type image sensor scans the correction paper of black non transparent under reflected light, scans the view data that opaque correction paper obtains in transmitted light.
Described is loaded on bright output calibration data SW (j) in Flash and dark output calibration data SB (j) among the RAM resource of programmable logic device (PLD), is complete when power-down rebooting.
After power-down rebooting, first programmable logic device (PLD) will judge the quality of contact-type image sensor according to the view data of contact-type image sensor white reference, and the information of quality is passed to ARM, after waiting facilities starting up is complete, ARM is by among the RAM of the Data import write programmable logic device in Flash, and ARM loads, to the correction data of programmable logic device RAM, one_to_one corresponding wanted in the position with each pixel of contact-type image sensor to be compensated.
Be stored into bright output calibration data SW (j) of Flash and dark output calibration data SB (j) by the difference according to light source, reflection and the difference of transmission, by bright output image data X corresponding for the different pixels point that obtains respectively on every root contact-type image sensor 1(i, j) and dark output image data X 2many groups contact-type image sensor correction data of (i, j), among the Flash that these data are stored in are controlled classifying by ARM.
Present invention also offers currency examine recognition device and the ATM with this currency examine recognition device.
A kind of currency examine recognition device, comprising: comprise the device obtaining banknote image; It is characterized in that: also comprise the raw image data that the device obtaining banknote image is obtained and compensate to correct and make it true in the banknote image light compensation correction device of banknote itself; Described banknote image light compensation correction device comprises the image acquisition unit for obtaining raw image data from contact-type image sensor; Processor; Described image acquisition unit comprises contact-type image sensor, LED reflection/transmitted light source, A/D chip and register, driving circuit; Be connected with microprocessor, image acquisition unit respectively and be used for A/D chip and register, driving circuit, control LED reflection/transmitted light source in configuration image acquiring unit, and the raw image data that image acquisition unit obtains is transferred to microprocessor and carries out contact-type image sensor light compensation correction, utilize the image after correcting to carry out the programmable logic device (PLD) of the identification currency examine flow process of being correlated with; Store the Flash of contact-type image sensor correction data; Described microprocessor is for comprising be interconnected arm processor and DSP dual core processor; Described DSP obtains real-time view data, sends view data, correction data to ARM, and the currency examine recognizer that operation is correlated with is done Deep Computing and feeds back currency examine result to arm processor; Arm processor, as the controller of whole currency examine flow process, carries out classification control store to correction data, controls the program upgrade renewal of programmable logic device (PLD) and DSP.
In currency examine recognition device:
Also comprise:
Control banknote image light compensation correction device, the movement master control of currency examine identification related procedure;
Interface visualization sends dependent instruction, is convenient to the correction of control chart image-position sensor, the host computer of the actions such as image scanning.
Described contact-type image sensor comprises first sensor and the second sensor, described first sensor and the second sensor are arranged in pairs in currency examine recognition device banknote Transfer pipe both sides, comprise the light source and induction receiving element that linearly arrange at first sensor and the second sensor.Or described contact-type image sensor comprises the 3rd sensor, the 3rd described sensor comprises the light source linearly arranged and induction receiving element that are arranged in pairs in currency examine recognition device banknote Transfer pipe both sides.
Below with reference to drawings and Examples, the present invention is described in detail.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of banknote image light compensation correction method of the invention process.
Fig. 2 is the structural representation of a kind of paper money recognition banknote tester of the invention process.
Fig. 3 is the structural representation of contact-type image sensor in the embodiment of the present invention.
Fig. 4 is the correction data classification chart that during the present invention implements soon, flash memory type storer stores.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, carry out clear, complete description to the technical scheme in the embodiment of the present invention and advantage, obviously, specific embodiment described herein only in order to explain the present invention, is not limited to the present invention.
As shown in Figure 2, the currency examine recognition device with banknote image light compensation correction device is disclosed in a kind of ATM in the embodiment of the present invention.
The process flow diagram of banknote image light compensation correction method, described smooth compensation correction method is applied to identification banknote tester, the structural representation of described identification banknote tester as shown in Figure 2, comprise: image acquisition unit 3, programmable logic device (PLD) (FieldProgrammableGateArray, FPGA) 6, microprocessor 10, flash memory (FLASH) 12, host computer 7, movement master control 8, executive component and sensor 13.
Wherein: image acquisition unit 3 comprises contact-type image sensor (ContactImageSensor, CIS) 5, LED reflection/transmitted light source 1, A/D chip 2, driving circuit 4; LED reflection/transmitted light source 1 is built in contact-type image sensor 5, and contact-type image sensor 5 is all connected with driving circuit 4 with A/D chip 2; A/D chip 2 is connected with contact-type image sensor 5 with programmable logic device (PLD) 6; Microprocessor 10 is connected with programmable logic device (PLD) 6 with movement master control 8; Microprocessor 10 is connected with flash memory 12 with movement master control 8, programmable logic device (PLD) 6, microprocessor 10 comprises arm processor (AdvancedRISCMachine, ARM) 11 and digital signal processor DSP (DigitalSignalProcessing, DSP) 9 two kinds of main processors, they are interconnected, can communication mutually; It is a dual core processor be made up of arm processor and DSP.Movement master control 8 is connected with host computer 7, microprocessor 10 and executive component and sensor 13; Wherein, image acquisition unit 3 mainly obtains the raw image data obtained from contact-type image sensor 5, programmable logic device (PLD) 6 mainly configures A/D chip 2 and register thereof, drive contact-type image sensor 5, control contact-type image sensor 5 light source, and the image data transmission of acquisition is carried out the identification currency examine flow process of being correlated with to DSP9 and ARM11; DSP9 mainly obtains real-time view data, and the currency examine recognizer that operation is correlated with is done Deep Computing and feeds back currency examine result; ARM11 as the controller of whole currency examine flow process, mainly to relevant view data, currency examine result feedback to movement master control 8, and the program upgrade renewal of programmable logic device (PLD) 6 (hereinafter referred to as FPEG) and DSP9 to be controlled.
Carry out banknote image light compensation correction in the present embodiment, comprise the following steps: as shown in Figure 1.
Obtain correction data.
Compensate correction.
Wherein correction data needs in prior generation, the correction data will generated in advance, and correction data is stored in Flash, like this, once obtain correction data can repeatedly use within a certain period of time, for same CIS, its performance is stable at certain hour, therefore, do not need to carry out light compensation correction to banknote image at every turn, can save time.
Correction data is generated according to following steps:
1, the bright output image data X of the i-th row that a jth pixel of the touch imageing sensor acquisition correction paper described in programmable logic device (PLD) driving exports is utilized 1(i, j) and dark output image data X 2(i, j).
It should be noted that, in the present embodiment, contact-type image sensor 5 comprises primaries (Red, Green, Blue, RGB), ultraviolet (Ultraviolet, UV) two kinds of sensors, each two, correspondence is placed up and down respectively, and during currency examine identification, bank note will transmit between two pairs of contact-type image sensors 5.Three primary colors RGB imageing sensor will produce green glow, infrared light, and ultraviolet light UV imageing sensor will produce ultraviolet light, infrared light and green glow; According to the dielectric property of light on bank note, reflected light and transmitted light can be divided into again; Translucent correction paper will be adopted when correcting transmission banknote image, when correcting reflection banknote image, opaque correction paper will be adopted; According to the needs of currency examine identification, in the present embodiment, green glow and infrared light need reflection and transmission two kinds of banknote image, and ultraviolet light only needs to reflect a kind of banknote image; The bright output image of reflected light will adopt the correction paper of White-opalescent, and the dark output image of reflected light will adopt the correction paper of black non transparent; The bright output image of transmitted light will adopt the correction paper of white translucent, and the dark output image of transmitted light will be sampled opaque correction paper.
Therefore, state output image data clearly and refer to that contact-type image sensor 5 scans the correction paper of White-opalescent under reflected light under correction mode, scan white translucent under transmitted light and correct the raw image data that paper obtains; Dark output image data refers to that contact-type image sensor 5 scans the correction paper of black non transparent under reflected light, scans the raw image data that opaque correction paper obtains in transmitted light.
Under correction mode, the view data obtained according to 5 white references on sensor regulates by the intensity programmable logic device (PLD) 6 of the LED reflection/transmitted light source 1 of contact-type image sensor 5, and the sequencing that contact-type image sensor 5 scanning correction paper obtains all kinds of view data does not limit.
General way is the difference according to the contact-type image sensor being arranged on bank note Transfer pipe both sides, obtains different correction datas respectively.
The first situation arranges first sensor and the second sensor in bank note Transfer pipe symmetria bilateralis, the sensing unit of all linear arrangement in this first and second sensor and LED are as light source, there are green glow, infrared light or ultraviolet light three kinds of light sources simultaneously, like this, induction receiving element can receive the light of these three kinds of light sources of reflection respectively, obtains three groups of bright output image data X in first and second sensor respectively 1(i, j) and dark output image data X 2(i, j) is respectively the reflected image that light source is green glow, infrared light or ultraviolet light.
In addition, a kind of situation is also had to be employing the 3rd sensor, this sensor comprises the linearly aligned induction receiving element and light source that are arranged on bank note Transfer pipe both sides, light source can be one or several of green glow, infrared light or ultraviolet light three kinds of light sources, this mainly collects transmission image, also can control first and second sensor by FBGA to realize, during use, first and second sensor be oppositely arranged wherein first sensor only has the work of induction receiving element, second sensor only has light source works, also just achieves the collection of transmission image.
2, under ARM controls, DSP is by the bright output image data X being about to receive 1(i, j) and dark output image data X 2m is capable for (i, j) buffer memory; And to bright output image data X 1(i, j) and dark output image data X 2(i, j) is according to bright output calibration data SW (j) of a following formulae discovery contact-type image sensor jth pixel and dark output calibration data SB (j);
S W ( j ) = 1 m Σ i = 1 m X 1 ( i , j ) ;
S B ( j ) = 1 m Σ i = 1 1 X 2 ( i , j ) .
Here can calculate such correction data for different light sources and reflection, transmission case, in addition, first and second sensor also has different correction datas, preserves respectively.
3, be sent to ARM by calculating bright output calibration data SW (j) obtained with dark output calibration data SB (j), bright output calibration data SW (j) and dark output calibration data SB (j) are kept in Flash by ARM.
Concrete, in microprocessor 10, the view data received carries out calculating correction data by DSP9, and correction data is sent to ARM11, and correction data is stored among Flash12 by ARM11, these correction datas will be classified, piecemeal stores, and be convenient to the reading of correction data;
Be stored into the correction data of Flash12 by the difference according to light source, the difference of reflection and transmission, CIS5 correction data is organized in bright output corresponding for the different pixels point obtained respectively on every root CIS5 and the dark data etc. that export more, the correction data type stored in Flash12 as described in Figure 4, these data will be stored among the Flash12 that controlled by ARM11.Here front reverse side is claimed to be based on custom, also not necessarily pro and con in fact, differentiation is exactly first sensor and the second sensor, such as, in bank note Transfer pipe, first sensor is above, second sensor below, like this, the data of first sensor are called head-on reflection data, the data of the second sensor are called reverse side reflectance data.At least transmission data only has a kind of situation, is exactly the data of the 3rd sensor.
Then be exactly utilize correction data to correct the banknote raw data that touch imageing sensor gathers, comprise the following steps:
S1, host computer 7 send banknote image corrective command, after movement master control 8 receives corrective command, transferring order will be corrected to microprocessor 10 and programmable logic device (PLD) 6, after receiving order microprocessor 10 and programmable logic device (PLD) 6 collaborative together with gather raw image data.
Concrete, first the corrective command that microprocessor 10 receives will send to ARM9, corrective command is transmitted to FPGA6 and DSP9 by ARM9 simultaneously, the single file banknote image data of acquisition are sent to DSP9 by FPGA6, DSP9 exports after banknote image data buffer storage raw image data by row, namely completes FPGA6 and gathers raw image data with DSP9 cooperative cooperating;
S2, microprocessor 10 calculate the correction data of each pixel of touch imageing sensor 5 according to the raw image data gathered, and are stored among flash memory Flash12 by these correction datas.
Wherein, the line number that DSP9 receives the raw image data of programmable logic device (PLD) 6 single file is at every turn carried out buffer memory and is done computing and obtain correction data and can determine according to actual needs, and the present invention does not limit at this.
S3, power-down rebooting, correction data is loaded among the RAM resource of programmable logic device (PLD) 6 by microprocessor 10.
Specifically, after power-down rebooting, first programmable logic device (PLD) 6 will judge the quality of contact-type image sensor 5 according to the view data of contact-type image sensor 5 white reference 14, and the information of quality is passed to ARM11, after waiting for that movement master control 8 starting up is complete, ARM11 is by among the RAM11 of the Data import write FPGA6 in Flash12, and ARM11 loads, to the correction data in the RAM of FPGA6, one_to_one corresponding wanted in the position with each pixel 15 of CIS5 to be compensated.The structural representation of contact-type image sensor as shown in Figure 3.
After S4, host computer 7 send currency examine startup command, correction data is read the view data obtained with scanning and carries out computing by programmable logic device (PLD) 6 from the RAM of programmable logic device (PLD) 6, obtain the banknote image after correcting, namely complete the trimming process to banknote image, also enter normal picture drainage pattern simultaneously.
Concrete, after host computer 7 sends currency examine startup command, programmable logic device (PLD) 6 will according to formula the view data that contact-type image sensor 5 after obtaining correcting scans.Wherein Y (i, j) be the i-th row view data of the pixel output of contact-type image sensor 5 jth after correction, X (i, j) be the i-th row raw image data that a contact-type image sensor 5 jth pixel exports, SW (j) and SB (j) are the bright output calibration data of the contact-type image sensor 5 jth pixel simultaneously read from the RAM resource of programmable logic device (PLD) 6 and dark output calibration data.
From technique scheme, can find out that the beneficial effect of the embodiment of the present invention is as follows:
1, by technological level, illumination, the factor impacts such as temperature, the response of each pixel of contact-type image sensor 5 to the output of light there are differences, on the light compensation correction of CIS5 by elimination fresh water (FW) equality CIS5 self difference and the multiple external environment factor such as temperature, regionality on the impact of contact-type image sensor 5 scan image, improve the quality of image, decrease the failure rate of currency examine.
2, correction data is made the mode that can be upgraded correction data by microprocessor 10 control Flash12, after CIS5 replacing, permanent use will be conducive to, the renewal of CIS5 correction data, compare and correction data is solidificated in programmable logic device (PLD) 5 and is stored in fixing nonupdatable storer, increase the dirigibility of use.
3, power on after ARM11 load to programmable logic device (PLD) 6 by directly reading correction data among Flash12, under not power-down conditions, correction data is by the direct light compensation correction data reading banknote image from the RAM of programmable logic device (PLD) 6, which enhance accuracy and the promptness of correction data acquisition, improve the stability of the picture quality of acquisition, improve the overall performance identifying currency examine.
4, the renewal of programmable logic device (PLD) 6 program, the renewal of correction data, unification carries out control and management by ARM11, the passage of program, data is well defined, and carried out unification, scientific management, alleviate the load of programmable logic device (PLD) 6, balance the processing power identifying banknote tester modules, improve overall efficiency.
Described banknote image light compensation correction method, first the corrective command that microprocessor receives will send to ARM, corrective command is sent to FPGA and DSP by ARM simultaneously, the single file banknote image data of acquisition are sent to DSP by FPGA, DSP exports after banknote image data buffer storage raw image data by row, namely completes FPGA and gathers raw image data with DSP cooperative cooperating;
In the present embodiment, bright output image data refers to that contact-type image sensor scans the correction paper of White-opalescent under reflected light under correction mode, scans the raw image data that white translucent correction paper obtains under transmitted light; Dark output image data refers to that contact-type image sensor scans the correction paper of black non transparent under reflected light, scans the raw image data that opaque correction paper obtains in transmitted light.Under correction mode, the view data obtained according to white reference on sensor regulates by the intensity programmable logic device (PLD) of the LED reflection/transmitted light source of contact-type image sensor, and the sequencing that contact-type image sensor scanning correction paper obtains all kinds of view data does not limit.
In banknote image light compensation correction method, in microprocessor, the view data received carries out calculating correction data by DSP, and correction data is sent to ARM, and correction data is stored among Flash by ARM; Be stored into the correction data of Flash by the difference according to light source, the difference of reflection and transmission, CIS correction data is organized in bright output corresponding for the different pixels point obtained respectively on every root CIS and the dark data etc. that export more, among the Flash that these data are stored in are controlled classifying by ARM, so that read correction data; As shown in Figure 4.The line number that DSP receives the raw image data of programmable logic device (PLD) single file is at every turn carried out buffer memory and is done computing and obtain correction data and can determine according to actual needs, and the present embodiment does not limit at this.
Banknote image light compensation correction method, after power-down rebooting, first programmable logic device (PLD) will judge the quality of contact-type image sensor according to the view data of contact-type image sensor white reference 14, and the information of quality is passed to ARM, after waiting for that movement master control starting up is complete, ARM is by among the RAM of the Data import write FPGA in Flash, and ARM loads, to the correction data of FPGARAM, one_to_one corresponding wanted in the position with each pixel of CIS to be compensated;
After described host computer sends currency examine startup command, programmable logic device (PLD) will according to formula the view data of the contact-type image sensor scanning after obtaining correcting.Wherein Y (i, j) be the i-th row view data of the pixel output of the contact-type image sensor jth after correction, X (i, j) be the i-th row raw image data that a contact-type image sensor jth pixel exports, SW (j) and SB (j) are the bright output calibration data of the contact-type image sensor jth pixel simultaneously read from the RAM resource of programmable logic device (PLD) and dark output calibration data.

Claims (10)

1. a banknote image light compensation correction method, under micro-processor control, the banknote image that the touch imageing sensor that programmable logic device (PLD) drives gathers carries out light compensation and correction, and microprocessor comprises ARM and DSP; Comprise the following steps:
Generate the correction data of described touch imageing sensor in advance in accordance with the following steps:
Utilize the bright output image data X of the i-th row that a jth pixel of the touch imageing sensor acquisition correction paper described in programmable logic device (PLD) driving exports 1(i, j) and dark output image data X 2(i, j);
Under ARM controls, DSP is by the bright output image data X being about to receive 1(i, j) and dark output image data X 2m is capable for (i, j) buffer memory; And to bright output image data X 1(i, j) and dark output image data X 2(i, j) is according to bright output calibration data SW (j) of a following formulae discovery contact-type image sensor jth pixel and dark output calibration data SB (j);
S W ( j ) = 1 m Σ i = 1 m X 1 ( i , j ) ;
S B ( j ) = 1 m Σ i = 1 1 X 2 ( i , j ) ;
Be sent to ARM by calculating bright output calibration data SW (j) obtained with dark output calibration data SB (j), bright output calibration data SW (j) and dark output calibration data SB (j) are kept in Flash by ARM;
When carrying out Real-Time Optical compensation correction:
Bright output calibration data SW (j) in Flash and dark output calibration data SB (j) are loaded among the RAM resource of programmable logic device (PLD);
Bright output calibration data SW (j) and dark output calibration data SB (j) are read the banknote image data X (i to be corrected obtained with described touch image sensor scan by programmable logic device (PLD) from RAM, j) computing is carried out, just can obtain the banknote image Y (i after correcting, j), the trimming process to banknote image is namely completed;
Y ( i , j ) = 255 S W ( j ) - S B ( j ) × ( X ( i , j ) - S B ( j ) ) .
2. banknote image light compensation correction method according to claim 1, it is characterized in that: state output image data clearly and refer to that contact-type image sensor scans the correction paper of White-opalescent under reflected light under correction mode, scan white translucent under transmitted light and correct the view data that paper obtains; Dark output image data refers to that contact-type image sensor scans the correction paper of black non transparent under reflected light, scans the view data that opaque correction paper obtains in transmitted light.
3. banknote image light compensation correction method according to claim 1, it is characterized in that: described is loaded on bright output calibration data SW (j) in Flash and dark output calibration data SB (j) among the RAM resource of programmable logic device (PLD), is complete when power-down rebooting.
4. banknote image light compensation correction method according to claim 3, it is characterized in that: after power-down rebooting, first programmable logic device (PLD) will judge the quality of contact-type image sensor according to the view data of contact-type image sensor white reference, and the information of quality is passed to ARM, after waiting facilities starting up is complete, ARM is by among the RAM of the Data import write programmable logic device in Flash, and ARM loads, to the correction data of programmable logic device RAM, one_to_one corresponding wanted in the position with each pixel of contact-type image sensor to be compensated.
5. banknote image light compensation correction method according to claim 3, it is characterized in that: be stored into bright output calibration data SW (j) of Flash and dark output calibration data SB (j) by the difference according to light source, reflection and the difference of transmission, by bright output image data X corresponding for the different pixels point that obtains respectively on every root contact-type image sensor 1(i, j) and dark output image data X 2many groups contact-type image sensor correction data of (i, j), among the Flash that these data are stored in are controlled classifying by ARM.
6. a currency examine recognition device, comprising:
Comprise the device obtaining banknote image;
It is characterized in that: also comprise the raw image data that the device obtaining banknote image is obtained and compensate to correct and make it true in the banknote image light compensation correction device of banknote itself;
Described banknote image light compensation correction device comprises:
For obtaining the image acquisition unit of raw image data from contact-type image sensor;
Processor;
Described image acquisition unit comprises contact-type image sensor, LED reflection/transmitted light source, A/D chip and register, driving circuit;
Be connected with microprocessor, image acquisition unit respectively and be used for A/D chip and register, driving circuit, control LED reflection/transmitted light source in configuration image acquiring unit, and the raw image data that image acquisition unit obtains is transferred to microprocessor and carries out contact-type image sensor light compensation correction, utilize the image after correcting to carry out the programmable logic device (PLD) of the identification currency examine flow process of being correlated with;
Store the Flash of contact-type image sensor correction data;
Described microprocessor is for comprising be interconnected arm processor and DSP dual core processor; Described DSP obtains real-time view data, sends view data, correction data to ARM, and the currency examine recognizer that operation is correlated with is done Deep Computing and feeds back currency examine result to arm processor; Arm processor, as the controller of whole currency examine flow process, carries out classification control store to correction data, controls the program upgrade renewal of programmable logic device (PLD) and DSP.
7. currency examine recognition device according to claim 6, is characterized in that:
Also comprise:
Control banknote image light compensation correction device, the movement master control of currency examine identification related procedure;
Interface visualization sends dependent instruction, is convenient to the correction of control chart image-position sensor, the host computer of the actions such as image scanning.
8. currency examine recognition device according to claim 6, it is characterized in that: described contact-type image sensor comprises first sensor and the second sensor, described first sensor and the second sensor are arranged in pairs in currency examine recognition device banknote Transfer pipe both sides, comprise the light source and induction receiving element that linearly arrange at first sensor and the second sensor.
9. currency examine recognition device according to claim 6, it is characterized in that: described contact-type image sensor comprises the 3rd sensor, the 3rd described sensor comprises the light source linearly arranged and induction receiving element that are arranged in pairs in currency examine recognition device banknote Transfer pipe both sides.
10. an ATM, is characterized in that: comprise as the currency examine recognition device as described in arbitrary in claim 6 to 9.
CN201510724829.0A 2015-10-30 2015-10-30 Bank note image optical compensation correction method, bank note testing identification device, and ATM Pending CN105427449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510724829.0A CN105427449A (en) 2015-10-30 2015-10-30 Bank note image optical compensation correction method, bank note testing identification device, and ATM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510724829.0A CN105427449A (en) 2015-10-30 2015-10-30 Bank note image optical compensation correction method, bank note testing identification device, and ATM

Publications (1)

Publication Number Publication Date
CN105427449A true CN105427449A (en) 2016-03-23

Family

ID=55505628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510724829.0A Pending CN105427449A (en) 2015-10-30 2015-10-30 Bank note image optical compensation correction method, bank note testing identification device, and ATM

Country Status (1)

Country Link
CN (1) CN105427449A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296971A (en) * 2016-08-31 2017-01-04 东方通信股份有限公司 A kind of note surface paste high precision test identification system and method
CN106998408A (en) * 2017-02-21 2017-08-01 昆明奥多智能科技有限公司 It is a kind of closely or contact high-speed image acquisition system
CN107437295A (en) * 2016-05-26 2017-12-05 山东新北洋信息技术股份有限公司 The scan module bearing calibration of bank note treatment device and device
CN107507328A (en) * 2017-08-14 2017-12-22 深圳怡化电脑股份有限公司 A kind of paper money discrimination method and device
CN108600570A (en) * 2018-05-17 2018-09-28 常州信息职业技术学院 A kind of contact-type image sensor Nonuniformity Correction system and its bearing calibration
CN108668125A (en) * 2018-03-27 2018-10-16 深圳怡化电脑股份有限公司 A kind of method and device for detecting money-checking imaging sensor
CN109389737A (en) * 2018-09-21 2019-02-26 上海古鳌电子科技股份有限公司 A kind of banknote detection method and its system
CN109961554A (en) * 2017-12-22 2019-07-02 Ci技术传感器公司 The method of system and the camera for replacing this system with processing unit and the camera being attached to
CN111656144A (en) * 2018-12-07 2020-09-11 索尼半导体解决方案公司 Sensor device, electronic device, sensor system, and control method
CN112135009A (en) * 2020-11-25 2020-12-25 恒银金融科技股份有限公司 Multichannel CIS image calibration method
EP3358536B1 (en) * 2015-09-30 2021-12-15 Fujitsu Frontech Limited Paper-sheet handling device, and paper-sheet handling device correction method
CN114051081A (en) * 2021-11-09 2022-02-15 威海华菱光电股份有限公司 Control method of image sensor

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3788744B2 (en) * 2001-04-16 2006-06-21 シャープ株式会社 Image reading device
CN101290689A (en) * 2007-04-19 2008-10-22 蔡永权 Banknote quality checking and recognition method
JP2010212814A (en) * 2009-03-06 2010-09-24 Sharp Corp Calibration device, calibration method, calibration program, computer-readable recording medium, and image input device
CN102143298A (en) * 2010-01-28 2011-08-03 夏普株式会社 Image reading apparatus and image forming apparatus incuding the same
CN202533990U (en) * 2011-12-30 2012-11-14 哈尔滨工业大学深圳研究生院 Hardware circuit of currency count machine with function of recognizing serial numbers, and currency count machine
CN202694451U (en) * 2012-07-24 2013-01-23 黑龙江科技学院 Multi-light source high-speed banknote image capturing and processing circuit
CN103108107A (en) * 2013-03-05 2013-05-15 广州广电运通金融电子股份有限公司 Image processing device and image data correcting method thereof
CN103310528A (en) * 2013-07-08 2013-09-18 广州广电运通金融电子股份有限公司 Image compensation and correction method and banknote detection and identification device
CN103366219A (en) * 2013-06-27 2013-10-23 上海古鳌电子科技股份有限公司 Currency counter with check authenticity identification function and running method for currency counter
CN203535717U (en) * 2013-10-23 2014-04-09 东方通信股份有限公司 A banknote dispensing machine core with a serial number identification function
CN104732651A (en) * 2015-03-30 2015-06-24 苏州日宝科技有限责任公司 Paper currency sorter with integrated platform

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3788744B2 (en) * 2001-04-16 2006-06-21 シャープ株式会社 Image reading device
CN101290689A (en) * 2007-04-19 2008-10-22 蔡永权 Banknote quality checking and recognition method
JP2010212814A (en) * 2009-03-06 2010-09-24 Sharp Corp Calibration device, calibration method, calibration program, computer-readable recording medium, and image input device
CN102143298A (en) * 2010-01-28 2011-08-03 夏普株式会社 Image reading apparatus and image forming apparatus incuding the same
CN202533990U (en) * 2011-12-30 2012-11-14 哈尔滨工业大学深圳研究生院 Hardware circuit of currency count machine with function of recognizing serial numbers, and currency count machine
CN202694451U (en) * 2012-07-24 2013-01-23 黑龙江科技学院 Multi-light source high-speed banknote image capturing and processing circuit
CN103108107A (en) * 2013-03-05 2013-05-15 广州广电运通金融电子股份有限公司 Image processing device and image data correcting method thereof
CN103366219A (en) * 2013-06-27 2013-10-23 上海古鳌电子科技股份有限公司 Currency counter with check authenticity identification function and running method for currency counter
CN103310528A (en) * 2013-07-08 2013-09-18 广州广电运通金融电子股份有限公司 Image compensation and correction method and banknote detection and identification device
CN203535717U (en) * 2013-10-23 2014-04-09 东方通信股份有限公司 A banknote dispensing machine core with a serial number identification function
CN104732651A (en) * 2015-03-30 2015-06-24 苏州日宝科技有限责任公司 Paper currency sorter with integrated platform

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3358536B1 (en) * 2015-09-30 2021-12-15 Fujitsu Frontech Limited Paper-sheet handling device, and paper-sheet handling device correction method
CN107437295B (en) * 2016-05-26 2020-08-21 山东新北洋信息技术股份有限公司 Method and device for correcting scanning module of paper money processing device
CN107437295A (en) * 2016-05-26 2017-12-05 山东新北洋信息技术股份有限公司 The scan module bearing calibration of bank note treatment device and device
CN106296971A (en) * 2016-08-31 2017-01-04 东方通信股份有限公司 A kind of note surface paste high precision test identification system and method
CN106998408A (en) * 2017-02-21 2017-08-01 昆明奥多智能科技有限公司 It is a kind of closely or contact high-speed image acquisition system
CN107507328A (en) * 2017-08-14 2017-12-22 深圳怡化电脑股份有限公司 A kind of paper money discrimination method and device
CN107507328B (en) * 2017-08-14 2019-10-11 深圳怡化电脑股份有限公司 A kind of paper money discrimination method and device
CN109961554A (en) * 2017-12-22 2019-07-02 Ci技术传感器公司 The method of system and the camera for replacing this system with processing unit and the camera being attached to
CN108668125A (en) * 2018-03-27 2018-10-16 深圳怡化电脑股份有限公司 A kind of method and device for detecting money-checking imaging sensor
CN108668125B (en) * 2018-03-27 2020-03-27 深圳怡化电脑股份有限公司 Method and device for detecting currency detection image sensor
CN108600570A (en) * 2018-05-17 2018-09-28 常州信息职业技术学院 A kind of contact-type image sensor Nonuniformity Correction system and its bearing calibration
CN109389737A (en) * 2018-09-21 2019-02-26 上海古鳌电子科技股份有限公司 A kind of banknote detection method and its system
CN111656144A (en) * 2018-12-07 2020-09-11 索尼半导体解决方案公司 Sensor device, electronic device, sensor system, and control method
CN112135009A (en) * 2020-11-25 2020-12-25 恒银金融科技股份有限公司 Multichannel CIS image calibration method
CN112135009B (en) * 2020-11-25 2021-03-16 恒银金融科技股份有限公司 Multichannel CIS image calibration method
CN114051081A (en) * 2021-11-09 2022-02-15 威海华菱光电股份有限公司 Control method of image sensor
CN114051081B (en) * 2021-11-09 2024-05-14 威海华菱光电股份有限公司 Control method of image sensor

Similar Documents

Publication Publication Date Title
CN105427449A (en) Bank note image optical compensation correction method, bank note testing identification device, and ATM
CN103310528B (en) Image compensation modification method and identification banknote tester
CN103384268B (en) A kind of network embedded integration manufaturing data acquisition terminal
CN104488019B (en) Image display device and method
CN101078666B (en) Reflective type display apparatus detection device and method
CN100498675C (en) Photoelectric detection positioning system and method for touch panel of computer
CN103424409A (en) Vision detecting system based on DSP
CN204168373U (en) Dual mode scanning device
CN205246547U (en) Urine analysis detecting system based on color sensor
CN103325116B (en) A kind of printing image detecting system and method
CN103345798B (en) A kind of high speed detects the system of flaky material in real time
CN105987775A (en) Temperature sensor nonlinearity correction method and system based on BP neural network
CN107742171A (en) Photovoltaic power station power generation power forecasting method based on mobile shadow image identification
Jin et al. A Smart Water Metering System Based on Image Recognition and Narrowband Internet of Things.
CN101676040A (en) Optical detecting system and method for classifying solar cells
CN108188042A (en) Apply the full-automatic online light transmittance detecting system in Mobile phone screen glass production line
CN113610851B (en) Packaging decoration quality inspection method and system based on machine vision
KR20200104255A (en) 3d optical environment analysis apparatus of plant factory using artificial light source and method thereof
CN117348831B (en) Picture adjustment method and system for liquid crystal display screen
CN105181609A (en) Wood color recognition system and method
CN101221631B (en) High speed paper counter based on image sensor
CN114900926B (en) Auxiliary lighting optical system for electric energy meter verification and lighting implementation method
CN201456554U (en) System for regulating ink control information
CN201145909Y (en) High speed paper counter based on imaging sensor
CN109649017A (en) A kind of label printing system, method, control equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160323

RJ01 Rejection of invention patent application after publication