Summary of the invention
Fundamental purpose of the present invention is intended to liquid crystal panel outward appearance checkout equipment is carried out camera lens from normal moveout correction for a kind of method of liquid crystal panel outward appearance checkout equipment lens correction is provided.
The present invention also provides a kind of system of liquid crystal panel outward appearance checkout equipment lens correction, is intended to liquid crystal panel outward appearance checkout equipment is carried out camera lens from normal moveout correction.
A kind of method of liquid crystal panel outward appearance checkout equipment lens correction, this method comprises: the method comprising the steps of: A, get the normal liquid crystal panel standard film of gamma characteristic value, carry out capture automatically to obtain the standard luma data of standard film; Whether B, analysis need to start lens correction; C, when needs start lens correction, standard film is carried out capture automatically to obtain the instant luma data of standard film; The deviation of D, the instant luma data of calculating and standard luma data; E, according to the deviation of calculating camera lens is proofreaied and correct.
Preferably, this method also comprises: preset some correction time; Whether put to judge whether to start lens correction to correction time by analyzing.
Preferably, described method also further comprises: the detecting correction instruction; When detecting correction instruction, judge whether to need to start to proofread and correct.
Preferably, also comprise after the described step e: a default threshold values; After lens correction, again standard film is obtained and proofread and correct luma data afterwards; And by the luma data after the correction that will obtain and the deviation of standard luma data, whether greater than pre-set threshold value; Luma data after the correction of obtaining and the deviation of standard luma data are proceeded lens correction during greater than pre-set threshold value; When the deviation of the luma data after the correction of obtaining and standard luma data is not more than pre-set threshold value, finish lens correction.
Preferably, the described mode that camera lens is proofreaied and correct is: light source or focal length to camera lens are adjusted.
A kind of system of liquid crystal panel outward appearance checkout equipment lens correction, this system comprises: standard is set up module, is used for after getting the normal liquid crystal panel standard film of gamma characteristic value, and standard film is carried out capture automatically to obtain the standard luma data of standard film; The correction analysis module is used for analyzing whether need to start lens correction, when needs start lens correction, standard film is carried out capture automatically to obtain the instant luma data of standard film, calculates the deviation of instant luma data and standard luma data; Proofread and correct processing module, be used for according to the deviation of calculating camera lens being proofreaied and correct.
Preferably, this correction analysis module also is used for: preset some correction time; Whether put to judge whether to start lens correction to correction time by analyzing.
Preferably, the correction analysis module also is used for: the detecting correction instruction; When detecting correction instruction, judge whether to need to start to proofread and correct.
Preferably, this correction analysis module also is further used for: a default threshold values; After lens correction, again standard film is obtained and proofread and correct luma data afterwards; And by the luma data after the correction that will obtain and the deviation of standard luma data, whether greater than pre-set threshold value; Luma data after the correction of obtaining and the deviation of standard luma data are proceeded lens correction during greater than pre-set threshold value; When the deviation of the luma data after the correction of obtaining and standard luma data is not more than pre-set threshold value, finish lens correction.
Preferably, described correction processing module mode that camera lens is proofreaied and correct is: light source or focal length to camera lens are adjusted.
Relative prior art, the standard luma data of the standard film of the present invention by setting up liquid crystal panel, find out deviation with the instant data of GTG based on the normal data of setting up, and then realization is to the correction of liquid crystal panel outward appearance checkout equipment camera lens, effectively reduced the deviation of the camera lens that causes because of the change of producing line switch line, detection platform, camera lens lamp source, simultaneously by the automatic time correction point is set, realize camera lens from normal moveout correction, improved the board utilization factor and produced the line production capacity.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
As shown in Figure 1, be the concrete implementing procedure figure of first embodiment of liquid crystal panel outward appearance checkout equipment lens correction method of the present invention.
It is emphasized that: process flow diagram shown in Figure 1 only is a preferred embodiment, and those skilled in the art is when knowing, any embodiment that makes up around inventive concept should not break away from the scope that contains in following technical scheme:
Get the normal liquid crystal panel standard film of gray-level characteristic value, carry out capture automatically to obtain the standard luma data of standard film; Whether analyze needs to start lens correction; When needs start lens correction, standard film is carried out capture automatically to obtain the instant luma data of standard film; Calculate the deviation of instant luma data and standard luma data; According to the deviation of calculating camera lens is proofreaied and correct.
Below be that present embodiment is progressively realized concrete steps that the liquid crystal panel detector lens is proofreaied and correct:
Step S11 after getting the normal liquid crystal panel standard film of gray-level characteristic value, carries out capture automatically to obtain the standard luma data of standard film.In the present embodiment, the liquid crystal panel standard film is got 2, and a slice is as the calibration standard sheet, and another sheet is as secondary validation criteria sheet or standby standard film.In other embodiments of the invention, the liquid crystal panel standard film is got 1, perhaps gets more than 3 in case follow-up replacing whenever necessary.
Whether step S12, analyzing needs to start lens correction.When needs start lens correction, carry out following step S13, or when not needing to start lens correction, process ends.In the present embodiment, preset some correction time, whether put to judge whether to need to start lens correction to correction time by analyzing, when putting to default correction time, the startup lens correction; When not putting to default correction time, do not start lens correction.The detecting correction instruction when detecting correction instruction, judges whether to need to start to proofread and correct; When needs start timing, standard film is carried out the instant luma data that capture obtains standard film automatically, when not needing to start revisal, continue normal crystal liquid substrate is detected.The described instruction that detects can be the correction instruction when putting to default correction time, can also be, the correction instruction that the user assigns as required, for example can be to produce the correction instruction of assigning when the line switch line is changed the checkout equipment detection platform at liquid crystal panel, also can be the correction instruction of assigning when changing the lamp source of camera lens.
Step S13 carries out capture to obtain the instant luma data of standard film automatically to standard film.In the present embodiment, by will carrying out capture automatically to standard film, and the image of obtaining is carried out the GTG that binaryzation calculates standard film.Described two-value to image turns to: set a threshold value T, with the data separated into two parts of T with image: greater than the pixel group of T with less than the pixel group of T.To be set at white (perhaps black) greater than the pixel value of the pixel group of T, be set at black (perhaps white) less than the pixel value of the pixel group of T.
Step S14 calculates the deviation of instant luma data and standard luma data.
Step S15 proofreaies and correct camera lens according to the deviation of calculating.In the present embodiment, when there are deviation in instant luma data and standard luma data, according to the deviation of calculating camera lens is proofreaied and correct.In other embodiments of the invention, a default threshold values; After lens correction, again standard film is obtained and proofread and correct luma data afterwards; And by the luma data after the correction that will obtain and the deviation of standard luma data, whether greater than pre-set threshold value; Luma data after the correction of obtaining and the deviation of standard luma data be during greater than pre-set threshold value, returns the instant luma data that step S13 obtains standard film and proceed lens correction; Or the deviation of luma data and standard luma data after the correction of obtaining is when being not more than pre-set threshold value, the end lens correction.
The standard luma data of the standard film of the present invention by setting up liquid crystal panel, find out deviation with the instant data of GTG based on the normal data of setting up, and then realization is to the correction of liquid crystal panel outward appearance checkout equipment camera lens, effectively reduced the deviation of the camera lens that causes because of the change of producing line switch line, detection platform, camera lens lamp source, simultaneously by the automatic time correction point is set, realize camera lens from normal moveout correction, improved the board utilization factor and produced the line production capacity.
As shown in Figure 2, be the particular flow sheet of method second embodiment of liquid crystal panel outward appearance checkout equipment lens correction of the present invention.
Based on method first embodiment of above-mentioned lens correction, present embodiment also comprises after step S15:
Step S16, a default threshold values; After lens correction, again standard film is obtained and proofread and correct luma data afterwards; And by the luma data after the correction that will obtain and the deviation of standard luma data, whether greater than pre-set threshold value; Luma data after the correction of obtaining and the deviation of standard luma data be during greater than pre-set threshold value, returns the instant luma data that step S13 obtains standard film and proceed lens correction; Or the deviation of luma data and standard luma data after the correction of obtaining is when being not more than pre-set threshold value, the end lens correction.
Present embodiment passes through the camera lens after proofreading and correct, again standard film is obtained instant luma data after the correction, and the instant luma data after will proofreading and correct and standard luma data compare calculate deviation and with pre-set threshold value relatively, make camera lens fully carry out offset correction, correction more accurate.
As shown in Figure 3, be the Organization Chart of liquid crystal panel outward appearance checkout equipment lens correction of the present invention system preferred embodiment operation.The system 12 of this lens correction runs in the checkout equipment 1.This checkout equipment 1 comprises: camera lens 11, storage unit 13, display unit 14, processing unit 15.This checkout equipment 1 carries out capture by 11 pairs of liquid crystal panels of camera lens, and the image that obtains is carried out the gray-level characteristic value that binaryzation calculates liquid crystal panel.Described two-value to image turns to: set a threshold value T, with the data separated into two parts of T with image: greater than the pixel group of T with less than the pixel group of T.To be set at white (perhaps black) greater than the pixel value of the pixel group of T, be set at black (perhaps white) less than the pixel value of the pixel group of T.Described checkout equipment can be that the liquid crystal panel microdefect detects machine, also can be PSH(Photo spacer Height, the gap particles height) the detection machine can also be other liquid crystal panel detection devices that have detector lens arbitrarily.
This storage unit 13 is used for storage this lens correction system 12 and service data thereof.
This storage unit 13 also is used for the view data of obtaining of storage camera lens 11.
This display unit 14 is used for human-computer interaction interface is provided, for user input instruction, and the response data of 1 pair of user instruction of output checkout equipment.In the present embodiment, this human-computer interaction interface includes, but not limited to the operation interface of camera lens 11 and the operation interface of lens correction system 12.
This processing unit 15 calls and carries out this lens correction system 12, with realize to liquid crystal panel outward appearance checkout equipment camera lens from normal moveout correction.
As shown in Figure 4, be the functional block diagram of lens correction system among Fig. 3.This lens correction system 12 comprises that standard sets up module 121, correction analysis module 122, proofreaies and correct processing module 123.
Standard is set up module 121, is used for after getting the normal liquid crystal panel standard film of gamma characteristic value, and standard film is carried out capture automatically to obtain the standard luma data of standard film.In the present embodiment, the liquid crystal panel standard film is got 2, and a slice is as the calibration standard sheet, and another sheet is as secondary validation criteria sheet or standby standard film.In other embodiments of the invention, the liquid crystal panel standard film is got 1, perhaps gets more than 3 in case follow-up replacing whenever necessary.
Correction analysis module 122 is used for analyzing whether need to start lens correction, when needs start lens correction, standard film is carried out capture automatically to obtain the instant luma data of standard film, calculates the deviation of instant luma data and standard luma data.By will carrying out capture automatically to standard film, and the image of obtaining is carried out the GTG that binaryzation calculates standard film.Described two-value to image turns to: set a threshold value T, with the data separated into two parts of T with image: greater than the pixel group of T with less than the pixel group of T.To be set at white (perhaps black) greater than the pixel value of the pixel group of T, be set at black (perhaps white) less than the pixel value of the pixel group of T.
Concrete, correction analysis module 122 is preset some correction time, whether puts to judge whether to need to start lens correction to correction time by analyzing, when putting to default correction time, and the startup lens correction; Or when not putting to default correction time, do not start lens correction.The detecting correction instruction when detecting correction instruction, judges whether to need to start to proofread and correct; The described instruction that detects can be the correction instruction when putting to default correction time, can also be, the correction instruction that the user assigns as required, for example can be to produce the correction instruction of assigning when the line switch line is changed the checkout equipment detection platform at liquid crystal panel, also can be the correction instruction of assigning when changing the lamp source of camera lens.
Proofread and correct processing module 123, be used for according to the deviation of calculating camera lens being proofreaied and correct.
In the present embodiment, when there are deviation in instant luma data and standard luma data, according to the deviation of calculating camera lens is proofreaied and correct.In other embodiments of the invention, a default threshold values; After lens correction, again standard film is obtained and proofread and correct luma data afterwards; And by the luma data after the correction that will obtain and the deviation of standard luma data, whether greater than pre-set threshold value; Luma data after the correction of obtaining and the deviation of standard luma data be during greater than pre-set threshold value, returns the instant luma data that step S13 obtains standard film and proceed lens correction; Or the deviation of luma data and standard luma data after the correction of obtaining is when being not more than pre-set threshold value, the end lens correction.
The standard luma data of the standard film of the present invention by setting up liquid crystal panel, find out deviation with the instant data of GTG based on the normal data of setting up, and then realization is to the correction of liquid crystal panel outward appearance checkout equipment camera lens, effectively reduced the deviation of the camera lens that causes because of the change of producing line switch line, detection platform, camera lens lamp source, simultaneously by the automatic time correction point is set, realize camera lens from normal moveout correction, improved the board utilization factor and produced the line production capacity.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.