CN101799868B - Machine vision inspection method for paper money - Google Patents

Machine vision inspection method for paper money Download PDF

Info

Publication number
CN101799868B
CN101799868B CN2010101036445A CN201010103644A CN101799868B CN 101799868 B CN101799868 B CN 101799868B CN 2010101036445 A CN2010101036445 A CN 2010101036445A CN 201010103644 A CN201010103644 A CN 201010103644A CN 101799868 B CN101799868 B CN 101799868B
Authority
CN
China
Prior art keywords
image
texture
edge
sides
folder
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.)
Active
Application number
CN2010101036445A
Other languages
Chinese (zh)
Other versions
CN101799868A (en
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.)
NANJING CBPM-GREAT WALL FINANCIAL EQUIPMENT Co Ltd
Original Assignee
NANJING CBPM-GREAT WALL FINANCIAL EQUIPMENT 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 NANJING CBPM-GREAT WALL FINANCIAL EQUIPMENT Co Ltd filed Critical NANJING CBPM-GREAT WALL FINANCIAL EQUIPMENT Co Ltd
Priority to CN2010101036445A priority Critical patent/CN101799868B/en
Publication of CN101799868A publication Critical patent/CN101799868A/en
Application granted granted Critical
Publication of CN101799868B publication Critical patent/CN101799868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention relates to a machine vision inspection method for paper money, in which an image taking device is firstly utilized to read in an image, the image picture displays the thickness of the paper money, the direction of the thickness of the paper money is set to be x direction, the direction of the width of the paper money is perpendicular to the picture, the direction of the length of the paper money is set to be y direction, and then whether the waist strip retainer of bundled paper money is correct is inspected. The method is applied in vision inspection of bundled paper money, such as waist strip retainer and seal identification, facing slip information identification, money bundle face value identification and the like, and realizes automation and high inspection efficiency and accuracy.

Description

