Be used to detect the apparatus and method of flaky material infrared image printing quality
Technical field
The present invention relates to the apparatus and method that are used to detect, relate in particular to the apparatus and method of the infrared image printing quality that is used to detect flaky material.
Background technology
At present, in order to increase anti-counterfeit capability, in these flaky materials, be provided with infrared image mostly such as flaky materials such as banknote, securities, stamp, antifalsification papers.The quality of infrared image printing quality directly has influence on the anti-counterfeit capability of this flaky material, therefore, the inspection of infrared image printing quality is become a very important problem.
The Chinese invention patent ZL 96194751.9 of Germany Giesecke ﹠ Devrient GmbH application on May 9th, 1996 has disclosed a kind of device that is used to detect page sheet material, this device has a lighting device, be used in detected overall optical spectral limit, continuously the page or leaf sheet material being thrown light on, also have a receiving device, it has the parallel charge-coupled device (CCD) array of two-lines at least.Each ccd array is provided with the light filter that is used for seeing through a certain SPECTRAL REGION light.Each light filter is through selected, so as to make at least one light filter work in the visible range and at least another one be operated in the invisible spectrum district.For detecting the light by diffuse reflection of page or leaf sheet material or transmission, each ccd array produces electric signal from the light that receives, and electric signal is handled in evaluating apparatus subsequently and compared with reference data, to realize the detection to described page or leaf sheet material.Though use the disclosed device of this patent of invention can the printing quality of the infrared image of page or leaf sheet material be detected, because the light source of this device employing is a full spectrum light source, energy consumption is bigger, the also corresponding minimizing of light source life.And the structure of this device is complicated, for example, because the light source that this patent of invention adopted is the sphere emission, inefficiency is so must increase reverberator, can obtain enough illumination intensities, and the diffused light that catoptron forms also can reduce the sharpness of image.In this device, need to use light source that the page or leaf sheet material is carried out continuously evenly illumination, can cause a problem like this, promptly, adopting under the situation of ccd array as receiving trap, might cause the brightness irregularities of the image of ccd array picked-up because of wide visual field problem, influence the degree of accuracy that detects to a great extent.In addition, this device can only could be differentiated banknote under the situation of banknote moving linearly, and the straight-line shake up and down of banknote, the equistability that swings problem is very big to the degree of accuracy influence that detects, the velocity ratio that this device detects banknote is less, and this speed can only be constant speed, otherwise very big distortion can appear in image.Under the situation of constant speed, the normal requirement of velocity-stabilization degree is higher than 2/10000ths, and be too high but this velocity-stabilization degree requires, and is to be difficult to realize.
German patent application DE-OS3815375 shows a kind of page device of sheet material legitimacy that is used to detect, and it is made of a plurality of similar modules, and each module all has white light illumination device and the linear photodiode display of oneself.And, be provided with the light filter of the light in coloured light such as being used for seeing through red, green, blue for example or infrared spectrum zone in each module the place ahead.For the page or leaf sheet material is detected, the light that lighting device sends is through corresponding light filter and shine described page or leaf sheet material, is detected by described light filter and by linear photoelectric diode array by the irreflexive light of described page or leaf sheet material.Photodiode array converts the light of incident to corresponding signal, and handles subsequently.Use similar module to handle by light, guaranteed to be convenient to repair described device, still, also caused higher relatively cost of equipment simultaneously different color light or infrared spectral region.Owing to used photodiode array, the page or leaf sheet material can obtain scanning on its whole width.But used circuit more complicated, in addition since the intensity of light a little less than, the resolution that is obtained is lower, to the detection out of true of page or leaf sheet material.In addition and since in page or leaf sheet material motion, occur shake up and down, swing and problem such as speed instability can make the image that collects very big distortion occur, thereby greatly reduce the precision of check.
German patent application DE A-44-38746 discloses a kind of device, has wherein used a kind of lighting device, the page or leaf sheet material of static state is thrown light on, and, receive by the irreflexive light of page or leaf sheet material by a receiving trap, and convert it into corresponding electric signal.In evaluation unit, handle this electric signal.Receiving trap has the coloured light sensor and the sensor that receives Infrared that receive luminous ray, like this, can produce infrared picture data and visual picture data simultaneously.The weak point of this device is that the page or leaf sheet material to static state detects only, and detection speed is very slow, can not satisfy the requirement of high-speed production.In addition, owing to used coloured light sensor and infrared light transducer[sensor, so installation cost is higher.
The Chinese utility model patent ZL02205868.0 that the inventor applied on March 6th, 2002 discloses a kind of pick-up unit that is used for opening greatly banknote printing quality checking machine band combined probe, it comprise cabinet, greatly open banknote phoresy cylinder, shaft-position encoder, near the light source of cylinder, in cabinet, be provided with two groups or more linear array CCD camera group along the axial direction of cylinder, each ccd video camera and camera lens front end thereof are equipped with optical filter, and the rotating shaft of cylinder is provided with a shaft-position encoder.Light source irradiation is arranged on the big banknote of opening on the cylinder, the banknote reflection on the linear array CCD camera picked-up cylinder or the light of diffusion, opened the image of banknote greatly, adopt different types of optical filter (as ultraviolet, fluorescence, redness or infrared etc.), can make and respectively organize the big banknote image of opening that ccd video camera absorbs different spectrum.Because the light source that this device adopts is a full spectrum light source, by using different light filters to see through the light of different spectrum, so that ccd video camera absorbs the image of different spectrum, thereby caused the generation of the not enough situation of intensity of illumination, in this case, the image that absorbs by ccd video camera can become clear inadequately, is unfavorable for opening greatly the detection of banknote printing quality.In addition, this utility model patent has only disclosed the capturing apparatus that is used for pickup image, does not have to disclose the device of how image that absorbs being handled.
Therefore, in order to overcome the defective of above-mentioned prior art, need a kind of structure simple relatively, with low cost, the apparatus and method that can detect the infrared image printing quality of flaky material with higher resolution.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of at least one defective that has overcome above-mentioned prior art, can check the pick-up unit and the method for the infrared image printing quality of flaky material at a high speed.
One object of the present invention is to provide a kind of pick-up unit and method of infrared image printing quality of accurately fast detecting flaky material.
Another object of the present invention is to provide a kind of and can carry out pinpoint apparatus and method the pick-up unit of the infrared image printing quality of checking flaky material.
The invention provides a kind of device that is used to detect flaky material infrared image printing quality.This device comprises: transmitting device, irradiation unit, receiving trap and signal conditioning package, and this transmitting device is used to transmit this flaky material, and with a transmission speed this flaky material is moved towards a direction; This transmitting device is a cylinder, and flaky material is attached on the described cylinder, rotates with this cylinder.This irradiation unit is made of infrared light supply, and infrared light is shone on the flaky material; This receiving trap comprises at least one linear array CCD camera group, and this linear array CCD camera group comprises at least two linear array CCD cameras, and this linear array CCD camera is provided with optical system and Infrared filter.
This infrared light supply can with infrared light evenly or uneven irradiation to flaky material.On cylinder, be placed with target, be used for the position of initialization linear array CCD camera group.
This target comprises five images, that is: first image, second image, the 3rd image, the 4th image and the 5th image.
First image is used for the optical axis of the optical system of this linear array CCD camera group is adjusted to straight line, it comprises: four blockages, be positioned at the central authorities of the 4th target, and it is centered close on the straight line, size equals the resolution dimensions of this ccd video camera, and spacing is 5 resolutions; Upright dark black triangle is positioned at the below of the 4th target, and to the scopes of 150 degree, its top center with left/right second blockage overlaps drift angle at 90 degree; And the dark black triangle that stands upside down, be positioned at the top of the 4th target, drift angle be 90 degree to the scopes of 150 degree, its top center with left/right the 3rd blockage overlaps.
Second image is used to adjust the symmetry of visual field up and down of the optical system of linear array CCD camera, and it comprises: superposed dark rectangle, and it highly is 1/4 of a length; And the right-angled trapezium striped that is positioned at the bottom, trapezoidal striped comprises that width is the light lines and the dark strokes of 1 resolution, and the long straight flange of right-angled trapezium striped is 3/4 with the length ratio on base, and the angle of hypotenuse and short right-angle side is between 90 degree are spent to 150.
The 3rd image is used to adjust the focus state of the optical system of this linear array CCD camera, and it comprises the rectangle striped, and this rectangle striped comprises: the light lines of wide 2 resolutions, and it is positioned at the central authorities of rectangle striped; And the alternate dark color of wide 1 resolution, light lines, its symmetry is positioned at the light lines both sides of wide 2 resolutions.
The 4th image is used to adjust the overlapping region of linear array CCD camera, and it comprises that four width are the dark strokes of 2 resolutions, two middle dark strokes be spaced apart 2 resolutions, the interval between the left side two dark strokes and the right two dark strokes is identical.
The 5th image is used to test transport function, and it comprises the rectangle striped, and this rectangle striped comprises five groups of symmetry stripeds, and the corresponding normalized spatial frequency of the width of each striped difference, f/f
N=0.1,0.2,0.3,0.4 and 0.5.
In above-mentioned detection device, irradiation unit is configured in the position parallel with cylinder axis with receiving trap, have certain angle between the irradiates light direction of this irradiation unit and the optical axis of described ccd video camera, lighting device arrives the distance of cylinder axis less than receiving trap to the distance of cylinder axis.On transmitting device, also be provided with scrambler, be used to make flaky material, lighting device and receiving trap synchronous working.
In above-mentioned pick-up unit, this signal conditioning package comprises: harvester, treating apparatus, memory storage, input media, output unit; This harvester is used for the acquisition testing image; This treating apparatus is used to receive the detected image that harvester is gathered, and sets up template, and uses special algorithm that detected image and template are compared; This memory storage is used for store template and detected image; This input media is used for input and detects and steering order, to change the transmission speed of template parameter and control transmission device; This output unit is used for comparative result is exported.In above-mentioned signal conditioning package, harvester can be an image pick-up card, and treating apparatus can adopt central processing unit or DSP (digital signal processor) image processor.The special algorithm of being mentioned is the multi-direction projection algorithm of image.
In above-mentioned pick-up unit, this irradiation unit light shines on the flaky material in the zone of certain width and length, and the width of this length and flaky material is identical or be slightly larger than the width of flaky material.
The present invention also provides a kind of method that is used to detect flaky material infrared image printing quality, may further comprise the steps: at first, by the second best in quality flaky material is analyzed, set up the infrared image template; Then, use transmitting device to transmit this flaky material along a direction; Then, the irradiation unit that is used for launching infrared light shines this flaky material; Subsequently, use the receiving trap have Infrared filter to filter the interference of non-infrared light and receive the infrared light of this flaky material diffusion or reflection, and be translated into detected image; Then, use signal conditioning package collection and handle this detected image; At last, use signal conditioning package that this detected image and template are compared, to detect the printing quality of this flaky material infrared image.
Also comprise in collection of above-mentioned use signal conditioning package and the step of handling this detected image: use harvester acquisition testing image; Use the detected image that treating apparatus receives and processing is gathered; Use special algorithm that this detected image and this infrared image template are compared by this treating apparatus; And output comparative result.
The step that receives the detected image of being gathered at above-mentioned use treating apparatus also comprises: use and gather the infrared image that the window collection need detect, to reduce the interference of data volume and the non-infrared data of elimination.
In the above-mentioned method that is used for detecting flaky material infrared image printing quality, the algorithm that is adopted is the multi-direction projection algorithm of image.What irradiation unit adopted is infrared light supply.The irradiating step of being mentioned comprises uses irradiation unit that flaky material is carried out evenly or uneven irradiation.
The comparison step of being mentioned in said method also comprises: the duty of judging transmitting device, irradiation unit, signal conditioning package; Determine the general location of detected image, detected image is carried out the subregion fine positioning; Detected image is carried out related operation with respect to template, determine the overproof zone of detected image and the information of overproof numerical value; And according to statistical theory overproof area information is analyzed, determine the quality of detected image.
The advantage of the apparatus and method of the infrared image printing quality that is used to detect flaky material provided by the invention is as follows:
1. with in the prior art carry out " infrared image → visible images conversion " earlier and then use linear array CCD camera picked-up visible images to compare, the present invention has adopted the linear array CCD camera that uses the band Infrared filter directly to absorb the method for infrared image, simple in structure, the image definition height;
2. owing to adopted the target of the present invention's design, can adjust the position of linear array CCD camera group more exactly, make the linear array CCD camera group be in the optimum position;
3. inhomogeneous the compensating of light intensity of the absorption image that can produce the wide visual field problem owing to linear array CCD camera improved the homogeneity and the sharpness of detected image;
4. owing to adopted preferred algorithm, make the calculated amount for the treatment of apparatus reduce greatly, detection speed is greatly improved, and the accuracy of comparative result is significantly improved;
5. because flaky material is attached on the cylinder, and shake does not up and down swing, so the image that collects is not distortion almost; And
6. owing to be used in combination scrambler simultaneously on the transmitting device, so allow the velocity of rotation of cylinder non-constant, reduced accuracy requirement to machinery, can adjust the velocity of rotation of cylinder, and can make transmitting device, irradiation unit, receiving trap synchronous working, improved accuracy of detection.
Description of drawings
Fig. 1 is the structure principle chart according to pick-up unit of the present invention;
Fig. 2 is the circuit block diagram of the signal conditioning package in the pick-up unit shown in Figure 1;
Fig. 3 is the image according to the target that adopts in the pick-up unit of the present invention;
Fig. 4 is the partial enlarged drawing of the image of target shown in Figure 3;
Fig. 5 is the spectrum character diagram according to the Infrared filter that adopts in the pick-up unit of the present invention;
Fig. 6 is the process flow diagram according to detection method of the present invention;
Fig. 7 is the schematic diagram of the projection algorithm that adopts according to apparatus and method of the present invention; And
Fig. 8 is the process flow diagram of the comparison step in the detection method shown in Figure 6.
Embodiment
With reference now to description of drawings the present invention,, Fig. 1 is the structure principle chart of the disclosed pick-up unit of the present invention.This pick-up unit 100 comprises transmitting device 101, irradiation unit 103, receiving trap 105, signal conditioning package 200.Transmitting device 101 is provided with scrambler 107, is used to make transmitting device 101, irradiation unit 103, receiving trap 105 synchronous workings.Flaky material is arranged on the transmitting device 101.Receiving trap 105 is provided with Infrared filter 109, is used for seeing through infrared light.Irradiation unit 103 with irradiate light to the flaky material that is positioned on the transmitting device 101, receiving trap 105 receives from the infrared light of this flaky material reflection or diffusion, and convert thereof into detected image, signal conditioning package 200 receives this detected image from receiving trap 105, and itself and the template of having set up in advance compared, thereby detect the printing quality of flaky material infrared image.In one embodiment of the invention, transmitting device 101 can comprise cylinder; Irradiation unit 103 can adopt infrared light supply, is used to excite the infrared image of flaky material, and in this embodiment, infrared light supply is made up of the infrared LEDs array, the emission wavelength of LED preferably at 750nm between the 840nm, the quantity of LED is preferably 380; Receiving trap 105 can comprise at least one linear linear array CCD camera group, and this linear array CCD camera group comprises at least two linear array CCD cameras, and each linear array CCD camera is provided with Infrared filter.
Fig. 2 is the circuit block diagram of the signal conditioning package 200 in the pick-up unit 100 shown in Figure 1.Signal conditioning package 200 comprises harvester 202, treating apparatus 204, memory storage 206, input media 208 and output unit 210.Harvester 202 is used to gather the detected image from receiving trap 105; Treating apparatus 204 is used to set up template, handles the detected image that harvester 202 is gathered, and uses special algorithm that detected image and template are compared; Memory storage 206 is used for store template and part detected image; Input media 208 is used for input instruction, to change the transmission speed of template parameter and control transmission device 101; Output unit 210 is used to export comparative result.In according to one embodiment of present invention, harvester 202 can comprise image pick-up card (image pick-up card can obtain from the market), and treating apparatus 204 can be a central processing unit, also can be the DSP image processor.Memory storage 206 can be permanent storage or temporary storage.Input media 208 can comprise keyboard, mouse, touch-screen or its combination.Output unit 210 can be display device and I/O card.
Fig. 3 is the image of the target of employing in the disclosed pick-up unit of the present invention 100.Target is used for before the printing quality of using pick-up unit detection flaky material the performance parameter of receiving trap being adjusted to optimum condition.Before detecting, need adjust the performance parameter of receiving trap 105 (being the linear array CCD camera group in the present embodiment), target is placed on the transmitting device 101, with receiving trap 105 bornb sights, manually or automatically adjust the position of receiving trap 105, till satisfying the needed performance index of detection.
Fig. 4 is the partial enlarged drawing of the image of target shown in Figure 3.First image is used for the optical axis of the optical system of linear array CCD camera is adjusted to straight line, there are four blockages at the middle part of this image, the size of each blockage equals the resolution dimensions of linear array CCD camera, the straight line that center by these blockages is linked to be is exactly the datum line of target, is exactly to adjust to the optical axis of the optical system of each linear array CCD camera on this datum line during adjustment.Second image is used to adjust the symmetry of visual field up and down of the optical system of linear array CCD camera.The 3rd image is used to adjust the focus state of the optical system of linear array CCD camera.The 4th image is used to adjust the overlapping region of linear array CCD camera.The 5th image is used to test transport function.
First image comprises: four blockages, be positioned at the central authorities of the 4th target, and it is centered close on the straight line, and size equals the resolution dimensions of ccd video camera, and spacing is 5 resolutions; Upright dark black triangle is positioned at the below of the 4th target, and to the scopes of 150 degree, its top center with left/right second blockage overlaps drift angle at 90 degree; And the dark black triangle that stands upside down, be positioned at the top of the 4th target, drift angle be 90 degree to the scopes of 150 degree, its top center with left/right the 3rd blockage overlaps.
Second image comprises: superposed dark rectangle, and it highly is 1/4 of a length; And the right-angled trapezium striped that is positioned at the bottom, trapezoidal striped comprises that width is the light lines and the dark strokes of 1 resolution, and the long straight flange of right-angled trapezium striped is 3/4 with the length ratio on base, and the angle of hypotenuse and short right-angle side is between 90 degree are spent to 150.
The 3rd image comprises the rectangular strip line, and this rectangle striped comprises: the light lines of wide 2 resolutions, and it is positioned at the central authorities of rectangle striped; And the alternate dark color of wide 1 resolution, light lines, its symmetry is positioned at the light lines both sides of wide 2 resolutions.
The 4th image comprises that four width are the dark strokes of 2 resolutions, two middle dark strokes be spaced apart 2 resolutions, the interval between the left side two dark strokes and the right two dark strokes is identical.
The 5th image comprises a rectangle striped, and this rectangle striped comprises five groups of symmetry stripeds, and respectively organizes the corresponding normalized spatial frequency of width difference of striped, f/f
N=0.1,0.2,0.3,0.4 and 0.5.
Fig. 5 is the spectrum character diagram of the Infrared filter of employing in the disclosed pick-up unit of the present invention 100.Employed Infrared filter is used to eliminate visible light to be disturbed.As can be seen from FIG., transverse axis is a wavelength, and the longitudinal axis is a transmitance.Along with the increase of light wavelength, the amount of light that sees through Infrared filter is just big more, and transmitance is also just big more.Especially after wavelength was greater than 780nm, the transmitance of light was very big, and what just see through Infrared filter is infrared light.
Fig. 6 is the process flow diagram of the disclosed detection method of the present invention.This detection method may further comprise the steps: before detecting beginning, need to use target to adjust the performance parameter of receiving trap.In step 602, use transmitting device 101 along direction transmission flaky material; Proceed to step 604, use 103 pairs of flaky materials of irradiation unit to shine; In step 606, use the receiving trap 105 that has Infrared filter to receive the infrared light of flaky material diffusion or reflection, and be translated into detected image; In step 608, use signal conditioning package acquisition testing image; In step 610, use 200 pairs of the second best in quality flaky materials of signal conditioning package to analyze, set up the infrared image template, and it is stored in the memory storage 206; In step 612, use signal conditioning package 200 that detected image and template are compared, carry out matching operation, to detect the printing quality of flaky material infrared image.
When setting up template and carrying out matching operation, adopted a kind of algorithm of uniqueness, i.e. the multi-direction projection algorithm of image.This algorithm is stored in the storer of signal conditioning package, calls this algorithm by the treating apparatus in the signal conditioning package when setting up template and carrying out matching operation.This algorithm is than simple and direct many of traditional algorithm, and its principle is seen Fig. 7, wherein is provided with 6 coordinate axis, and calculates the one dimension drop shadow curve of two-dimensional infrared image on the direction of 6 axles.Make the template that to set up infrared image in this way quickly and easily and carry out the inspection of infrared image printing quality.
When setting up template, need choose 50 to 100 or more up-to-standard flaky material earlier, their infrared image be carried out projection calculate, be averaged then, obtain the averaging projection curve of infrared image in 6 directions, these 6 averaged curve are exactly to detect the template of usefulness.During detection, earlier detected flaky material is calculated the one dimension drop shadow curve of 6 infrared images being mentioned, then with template in corresponding curve carry out matching detection respectively; When two couplings were fine, this detected flaky material had been product, otherwise is exactly waste product.
Fig. 8 is the process flow diagram of the comparison step in the detection method shown in Figure 6.Further comprising the steps of in calculation procedure shown in Figure 6 612: as, to use signal conditioning package 200 to judge the duty of transmitting device 101, irradiation unit 103, signal conditioning package 200 in step 802; In step 804, at first determine the general location of detected image by the treating apparatus in the signal conditioning package 200 204, then detected image is carried out the subregion fine positioning; In step 806, the treating apparatus 204 in the signal conditioning package 200 carries out related operation with detected image with respect to template, determines the overproof area information of detected image; In step 808, the treating apparatus 204 in the signal conditioning package 200 is analyzed the information of overproof zone and overproof numerical value according to statistical theory, determines the quality of this detected image.
Detection method provided by the present invention and device can be used to detect the infrared printing quality of flaky materials such as banknote, securities, antifalsification paper.The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.