The content of the invention
The present invention provides a kind of chromatography precision detection method and device, to overcome chromatography precision detection in the prior art
The larger technical problem of error.
The present invention provides a kind of chromatography precision detection method, including:
Target detection image is gathered, the target detection image is marked comprising at least two chromatographys, each chromatography mark point
Do not formed by the nozzle spray printing of different mass colours;
Determine the offset that each chromatography mark is remembered relative to standard sleeve marking;
Chromatography precision is determined according to the offset.
Further, before the offset for determining each chromatography mark relative to standard sleeve marking note, further include:
The target detection image is converted into gray level image.
Further, before the offset for determining each chromatography mark relative to standard sleeve marking note, further include:
One chromatography mark of selection is remembered as standard sleeve marking from each chromatography mark.
Further, after offset of each chromatography mark relative to standard sleeve marking note is determined, further include:
The chromatic value marked according to each chromatography, determines that each chromatography marks corresponding nozzle;
According to each offset, the adjustment direction and adjustment amount with the corresponding nozzle of each chromatography mark are determined.
Further, the chromatic value marked according to each chromatography, determines that each chromatography marks corresponding nozzle, including:
The gray value marked according to each chromatography, determines that each chromatography marks corresponding nozzle.
The present invention also provides a kind of chromatography precision detection device, including:
Acquisition module, for gathering target detection image, the target detection image is marked comprising at least two chromatographys, often
A chromatography mark is formed by the nozzle spray printing of different mass colours respectively;
Processing module, the offset remembered for determining each chromatography mark relative to standard sleeve marking, according to the offset
Determine chromatography precision.
Further, the processing module, is additionally operable to:
The target detection image is converted into gray level image.
Further, the processing module, is additionally operable to:
One chromatography mark of selection is remembered as standard sleeve marking from each chromatography mark.
Further, the processing module, is additionally operable to:
The chromatic value marked according to each chromatography, determines that each chromatography marks corresponding nozzle;
According to each offset, the adjustment direction and adjustment amount with the corresponding nozzle of each chromatography mark are determined.
Further, the processing module, is specifically used for:
The gray value marked according to each chromatography, determines that each chromatography marks corresponding nozzle.
The solution have the advantages that:The offset marked by chromatography determines chromatography precision, solves the prior art
In, the larger technical problem of detection method error.
Embodiment
Fig. 1 is the flow chart of chromatography precision detection method embodiment one of the present invention.As shown in Figure 1, the side of the present embodiment
Method can include:
Step 101, collection target detection image, the target detection image are marked comprising at least two chromatographys, Mei Getao
Marking is scored and is not formed by the nozzle spray printing of different mass colours.
Specifically, during chromatography, for example, C (green grass or young crops), M (magenta), Y (Huang), K (black) four-colour chromatography process, stock
When passing sequentially through this four colors nozzle, this four colors nozzle can mark in spray printing chromatography on the same position of stock, and usual spray printing exists
The edge of stock.The target detection image that the present embodiment is gathered, as includes the image of this four-colour chromatography mark, can be with
Target detection image is gathered by industrial camera etc., and the target detection image of collection is input to computer and is carried out at analysis
Reason.It will be appreciated by persons skilled in the art that four-colour chromatography process is exemplary only, double-colored chromatography, three can also be used
Color chromatography etc. carries out spray printing to stock.
More specifically, chromatography mark can be any one in cross hairs mark, opal mark or single circle mark,
Can be beyond this three kinds of chromatography marks, any marks that can demarcate spray printing position.
Step 102, determine the offset that each chromatography mark is remembered relative to standard sleeve marking.
Specifically, each chromatography mark and the position relationship of standard sleeve marking note are extracted from target detection image.It is for example, blue or green
At left side 0.001cm, the lower section 0.2cm of standard sleeve marking note, magenta (M) chromatography mark is located at color (C) chromatography mark
At the right side 0.06cm of standard sleeve marking note, yellow (Y) chromatography mark is black at the top 0.013cm of standard sleeve marking note
Color (K) chromatography mark positioned at standard sleeve marking note left side 0.013cm at etc..Usual offset includes transversal displacement, longitudinal direction
The combination of offset, transversal displacement and vertical misalignment amount, that is to say, that each chromatography mark is relative to standard sleeve marking note
Upper and lower, left and right position relationship.
Step 103, according to the offset determine chromatography precision.
After offset of each chromatography mark relative to standard sleeve marking note is determined, it can be published according to national news total
The printing quality relevant criterion that administration announces determines the precision of chromatography.Those skilled in the art are it is understood that offset is smaller, covers
It is higher to print precision.
The present embodiment, the offset marked by chromatography determine chromatography precision, solve in the prior art, detection method
The larger technical problem of error.
A specific embodiment is used below, and the technical solution of embodiment of the method shown in Fig. 1 is described in detail.
Fig. 2 is the flow chart of chromatography precision detection method embodiment two of the present invention.The embodiment of the present invention two is to implement
A preferred embodiment on the basis of example one.As shown in Fig. 2, the method for the present embodiment can include:
Step 201, collection target detection image, the target detection image are marked comprising at least two chromatographys, Mei Getao
Marking is scored and is not formed by the nozzle spray printing of different mass colours.
Specifically, step 201 is identical with step 101, and details are not described herein again.
Step 202, by the target detection image be converted into gray level image.
Specifically, it can use corresponding software, code that the target detection image of collection is converted to gray scale by coloured image
Image.For example, the software such as MATLAB, Photoshop.
Step 203, one chromatography mark of selection is remembered as standard sleeve marking from each chromatography mark.
Specifically, such as four-colour chromatography, the chromatography that will have four difference gray scales on gray level image mark, can be four from this
The chromatography mark of different gray scales selects a chromatography mark to be used as reference mark.For example, randomly select a chromatography mark conduct
Standard sleeve marking is remembered.For another example made choice according to algorithm is preset.
Step 204, determine the offset that each chromatography mark is remembered relative to standard sleeve marking.
Specifically, such as four-colour chromatography, after definite standard sleeve marking note, its excess-three chromatography mark and the benchmark are determined
The offset of chromatography mark.
Step 205, according to the offset determine chromatography precision.
Specifically, step 205 is identical with step 103, and details are not described herein again.
Step 206, the gray value marked according to each chromatography, determine that each chromatography marks corresponding nozzle.
Specifically, according to gray value and the correspondence of color, determine that each chromatography marks original color.For example, wherein
The gray value of one chromatography mark is 0, then can determine that chromatography mark is formed by mass colour for the nozzle spray printing of black.
Step 207, according to each offset, determine adjustment direction and adjustment amount with the corresponding nozzle of each chromatography mark.
Specifically, determining between chromatography mark and nozzle after man-to-man correspondence, you can marked by chromatography
Offset determine the adjustment direction and adjustment amount of corresponding nozzle.
Step 208, adjustment direction and adjustment amount according to nozzle, adjust the position of corresponding nozzle.
Specifically, after the adjustment direction and adjustment amount of each nozzle is determined, the position of nozzle can correspondingly be adjusted
Put, so as to improve chromatography precision.
More specifically, step 202 can be performed to step 207 by processor, and the adjustment direction of each nozzle is being determined
After adjustment amount, processor can generate control instruction, and control instruction is exported to mechanical device, complete to spray by mechanical device
The adjustment of head.
Technical solution provided in this embodiment, it is possible to achieve automation mechanized operation, further increases the detection of chromatography precision
Efficiency.
Fig. 3 is the structure diagram of chromatography precision detection device embodiment one of the present invention.As shown in figure 3, the present embodiment
Chromatography precision detection device can include:Acquisition module 11, processing module 12.
Wherein, acquisition module 11, for gathering target detection image, the target detection image includes at least two chromatographys
Mark, each chromatography mark are formed by the nozzle spray printing of different mass colours respectively.
Processing module 12, the offset remembered for determining each chromatography mark relative to standard sleeve marking, according to the offset
Amount determines chromatography precision.
The chromatography precision detection device of the present embodiment, can be used for the technical solution for performing embodiment of the method shown in Fig. 1,
Its implementing principle and technical effect is similar, and details are not described herein again.
On the basis of above-described embodiment, further, processing module 12, is additionally operable to:
The target detection image is converted into gray level image.
On the basis of above-described embodiment, further, the offset, including:
Transversal displacement, and/or, vertical misalignment amount.
On the basis of above-described embodiment, further, the chromatography mark, including:
Cross hairs mark, opal mark, single circle mark.
On the basis of above-described embodiment, further, processing module 12, is additionally operable to:
One chromatography mark of selection is remembered as standard sleeve marking from each chromatography mark.
On the basis of above-described embodiment, further, processing module 12, is additionally operable to:
The chromatic value marked according to each chromatography, determines that each chromatography marks corresponding nozzle;
According to each offset, the adjustment direction and adjustment amount with the corresponding nozzle of each chromatography mark are determined.
On the basis of above-described embodiment, further, processing module 12, is specifically used for:
The gray value marked according to each chromatography, determines that each chromatography marks corresponding nozzle.
The chromatography precision detection device of the present embodiment, can be used for the technical solution for performing embodiment of the method shown in Fig. 2,
Its implementing principle and technical effect is similar, and details are not described herein again.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
To modify to the technical solution described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and
Scope.