Machine vision inspection method for paper money
Technical field
This method belongs to the image recognition application process, specifically is to be applied to the machine vision inspection method for paper money in whole bundle of detection of bank note to image recognition.
Background technology
Machine vision replaces human eye to do measurement and judgement with machine exactly.NI Vision Builder for Automated Inspection is meant that through machine vision product (be image-pickup device; Like CMOS and CCD) Target Transformation that will detect becomes digital quantity signal; These digital quantity signals send special-purpose image processing system (dividing embedded and the video card mode) again to, and image processing system is provided with the detection task according to the mission requirements that will detect.Control on-the-spot device motion according to discrimination result then.
The characteristics of NI Vision Builder for Automated Inspection are to improve the product quality and the production line automation degree of producing.Especially be not suitable for the dangerous work environment of manual work or the occasion that human eye is difficult to meet the demands at some, the machine in normal service vision substitutes the artificial vision; Simultaneously in industrial processes in enormous quantities, low and precision is not high with artificial visual inspection product quality efficient, the automaticity that can enhance productivity greatly and produce with machine vision detection method.And machine vision is easy to realize information integration, is the basic technology that realizes computer integrated manufacturing system.Similar application as, tobacco business IMAQ recognition system mainly is made up of ccd video camera, lighting device, industrial computer and visual processes software, the realtime graphic of CCD high-speed camera picked-up tobacco leaf, and send into the graphics processing unit of electrical control cubicles.Image processing software detects according to the characteristic of various settings automatically, discerns normal tobacco leaf and foreign matter, and the discovery foreign matter is then incited somebody to action notification action device for information about.
The waist bar of bundled bank note whether block and seal image such as Fig. 1 of detecting, in general bank note is to prick a formation A with waist bar B earlier, is that a bundle is tied up with strapping C with 10 A again, detects at last.If the different bank note of denomination is mixed in A in a bundle, will think to occur " folder handle " situation.On each waist bar B, stamped signature (operator's name chapter) should be arranged also.
Connected domain is meant the set of being made up of some pixels, and the pixel in this set has following characteristic: the grey level of 1 all pixels all is less than or equal to the rank of connected domain; Pixel in the 2 same connected domains communicates in twos, promptly between any two pixels, has a complete path that is made up of the element of this set.
Summary of the invention
In order to be embodied as the vision-based detection of pack of paper coin, the detection automatization level of bundled bank note is improved, detection speed and precision improve, and the present invention proposes a kind of bank note card machine vision detection method, and concrete technical scheme is following:
A kind of machine vision inspection method for paper money reads in image with image-pickup device earlier, and what image frame showed is banknote thickness, and the banknote thickness direction is made as the x direction, and the width of paper money direction is perpendicular to picture, and the length direction of bank note is made as the y direction; Again to the waist bar card of bundled bank note whether correctly detecting, concrete steps comprise:
1) connected domain analysis: choose suitable judgement image earlier, and choose largest connected territory, i.e. target area; Judge tentatively according to largest connected territory whether image is correct, correctly then get into next step;
2) seek flex point in the target area the corner of pack of paper coin, if find four flex points, then get into next step;
3) judgement folder handle: edge or the texture through the evaluating objects zone judges whether the folder handle respectively, if the folder handle is arranged, finishes to judge, points out folder withdrawing from; If the folder handle does not then get into next step;
4) judge many handles or few handle: obtain white waist bar information in the target area earlier; Judge whether that through analyzing the waist bar number is correct; If mistake, then prompting is miscounting mistake, withdrawing from; If correct, then finish to judge that prompting right withdraws from;
In the said step 3), comprise step:
3.1) the regional edge of evaluating objects: for the image that obtains flex point, earlier image is carried out texture analysis, the texture that promptly thickness of bank note constitutes on the x direction is analyzed; Move towards stack to what analyzing image texture obtained, judge that banknote stacks direction; Then the both sides image edge addition that is judged to be the correspondence that stacks direction; Again the image edge after the stack is analyzed, then confirmed to exist the folder handle;
3.2) step 3.1) judge that conclusion is not press from both sides handle, then jump out step 3), if folder handle, the then texture of further analysis image are arranged:
When if texture is straight line, step 3.1) folder that obtains the result for false; Texture is a straight line, and promptly image edge in the left and right sides adds up to straight line, protrusion or not recessed not, about the phase side uneven owing to tie up out-of-flatness and cause;
If the texture in the x direction is a curve, and bending direction is identical with the direction of judging the folder handle, i.e. when texture downwarping and judgement were pressed from both sides the position below image, folder was the result false; This judgement has been got rid of because bill is tied up the wrong conclusion that bending causes judgement folder handle.See Fig. 3.
If the texture in the x direction is a curve, and bending direction with judge folder in the opposite direction, i.e. above image the time, it is true pressing from both sides the result the position for texture downwarping and judgement folder.See Fig. 4.
In the said step 1), it is dark forcing background earlier, through strengthening picture contrast and image binaryzation, is partitioned into image boundary;
Promptly come mode that the texture of image is followed the tracks of through texture tracked again, analyze image zones of different deformation extent through image target area internal tangent direction, and state before adjustment original image to the distortion; Said this tangential direction is the direction vertical with the gradient direction of image;
Said texture tracked concrete steps are; Tie the difference of deformation texture degree according to the bill that analyzes; The influence of crushed element is remedied, and generally speaking owing to the strength trend of tying up, the edge part branch on image both sides upwarps or has a downwarp; And length direction can shorten, and gets on the artificial compensation of shortening of part according to deformation extent.
In the said step 1, said correct image is to find one to follow all bills of learning to tie the closed connected region of rectangle that sample similarly meets the general pattern size;
The process of choosing in largest connected territory: use homomorphic filtering and dynamic histogram thresholding to analyze the method for alternate analysis, accurately set display foreground and background gray level difference below 20; Judge largest connected territory through image binaryzation, and largest connected territory is corroded and expansion process, filter the edge burr; Under the state at the no image of judgement edge, use background value and the maximum edge of waist bar preserved to simulate the sample edge again.Because cross old bill binding together; Color is darker, and is close with black background, when graphical analysis, can not analyze the image edge that bill is tied; But the color of waist bar and background colour differ often, simulate bill again through the maximum edge that finds the waist bar and tie the sample image edge.
Said step 2) in, the method for seeking flex point is that employing is promptly at first found two the longest points of distance on the edge with image 45 degree angle translation search plans, orients two remaining points again;
For the banknote flange of 4 angles generations or the seal flange of center section generation; Adjust the disturbing factor of individual generation of elimination through once corroding and expanding; And confirm banknote flange, the seal flange position that the manual waist bar afterbody that twines leans out or center section produces through the image gray levels analysis once more; Through direct removing parts of images, eliminate the influence that flange brings.
Said step 3.1) concrete steps are; Addition is carried out to the projected length at image boundary place in banknote both sides of the edge in the image obtain an one-dimension array; Again this one-dimension array is analyzed; Judge according to its fluctuation range whether its edge has protrusion or recessed, and have only when protrusion or recessed continuous part length greater than the both sides of the edge overall length 10% the time, just confirm to exist the folder handle.
In the said step 4), white waist bar information obtains through self-adaption binaryzation in the target area:
Because the gray level difference of waist bar or strapping and banknote itself; At first extract white waist bar and strapping position; Specifically be to obtain with self-adaption binaryzation method; Again binary image is carried out the connected domain analysis, have gray difference, confirm their position through this species diversity based on waist bar and strapping and banknote itself;
The position-based condition that possibly occur again, the method for taking to travel through is estimated the situation of waist bar, and through the traversal back different evaluation of weight as a result, the situation of finally confirming to tie up the waist bar;
Is number identification what obtain through the shadowing analysis between every handle; Under the condition not enough number, increase every more promptly judge thickness average value about under each situation of 5, it is consistent that the average thickness on both sides is wanted, to avoid because the waist bar is out of shape the erroneous judgement that the two bundle banknote waist bars coincidences that produce bring.
In the step 4), in identifying, use red channel to reach the purpose of implicit name chapter, image normalization is also given prominence to the shade between every bundle.Specifically, be for a set image, change the curve of certain passage separately, can cause colour cast, according to actual conditions, the name chapter on the waist bar is red, uses red channel, can eliminate the difference that the unknown chapter image in famous Zhanghe brings; Through an implicit name chapter, with the shade between image normalization and the outstanding every bundle, a name Zhang Yanse will desalinate and be white in the image red channel, improve card accuracy of identification.
In the step 4), brand-new banknote stacks in strict accordance with last 5 times 5 cross methods, and because brand-new stiff thickness strict conformance;
After in algorithm identified, removing the use standard method of analysis; Fresh money also increased connected domain area comparison process: owing to can produce the higher pixel of gray-scale value; So under each situation of 5 of both sides; Whether the connected domain area of judging both sides gray-scale value upper zone equates, to promote the precision of test result.
This method is applied in the vision-based detection of bundled bank note, and for example waist bar card handle and seal identification, seal information Recognition and money are tied face amount identification etc., realizes that robotization, detection efficiency and precision are high.
Description of drawings
Fig. 1 is that coin is tied up synoptic diagram;
Fig. 2 specifically judges the image synoptic diagram, wherein
Among the figure, E is that to belong to a side be to stack direction one side, G2 to belong to a side be that the opposite side that stacks direction, the appearance profile D that F is texture, image are largest connected territory for flex point, G1;
Fig. 3 is a step 3.2) in folder be the result false synoptic diagram;
Fig. 4 is a step 3.2) in folder be the result true synoptic diagram;
Fig. 5 is that folder is synoptic diagram;
Fig. 6 is the uneven synoptic diagram in left and right side;
Fig. 7 is up and down wave and seal flange synoptic diagram;
Fig. 8 is a left and right sides wave synoptic diagram;
Fig. 9 is that brand-new banknote is tied up synoptic diagram,
Among the figure, H is that white portion, J1 are that last 5 folded banknotes, J2 are for 5 folding banknotes down;
Figure 10 is the process flow diagram that programming realizes this method.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described further.
A kind of machine vision inspection method for paper money reads in image with image-pickup device earlier, and what image frame showed is banknote thickness, and the banknote thickness direction is made as the x direction, and the width of paper money direction is perpendicular to picture, and the length direction of bank note is made as the y direction; Again to the waist bar card of bundled bank note whether correctly detecting, step comprises:
1) connected domain analysis: choose suitable judgement image earlier, and choose largest connected territory, i.e. target area; Judge tentatively according to largest connected territory whether image is correct, correctly then get into next step;
Correct images is meant and finds one to follow all bills of learning to tie the closed connected region of rectangle that sample similarly meets the general pattern size;
Be to use homomorphic filtering and dynamic histogram thresholding to analyze the method for alternate analysis to choosing of largest connected territory, accurately set display foreground and background gray level difference below 20.Judge largest connected territory through image binaryzation, and largest connected territory is corroded and expansion process, filter the edge burr.Under the state at the no image of judgement edge, use background value and the maximum edge of waist bar preserved to simulate the sample edge again.
2) seek flex point in the target area the corner of pack of paper coin, if find four flex points, then get into next step;
3) judgement folder handle: edge or the texture through the evaluating objects zone judges whether the folder handle respectively, if the folder handle is arranged, finishes to judge that program prompts is pressed from both sides withdrawing from; If the folder handle does not then get into next step;
4) judge many handles or few handle: obtain white waist bar information in the target area through self-adaption binaryzation; Judge whether that through analyzing the waist bar number is correct; If mistake, program prompts withdraws from miscounting mistake; If correct, then finish to judge that program prompts correctly withdraws from.
In the said step 3), comprise step:
3.1) the regional edge of evaluating objects: for the image that obtains flex point, earlier image is carried out texture analysis, the texture that promptly thickness of bank note constitutes on the x direction is analyzed; Move towards stack to what analyzing image texture obtained, judge that banknote stacks direction; Then the both sides image edge addition that is judged to be the correspondence that stacks direction; The image edge after the stack is analyzed, whether whether judgement exist protrusion or recessed continuous part greater than 10% again; If greater than, then confirm to exist the folder handle;
Specifically: addition is carried out to the projected length at image boundary place in banknote both sides of the edge in the image obtain an one-dimension array; Again this one-dimension array is analyzed; Judge according to its fluctuation range whether its edge has protrusion or recessed; And have only when protrusion or recessed continuous part length greater than the both sides of the edge overall length 10% the time, just confirm to exist folder.
3.2) step 3.1) judge that conclusion is not press from both sides handle, then jump out step 3), if folder handle, the then texture of further analysis image are arranged:
When if texture is straight line, step 3.1) folder that obtains the result for false; Texture is a straight line, and promptly image edge in the left and right sides adds up to straight line, protrusion or not recessed not, about the phase side uneven owing to tie up out-of-flatness and cause.
If the texture in the x direction is a curve, and bending direction is identical with the direction of judging the folder handle, i.e. when texture downwarping and judgement were pressed from both sides the position below image, folder was the result false; This judgement has been got rid of because bill is tied up the wrong conclusion that bending causes judgement folder handle.
If the texture in the x direction is a curve, and bending direction with judge folder in the opposite direction, i.e. above image the time, it is true pressing from both sides the result the position for texture downwarping and judgement folder.
For step 1),
It is dark forcing background, through strengthening picture contrast and image binaryzation, is partitioned into image boundary.Mode (promptly coming the texture of image is followed the tracks of) through texture tracked through image target area internal tangent direction (vertical) with the gradient direction of image; Analyze image zones of different deformation extent; And the adjustment original image extremely is out of shape preceding state, and (method of adjustment is the difference of tying the deformation texture degree according to the bill that analyzes; The influence of crushed element is remedied, and generally speaking owing to the strength trend of tying up, the edge part branch on image both sides upwarps or has a downwarp; And length direction can shorten, and gets on the artificial compensation of shortening of part according to deformation extent).
Use homomorphic filtering specific as follows with the method for dynamically histogram thresholding analysis alternate analysis:
A, homomorphic filtering: (x y) can regard as by two component combination and forms, promptly piece image f
f(x,y)=i(x,y).r(x,y)
(x is luminance component (an incident component) y) to i, is the light intensity that incides on the scenery;
(x y) is reflecting component to r, is the light intensity that receives the scenery reflection.
Concrete steps are following:
(1) taken the logarithm simultaneously in the both sides of following formula earlier, promptly
Inf(x,y)=Ini(x,y)+Inr(x,y)
(2) Fourier transform is got on the following formula both sides,
F(u,v)=I(u,v)+R(u,v)
(3) (u, (u v), can obtain v) to handle F with a frequency-domain function H
H(u,v)F(u,v)=H(u,v)I(u,v)+H(u,v)R(u,v)
(4) inverse Fourier transform gets to spatial domain
Hff(x,y)=hi(x,y)+hr(x,y)
It is thus clear that getting image after strengthening is to get two parts corresponding luminance component and reflecting component to be formed by stacking.
(5) again index is got on the following formula both sides,
g(x,y)=exp|hff(x,y)|=exp|hi(x,y)|+exp|hr(x,y)|
Here, be called the homomorphic filtering function, it can act on respectively on luminance component and the reflecting component.
Piece image gets luminance component and characterizes with changing slowly usually, and reflecting component then tends to rapid conversion.So after taking the logarithm, image gets the main corresponding luminance component of low frequency part of Fourier transform, and the main corresponding reflecting component of HFS.The suitable choice filter function will produce different responses with HFS to the low frequency part in the Fourier transform.Result can make the dynamic range of pixel gray scale or picture contrast be enhanced.
B, dynamically histogram thresholding analysis alternate analysis: for a pure background image that does not have bill to tie sample; Its histogram is the mountain peak pattern in strict accordance with normal distribution; For an image that has common bill to tie sample; Its histogram has two mountain peak patterns that do not overlap with the result of pure background histogram stack, has just distinguished the largest connected territory that bill is tied image than being easier to.But the bill for old is tied; Because its color is deep; Very approaching with background color; Its histogram is two patterns that the mountain peak intersects with the result of the histogrammic stack of pure background, can not find its largest connected territory with common connected domain analytical approach, so that intersection concave point that just according to circumstances adopts two mountain peaks to intersect is followed the threshold value of background as distinguishing sample.Because external environment condition is different, this concave point of image that different conditions is taken down also can be the value of a dynamic change, so for each pictures, all will get the threshold value of the point of this dynamic change as judgement sample and background.
Under the state at the no image of judgement edge; Use background value and the maximum edge of waist bar preserved to simulate the sample edge again, because old excessively bill binding together, color is darker; Close with black background; When graphical analysis, can not analyze the image edge that bill is tied, but the color of waist bar and background colour differ often, simulate bill again through the maximum edge that finds the waist bar and tie the sample image edge.
For step 2)
Used two independent positioning methods when this method is abandoned generally seeking the image border adopt with image 45 degree angle translation search plans (step of this search plan is at first to find two the longest points of distance on the edge, orients two remaining points again).When this programme produces disappearance or distortion 4 jiaos of rectangles, produce fabulous search effect.
4 fixed points through this method positioning image; For the banknote flange of 4 angles generations or the seal flange of center section generation; Adjust the disturbing factor of individual generation of elimination through once corroding and expanding; And confirm banknote flange, the seal flange position that the manual waist bar afterbody that twines leans out or center section produces through the image gray levels analysis once more, through direct removing parts of images, eliminate the influence that flange brings.
Corrosion and expansion:
Obtain S behind the bar structure element S translation x x, if S xBe contained in X, we write down this x point, and all set of satisfying the x point composition of above-mentioned condition are called X by the result of S corrosion (Erosion).Corroding method is, takes the initial point of S and the point on the X to contrast singly, if the institute on the S has a few all in the scope of X, and the then some reservation of the initial point of S correspondence, otherwise this point is removed.Obtain S behind the bar structure element S translation x x, if S xIt is not empty intersecting with X, and we write down this x point, and all set of satisfying the x point composition of above-mentioned condition are called X by the result of S expansion (dilation).The method that expands is, takes the initial point of S and the point on the X to contrast singly, if there is a point to drop in the scope of X on the S, the point that then initial point of S is corresponding is an image just.
Image gray levels is analyzed:
Because can know according to graphical analysis, the texture color that bill is tied is saturate than waist bar, seal and banknote flange always, so utilize the otherness of this gray scale, this example is to add 80 standards as judgement tie gray-scale value at former classification bill.
For step 4)
Because the gray level difference of waist bar and strapping and banknote itself at first extracts waist bar and strapping position.The condition that position-based possibly occur, the method for taking to travel through is estimated the situation of waist bar, and passes through the traversal back different evaluation of weight as a result, the situation of finally confirming to tie up the waist bar.
Said what extract that waist bar and strapping position use is self-adaption binaryzation method, again binary image is carried out the connected domain analysis, has gray difference according to waist bar and strapping and banknote itself, thereby can confirm their position through this species diversity.
The condition that the position possibly occur comprises: most of areas is wrapped in 2/3 position of whole banknote to single waist bar of pricking banknote, 10 prick above 5 times 5 of banknote waist bars mode divide right and left.Area in addition is wrapped in 1/2 position with the unification of waist bar, breakthrough status occurs behind the 10 bundle banknote bundlings.To discarded banknote, the unified two waist bars of 1/3 position that use are tied up, and whole bundle of strapping material is different, exists pure white strapping to run through whole waist bar.
Is number identification to obtain through the shadowing analysis between every handle, through confirming the state of number judgement influence that the strapping that weakens simultaneously brings when pushing down the waist bar and waist bar deformation effect with the cross assessment of texture analysis.Under the condition not enough number, increase every thickness average value relatively, to avoid because the erroneous judgement that the two bundle banknote waist bars coincidences that the distortion of waist bar produces bring.
And the cross assessment of texture analysis is to be undertaken projection to the dash area between every handle by horizontal direction, the result who sees projection 9,10 and 11 immediate under three kinds of situation be that is a kind of.
Every thickness average value relatively be see about under each situation of 5, it is consistent that the average thickness on both sides is wanted.
For step 4)
In identifying, use red channel,, change the curve of certain passage separately because for a set image; Can cause colour cast, according to actual conditions, the name chapter on the waist bar is red; Use red channel, can eliminate the difference that the unknown chapter image in famous Zhanghe brings.Through an implicit name chapter, with the shade between image normalization and the outstanding every bundle, promptly a name Zhang Yanse will desalinate and be white in the image red channel, improve card accuracy of identification.
For the situation of brand-new banknote, because brand-new stiff thickness strict conformance will stack in strict accordance with last 5 times 5 cross methods.After in algorithm identified, removing the original analytical approach of use, also need be to the comparison of connected domain area, to promote the precision of test result.This is because because fresh money can produce the higher pixel of gray-scale value, so under each situation of 5 of both sides, judge whether the connected domain area of both sides gray-scale value upper zone equates.
During concrete Project Realization, can utilize existing programming tool to carry out with reference to Figure 10 flow process.

