Summary of the invention
The technical matters that the present invention solves is: build a kind of currency examine method and system that ultraviolet light image is identified, overcome in prior art the not high technical matters of ultraviolet false distinguishing testing result precision.
Technical scheme of the present invention is: a kind of currency examine method that ultraviolet light image is identified is provided, comprises the steps:
Irradiate bank note: with ultraviolet source irradiation pre-authentication bank note;
Obtain scan image: scan described bank note, obtain the scan image of described bank note under ultraviolet light;
Extract characteristics of image: according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, the bright spot gray-scale value of described scan image is set to a threshold value, described scan image is obtained to the image pixel that is greater than described threshold value;
Authenticity verification: according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that the bank note scan image to be detected obtaining is greater than to described threshold value and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.
Further technical scheme of the present invention is: the extraction of described image pixel value is preserved with matrix form.
Further technical scheme of the present invention is: in authenticity verification step, the similarity measure of image pixel is calculated with related function, described related function is:
Wherein,
for the ultraviolet light image pixel of bank note to be detected,
for masterplate bank note ultraviolet light image pixel, the line number of m image pixel, the columns that n is image pixel.
Further technical scheme of the present invention is: in extracting image characteristic step, also comprise according to the anti-counterfeiting characteristic of the red blue fiber of bank note, extract the image pixel of the red blue fiber of bank note under ultraviolet light, in authenticity verification step, also comprise the true and false that judges bank note to be detected that has or not of by the red blue fiber of the bank note image pixel under ultraviolet light.
Technical scheme of the present invention is: build a kind of currency detecting system that ultraviolet light image is identified, comprise the illumination unit carrying out banknote image irradiation, the scanning element of scanning paper currency image, extract the image characteristics extraction unit of characteristics of image, carry out the authentication unit of forge or true or paper money checking, ultraviolet source irradiation pre-authentication bank note for described illumination unit, described scanning element scans described bank note, obtain the scan image of described bank note under ultraviolet light, described image characteristics extraction unit is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, the bright spot gray-scale value of described scan image is set to a threshold value, described scan image is obtained to the image pixel that is greater than described threshold value, described authentication unit is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that the bank note scan image to be detected obtaining is greater than to described threshold value and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.
Further technical scheme of the present invention is: described image characteristics extraction unit comprises the first memory module, and described the first memory module is preserved the described image pixel extracting with matrix form.
Further technical scheme of the present invention is: described authentication unit comprises extraction masterplate bank note image characteristics extraction module, described image characteristics extraction module, according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, is obtained the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value.
Further technical scheme of the present invention is: described authentication unit comprises the second memory module, and described the second memory module preserves with matrix form the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value.
Further technical scheme of the present invention is: described currency detecting system also comprises the image pixel red blue fiber extraction unit of the red blue fiber of extraction bank note under ultraviolet light.
Further technical scheme of the present invention is: described currency detecting system also comprises the red blue fiber authentication module that has or not the true and false that judges bank note to be detected of the image pixel under ultraviolet light by the red blue fiber of bank note.
Technique effect of the present invention is: build a kind of currency examine method and system that ultraviolet light image is identified, with ultraviolet source irradiation pre-authentication bank note, obtain the scan image of described bank note under ultraviolet light, described image characteristics extraction unit is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, the bright spot gray-scale value of described scan image is set to a threshold value, described scan image is obtained to the image pixel that is greater than described threshold value, according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that the bank note scan image to be detected obtaining is greater than to described threshold value and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.A kind of currency examine method and system that ultraviolet light image is identified of the present invention, can effectively improve the insolation level to ultraviolet anti-fake feature of automatic depositing-withdrawing equipment currency checking module, and can realize the check of the red blue fiber to imbedding at random in bank note.
Embodiment
Below in conjunction with specific embodiment, technical solution of the present invention is further illustrated.
As shown in Figure 1, the specific embodiment of the present invention is: a kind of currency examine method that ultraviolet light image is identified is provided, comprises the steps:
Step 100: irradiate bank note, that is, and with ultraviolet source irradiation pre-authentication bank note.Wherein, with UV-irradiation pre-authentication bank note, obtain the image of bank note under ultraviolet source irradiation.In the false proof region of bank note, have one to have Ultraluminescence effect, therefore, for the ultraviolet light image of this view picture bank note, the region with Ultraluminescence effect will become very bright.
Step 200: scan image, that is, scan described bank note, obtain the scan image of described bank note under ultraviolet light.
Step 300: extract characteristics of image, that is, according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, the bright spot gray-scale value of described scan image is set to a threshold value, described scan image is obtained to the image pixel that is greater than described threshold value.In specific embodiment, the extraction of described image pixel value is preserved with matrix form.In false proof region due to bank note, there is one to there is Ultraluminescence effect, therefore for the ultraviolet light image of this view picture bank note, the region with Ultraluminescence effect will become very bright, therefore set a threshold value, extract these compared with bright area, just can obtain interested bank note ultraviolet image, can be called " the burst of ultraviolel image of bank note " here.Because red blue fiber is stochastic distribution in bank note, it is also brighter that red blue fiber scans the image obtaining under the irradiation of ultraviolet light, so be mainly to detect it to have or not in anti-counterfeiting detection.
Step 400: authenticity verification,, according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that the bank note scan image to be detected obtaining is greater than to described threshold value and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.In specific embodiment, the similarity measure of image pixel is calculated with related function, described related function is:
Wherein,
for the ultraviolet light image pixel of bank note to be detected,
for masterplate bank note ultraviolet light image pixel, R(i, j) be similarity measure, the line number of m image pixel, the columns that n is image pixel.
According to the similarity measure of result of calculation, similarity measure is set and is greater than a threshold values and is genuine notes, being less than or equal to a threshold values is counterfeit money.
A kind of currency examine method that ultraviolet light image is identified of the present invention, with ultraviolet source irradiation pre-authentication bank note, obtain the scan image of described bank note under ultraviolet light, described image characteristics extraction unit is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, the bright spot gray-scale value of described scan image is set to a threshold value, described scan image is obtained to the image pixel that is greater than described threshold value, according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that the bank note scan image to be detected obtaining is greater than to described threshold value and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.A kind of currency examine method and system that ultraviolet light image is identified of the present invention, can effectively improve the insolation level to ultraviolet anti-fake feature of automatic depositing-withdrawing equipment currency checking module, and can realize the check of the red blue fiber to imbedding at random in bank note.
As shown in Figure 2, technical scheme of the present invention is: build a kind of currency detecting system that ultraviolet light image is identified, comprise the illumination unit 1 carrying out banknote image irradiation, the scanning element 2 of scanning paper currency image, extract the image characteristics extraction unit 3 of characteristics of image, carry out the authentication unit 4 of forge or true or paper money checking, described illumination unit 1 is with ultraviolet source irradiation pre-authentication bank note, , the described bank note of described scanning element 2 scanning, obtain the scan image of described bank note under ultraviolet light, described image characteristics extraction unit 3 is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, the bright spot gray-scale value of described scan image is set to a threshold value, described scan image is obtained to the image pixel that is greater than described threshold value, described authentication unit 4 is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that described authentication unit 4 is greater than described threshold value by the bank note scan image to be detected obtaining and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, described authentication unit 4 is according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.
As shown in Figure 3, specific embodiment of the invention process is: described currency detecting system comprises money transmitting channel 5, illumination unit 1, trigger sensor 6, scanning element 2, image characteristics extraction unit 3, authentication unit 4, host computer 7, gear unit 4.When having currency to enter by money transmitting channel 5, trigger sensor 6 senses currency, illumination unit 1 is with UV-irradiation bank note, due in the false proof region of bank note, there is one to there is Ultraluminescence effect, therefore for the ultraviolet light image of this view picture bank note, the region with Ultraluminescence effect will become very bright.Then the currency in 2 pairs of money transmitting channels 5 of scanning element scans under UV-irradiation, obtains the scan image that the ultraviolet source of currency excites.Described image characteristics extraction unit 3 is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, bright spot gray-scale value in ultraviolet light image is set to a threshold value, according to the image of scanning element scanning, extract the image pixel that is greater than described threshold value, described authentication unit 4 is according to the anti-counterfeiting characteristic of bank note ultraviolet light image, obtain the image pixel that bright spot gray-scale value in masterplate bank note ultraviolet light image is greater than described threshold value, described authentication unit 4 is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that described authentication unit 4 is greater than described threshold value by the bank note scan image to be detected obtaining and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, described authentication unit 4 is according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.In specific embodiment, described image characteristics extraction unit 3 comprises the first memory module 31, and described the first memory module 31 is preserved the described image pixel extracting with matrix form.Described authentication unit 4 comprises the image characteristics extraction module 41 of extracting masterplate bank note characteristics of image, described image characteristics extraction module 41 is extracted masterplate bank note image characteristics extraction module, described image characteristics extraction module, according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, is obtained the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value.Described authentication unit 4 comprises the second memory module 42, and described the second memory module 42 preserves with matrix form the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value.Described currency detecting system also comprises the image pixel red blue fiber extraction unit 32 of the red blue fiber of extraction bank note under ultraviolet light, and described currency detecting system also comprises the red blue fiber authentication module 43 that has or not the true and false that judges bank note to be detected of the image pixel under ultraviolet light by the red blue fiber of bank note.
In specific embodiment, the similarity measure of two width image image pixels is calculated with related function, described related function is:
Wherein,
for the ultraviolet light image pixel of bank note to be detected,
for masterplate bank note ultraviolet light image pixel, R(i, j) be two width image image pixel similarity measures, the line number of m image pixel, the columns that n is image pixel.
According to the similarity measure of result of calculation, similarity measure is set and is greater than a threshold values and is genuine notes, being less than or equal to a threshold values is counterfeit money.
Technique effect of the present invention is: build a kind of currency examine method and system that ultraviolet light image is identified, with ultraviolet source irradiation pre-authentication bank note, obtain the scan image of described bank note under ultraviolet light, described image characteristics extraction unit is according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, the bright spot gray-scale value of described scan image is set to a threshold value, described scan image is obtained to the image pixel that is greater than described threshold value, according to the anti-counterfeiting characteristic of bank note Ultraluminescence effect, obtain the image pixel that the bright spot gray-scale value of masterplate bank note in ultraviolet light hypograph is greater than described threshold value, the image pixel that the bank note scan image to be detected obtaining is greater than to described threshold value and the described masterplate bank note scan image obtaining obtain the image pixel that is greater than described threshold value and carry out similarity measure calculating, according to the true and false of result of calculation and predefined similarity threshold decision bank note to be detected.A kind of currency examine method and system that ultraviolet light image is identified of the present invention, can effectively improve the insolation level to ultraviolet anti-fake feature of automatic depositing-withdrawing equipment currency checking module, and can realize the check of the red blue fiber to imbedding at random in bank note.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.