Claims (9)

1. a machine vision inspection method for paper money is characterized in that reading in image with image-pickup device earlier, and what image frame showed is banknote thickness, and the banknote thickness direction is made as the x direction, and the width of paper money direction is perpendicular to picture, and the length direction of bank note is made as the y direction; Again to the waist bar card of bundled bank note whether correctly detecting, concrete steps comprise:
1) connected domain analysis: choose suitable judgement image earlier, and choose largest connected territory, i.e. target area; Judge tentatively according to largest connected territory whether image is correct, correctly then get into next step;
2) seek flex point in the target area the corner of pack of paper coin, if find four flex points, then get into next step;
3) judgement folder handle: edge or the texture through the evaluating objects zone judges whether the folder handle respectively, if the folder handle is arranged, finishes to judge, points out folder withdrawing from; If the folder handle does not then get into next step;
4) judge many handles or few handle: obtain white waist bar information in the target area earlier; Judge whether that through analyzing the waist bar number is correct; If mistake, then prompting is miscounting mistake, withdrawing from; If correct, then finish to judge that prompting right withdraws from;
In the said step 3), comprise step:
3.1) the regional edge of evaluating objects: for the image that obtains flex point, earlier image is carried out texture analysis, the texture that promptly thickness of bank note constitutes on the x direction is analyzed; Move towards stack to what analyzing image texture obtained, judge that banknote stacks direction; Then the both sides image edge addition that is judged to be the correspondence that stacks direction; Again the image edge after the stack is analyzed, determined whether to exist the folder handle;
3.2) step 3.1) judge that conclusion is not press from both sides handle, then jump out step 3), if folder handle, the then texture of further analysis image are arranged:
When if texture is straight line, step 3.1) folder that obtains the result for false; Texture is a straight line, and promptly image edge in the left and right sides adds up to straight line, protrusion or not recessed not, about the phase side uneven owing to tie up out-of-flatness and cause;
If texture is a curve, and bending direction is identical with the direction of judging the folder handle, i.e. when texture downwarping and judgement were pressed from both sides the position below image, folder was the result false;
If texture is a curve, and bending direction with judge folder in the opposite direction, i.e. above image the time, it is true pressing from both sides the result the position for texture downwarping and judgement folder.
2. method according to claim 1 is characterized in that in the said step 1), and it is dark forcing background earlier, through strengthening picture contrast and image binaryzation, is partitioned into image boundary;
Promptly come mode that the texture of image is followed the tracks of through texture tracked again, analyze image zones of different deformation extent through image target area internal tangent direction, and state before adjustment original image to the distortion; This tangential direction is the direction vertical with the gradient direction of image;
Said texture tracked concrete steps are; Tie the difference of deformation texture degree according to the bill that analyzes; The influence of crushed element is remedied, because the strength trend of tying up, the edge part branch on image both sides upwarps or has a downwarp; And length direction can shorten, and gets on the artificial compensation of shortening of part according to deformation extent.
3. method according to claim 2 is characterized in that in the said step 1), and correct image is to find one to follow all bills of learning to tie the closed connected region of rectangle that sample similarly meets the general pattern size;
Largest connected territory is to use homomorphic filtering and dynamic histogram thresholding to analyze the method for alternate analysis, accurately sets display foreground and background gray level difference below 20; Judge largest connected territory through image binaryzation, and largest connected territory is corroded and expansion process, filter the edge burr; Under the state at the no image of judgement edge, use background value and the maximum edge of waist bar preserved to simulate the sample edge again.
4. method according to claim 3 is characterized in that in the said step 1)
A, homomorphic filtering: piece image f (x y) can regard as by two component combination and forms, promptly f (x, y)=i (x, y) .r (x, y), (x y) for luminance component is the incident component, is the light intensity that incides on the scenery to i; R (x y) is reflecting component, is the light intensity that receives the scenery reflection, and concrete steps are following:
A1) taken the logarithm simultaneously in the both sides of following formula earlier, promptly Inf (x, y)=Ini (x, y)+Inr (x, y);
A2) Fourier transform is got on the following formula both sides, F (u, v)=I (u, v)+R (u, v);
A3) (u, (u v), gets v) to handle F with a frequency-domain function H
H(u,v)F(u,v)=H(u,v)I(u,v)+H(u,v)R(u,v);
A4) inverse Fourier transform is to spatial domain, Hff (x, y)=hi (x, y)+hr (x, y);
It is thus clear that getting image after strengthening is to get two parts corresponding luminance component and reflecting component to be formed by stacking;
A5) again index is got on the formula both sides in the step (4), got the homomorphic filtering function
G (x, y)=exp|hff (x, y) |=exp|hi (x, y) |+exp|hr (x, y) |; , it can act on luminance component and the reflecting component respectively;
B, dynamically histogram thresholding analysis alternate analysis:
That intersection concave point that adopts two mountain peaks to intersect is followed the threshold value of background as distinguishing sample; Because the difference of external environment condition, this concave point of image that different conditions is taken down is the value of a dynamic change, so to every pictures, all will get the threshold value of the point of this dynamic change as judgement sample and background.
5. method according to claim 1 is characterized in that said step 2) in, the method for seeking flex point is that employing is promptly at first found two the longest points of distance on the edge with image 45 degree angle translation search plans, orients two remaining points again;
For the banknote flange of 4 angles generations or the seal flange of center section generation; Adjust the disturbing factor of individual generation of elimination through once corroding and expanding; And confirm banknote flange, the seal flange position that the manual waist bar afterbody that twines leans out or center section produces through the image gray levels analysis once more; Through direct removing parts of images, eliminate the influence that flange brings.
6. method according to claim 1; It is characterized in that said step 3.1) concrete steps be; Addition is carried out to the projected length at image boundary place in banknote both sides of the edge in the image obtain an one-dimension array, again this one-dimension array is analyzed, judge according to its fluctuation range whether its edge has protrusion or recessed; And have only when protrusion or recessed continuous part length greater than the both sides of the edge overall length 10% the time, just confirm to exist folder.
7. method according to claim 1 is characterized in that in the said step 4),
White waist bar information obtains through self-adaption binaryzation in a, the target area:
Because the gray level difference of waist bar and strapping and banknote itself; At first extract white waist bar and strapping position; Specifically be usefulness be that self-adaption binaryzation method obtains; Again binary image is carried out the connected domain analysis, have gray difference, confirm their position through this species diversity based on waist bar and strapping and banknote itself;
The position-based condition that possibly occur again, the method for taking to travel through is estimated the situation of waist bar, and through the traversal back different evaluation of weight as a result, the situation of finally confirming to tie up the waist bar;
B, be number identification what obtain through the shadowing analysis between every handle:
The cross assessment of process and texture analysis is promptly undertaken projection to the dash area between every handle by horizontal direction; The result who judges projection 9,10 or 11 immediate under three kinds of situation be that is a kind of; Confirm the state of number judgement influence that the strapping that weakens simultaneously brings when pushing down the waist bar and waist bar deformation effect;
Under the condition not enough number, increase every more promptly judge thickness average value about under each situation of 5, the average thickness on both sides will unanimity.
8. according to claim 1 or 7 described methods; It is characterized in that in the said step 4); In identifying, use red channel to reach the purpose of implicit name chapter, with the shade between image normalization and the outstanding every bundle, concrete grammar is that a name Zhang Yanse will desalinate and be white in the image red channel.
9. method according to claim 8 is characterized in that in the said step 4), for brand-new banknote, stacks in strict accordance with last 5 times 5 cross methods, and because brand-new stiff thickness strict conformance; In algorithm identified, also increased connected domain area comparison process: because fresh money can produce the higher pixel of gray-scale value, so, judge whether the connected domain area of both sides gray-scale value upper zone equates under each situation of 5 of both sides.
CN2010101036445A 2010-02-01 2010-02-01 Machine vision inspection method for paper money Active CN101799868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101036445A CN101799868B (en) 2010-02-01 2010-02-01 Machine vision inspection method for paper money

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101036445A CN101799868B (en) 2010-02-01 2010-02-01 Machine vision inspection method for paper money

Publications (2)

Publication Number Publication Date
CN101799868A CN101799868A (en) 2010-08-11
CN101799868B true CN101799868B (en) 2012-05-30

Family

ID=42595540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101036445A Active CN101799868B (en) 2010-02-01 2010-02-01 Machine vision inspection method for paper money

Country Status (1)

Country Link
CN (1) CN101799868B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298695B (en) * 2011-08-09 2013-03-20 深圳捷佳德现金自动化处理设备有限公司 Visual analyzing and processing method for detecting paper money bundle
CN102637317A (en) * 2012-04-26 2012-08-15 东南大学 Coin size measuring method based on vision
CN103971159B (en) * 2014-05-05 2017-05-24 石家庄印钞有限公司 Whole bundle of bank note number of passing detection device
CN104528063B (en) * 2014-10-30 2018-06-22 中钞长城金融设备控股有限公司 For detecting the device and method that flaky material dissipates bundle
CN105015856B (en) * 2015-06-04 2018-07-06 浙江大学台州研究院 Detection method is tied up in bank note sizing
CN104943891B (en) * 2015-06-04 2018-05-04 浙江大学台州研究院 Bank note sizing binding apparatus
CN107204069B (en) * 2016-03-16 2020-09-08 深圳市创自技术有限公司 Paper money recognizer, method for recognizing paper money width by paper money recognizer and self-service equipment
CN106023174B (en) * 2016-05-16 2019-09-13 南昌印钞有限公司 A kind of novel detection money thousand sheets packet is several devices and methods therefors
CN108596192A (en) * 2018-04-24 2018-09-28 图麟信息科技(深圳)有限公司 A kind of face amount statistical method, device and the electronic equipment of coin code heap
CN111310628B (en) * 2020-02-10 2023-05-30 武汉科技大学 Banknote forming mode checking and identifying method based on banknote printing pattern characteristics
CN111879781B (en) * 2020-06-17 2022-02-11 西安交通大学 Test paper quality detection system based on machine vision
CN112036465A (en) * 2020-08-26 2020-12-04 中国建设银行股份有限公司 Image recognition method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959745A (en) * 2005-11-04 2007-05-09 中国印钞造币总公司 Magnetic induction device, and finance bills detection system of using the device
CN200959137Y (en) * 2006-09-01 2007-10-10 沈阳中钞信达金融设备有限公司 Banknote or bill image fetch
CN201081690Y (en) * 2007-09-07 2008-07-02 中钞长城金融设备控股有限公司 Banknote thickness tester

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959745A (en) * 2005-11-04 2007-05-09 中国印钞造币总公司 Magnetic induction device, and finance bills detection system of using the device
CN200959137Y (en) * 2006-09-01 2007-10-10 沈阳中钞信达金融设备有限公司 Banknote or bill image fetch
CN201081690Y (en) * 2007-09-07 2008-07-02 中钞长城金融设备控股有限公司 Banknote thickness tester

Also Published As

Publication number Publication date
CN101799868A (en) 2010-08-11

Similar Documents

Publication Publication Date Title
CN101799868B (en) Machine vision inspection method for paper money
Kumar et al. A fast DCT based method for copy move forgery detection
EP3089103B1 (en) Method for correcting fragmentary or deformed quadrangular image
Ren et al. Fusion of intensity and inter-component chromatic difference for effective and robust colour edge detection
CN100592323C (en) Method for identifying fingerprint facing image quality
Qu et al. Detect digital image splicing with visual cues
DE10123330A1 (en) Detection of falsified fingerprints, e.g. a silicon casting of a fingerprint, using a dynamic, software-based method for detection of falsified fingerprints that is quick and efficient
RU2745098C2 (en) Method of determinig authorship of a painting
CN104408482A (en) Detecting method for high-resolution SAR (Synthetic Aperture Radar) image object
CN104298989A (en) Counterfeit identifying method and counterfeit identifying system based on zebra crossing infrared image characteristics
CN107093175B (en) A kind of power battery welding quality detection method
Geusebroek et al. Learning banknote fitness for sorting
JP7226493B2 (en) Contact wire wear inspection method
CN104408728A (en) Method for detecting forged images based on noise estimation
CN106780464A (en) A kind of fabric defect detection method based on improvement Threshold segmentation
CN107741454A (en) Pseudo- three-dimensional magnetic leakage signal defect profile recognition methods based on normal component
CN104568956A (en) Machine vision based detection method for strip steel surface defects
CN106599923B (en) Method and device for detecting seal anti-counterfeiting features
Julliand et al. Automated image splicing detection from noise estimation in raw images
CN116343308B (en) Fused face image detection method, device, equipment and storage medium
WO2016158392A1 (en) Paper sheet detection device and paper sheet detection method
CN102592151B (en) Blind detection method for median filter in digital image
CN102254173B (en) Method for segmenting fingerprint image based on combination of k-means clustering and linear neighborhood propagation
CN112435226B (en) Fine-grained image stitching region detection method
CN105138984A (en) Sharpened image identification method based on multi-resolution overshoot effect measurement

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant