CN105120260A - Color cast calibration method of AOI equipment with colored CCD - Google Patents

Color cast calibration method of AOI equipment with colored CCD Download PDF

Info

Publication number
CN105120260A
CN105120260A CN201510570039.1A CN201510570039A CN105120260A CN 105120260 A CN105120260 A CN 105120260A CN 201510570039 A CN201510570039 A CN 201510570039A CN 105120260 A CN105120260 A CN 105120260A
Authority
CN
China
Prior art keywords
colored ccd
value
aoi equipment
calibration
colour cast
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.)
Pending
Application number
CN201510570039.1A
Other languages
Chinese (zh)
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.)
Weisheng Suzhou Visual Information Science And Technology Ltd
Original Assignee
Weisheng Suzhou Visual Information Science And Technology 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 Weisheng Suzhou Visual Information Science And Technology Ltd filed Critical Weisheng Suzhou Visual Information Science And Technology Ltd
Priority to CN201510570039.1A priority Critical patent/CN105120260A/en
Publication of CN105120260A publication Critical patent/CN105120260A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a color cast calibration method of AOI equipment with colored CCD. The color cast calibration method comprises the following steps: 1, since the AOI equipment is provided with a colored CCD camera, scanning a detected circuit board through the colored CCD camera to obtain a digital image; 2, obtaining a current video frame; 3, converting a RGB color space into a Lab color space; 4, figuring out a ratio K of an average image chroma D to a chroma center distance M according to a Lab value; 5, figuring out column diagrams of a, b components, calculating a factor according to the column diagrams, and multiplying the factor with the ratio K to obtain a result f; and 6, when the value of f exceeds a threshold, determining that an image to be detected has color cast. The color cast calibration method provided by the invention can be used for checking the color cast between the color of a digital image photographed by the colored CCD and the true color of the surface of the scanned circuit board, which is beneficial for the colored CCD camera to reflect the true color of the material and improve the discretion of the AOI equipment on the material and the defect inspection result.

Description

There is the colour cast method of calibration of the AOI equipment of colored CCD
Technical field
The present invention relates to a kind of printed substrate AOI detection technique field, particularly relate to a kind of colour cast method of calibration of colored CCD.
Background technology
The full name of AOI (AutomaticOpticInspection) is automatic optics inspection, is the equipment detected the common deficiency run in welding production based on optical principle.AOI is new one of rising novelmeasuring technology, but development is rapidly, and a lot of producer is all proposed AOI testing equipment.Upon automatic detection, machine, by camera automatic scan PCB, gathers image, test solder joint and database in qualified parameter compare, through image procossing, check out defect on PCB, and by display or Automatic Logos Flaw display/mark, repair for maintenance personal.
At present, the camera that AOI equipment adopts is all generally black-white CCD.But in order to improve the identification capability of multiple material and improve resolution, colored CCD will become mainstream development trend.But colored CCD easily produces colour cast fault, colour cast is exactly the error existed between the color of digital picture captured by CCD and the realistic colour of subject surface to a certain degree.This can affect the sense for material, finally affects fault detection result, thus hinders development and the application of colored CCD.
Because above-mentioned defect, the design people, actively in addition research and innovation, to founding one there is the colour cast method of calibration of the AOI equipment of colored CCD, make it have more value in industry.
Summary of the invention
For solving the problems of the technologies described above, the object of this invention is to provide one there is the colour cast method of calibration of the AOI equipment of colored CCD.
Of the present invention there is the colour cast method of calibration of the AOI equipment of colored CCD, carry out according to following step:
One, AOI equipment has colored CCD camera, is scanned, obtain digital picture by colored CCD camera to detected wiring board;
Two, current video frame is obtained;
Three, by RGB color space conversion to Lab color space;
Four, the ratio K of image averaging colourity D and colourity centre-to-centre spacing M is obtained according to Lab value;
Five, the Nogata of a, b component is asked figure, according to Nogata figurecalculate a factor, allow this factor be multiplied by ratio K and to obtain a result f;
Six, when the value of f exceeds threshold value time, determine that image to be detected exists colour cast.
Further, RGB color space conversion to the concrete steps of Lab color space is: the video frame images of acquisition is divided into some pieces, calculate R, G, B mean value of each sub-block respectively, adopt cvCvtcolor function to calculate the Lab value of each color lump according to R, G, B mean value.
Further, a kind of scan mode in spot scan mode, line sweep mode and Surface scan mode is adopted when described colored CCD camera scans detected wiring board.
Further, the value of described threshold value is set as 1-3.
Preferably, the value of described threshold value is set as 2.
Further, the light source of AOI equipment adopts power to be 250W and voltage is light focusing halide lamp for 24V.
By such scheme, the present invention at least has the following advantages: the detection method that the present invention is based on the image color cast of Lab space has general adaptability, improve accuracy rate and the reliability of color cast detection, there is good detectability, the color of the digital picture captured by colored CCD can be checked and by the colour cast existed between the realistic colour on sweep circuit plate surface, be conducive to the true colors that colored CCD camera is really reaction material, promote AOI equipment for the sense of material and fault detection result.
Above-mentioned explanation is only this inventionthe general introduction of technical scheme, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, be described in detail below with preferred embodiment of the present invention.
Embodiment
Below in conjunction with embodiment, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
A kind of there is the colour cast method of calibration of the AOI equipment of colored CCD, carry out according to following step:
One, AOI equipment has colored CCD camera, is scanned, obtain digital picture by colored CCD camera to detected wiring board;
Two, current video frame is obtained;
Three, by RGB color space conversion to Lab color space;
Four, the ratio K of image averaging colourity D and colourity centre-to-centre spacing M is obtained according to Lab value;
Five, the Nogata of a, b component is asked figure, according to Nogata figurecalculate a factor, allow this factor be multiplied by ratio K and to obtain a result f;
Six, when the value of f exceeds threshold value time, determine that image to be detected exists colour cast.
Wherein, RGB color space conversion to the concrete steps of Lab color space is: the video frame images of acquisition is divided into some pieces, calculate R, G, B mean value of each sub-block respectively, adopt cvCvtcolor function to calculate the Lab value of each color lump according to R, G, B mean value.
Wherein, a kind of scan mode in spot scan mode, line sweep mode and Surface scan mode is adopted when described colored CCD camera scans detected wiring board.
Wherein, the value of described threshold value is set as 2.
Wherein, the light source of AOI equipment adopts power to be 250W and voltage is light focusing halide lamp for 24V.
The above is only the preferred embodiment of the present invention; be not limited to the present invention; should be understood that; for those skilled in the art; under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and modification, these improve and modification also should be considered as protection scope of the present invention.

Claims (6)

1. there is a colour cast method of calibration for the AOI equipment of colored CCD, it is characterized in that: carry out according to following step:
One, AOI equipment has colored CCD camera, is scanned, obtain digital picture by colored CCD camera to detected wiring board;
Two, current video frame is obtained;
Three, by RGB color space conversion to Lab color space;
Four, the ratio K of image averaging colourity D and colourity centre-to-centre spacing M is obtained according to Lab value;
Five, ask the histogram of a, b component, go out a factor according to histogram calculation, allow this factor be multiplied by ratio K and to obtain a result f;
Six, when the value of f exceeds threshold value time, determine that image to be detected exists colour cast.
2. the colour cast method of calibration with the AOI equipment of colored CCD according to claim 1, it is characterized in that: RGB color space conversion to the concrete steps of Lab color space is: the video frame images of acquisition is divided into some pieces, calculate R, G, B mean value of each sub-block respectively, adopt cvCvtcolor function to calculate the Lab value of each color lump according to R, G, B mean value.
3. the colour cast method of calibration with the AOI equipment of colored CCD according to claim 1, is characterized in that: adopt a kind of scan mode in spot scan mode, line sweep mode and Surface scan mode when described colored CCD camera scans detected wiring board.
4. the colour cast method of calibration with the AOI equipment of colored CCD according to claim 1, is characterized in that: the value of described threshold value is set as 1-3.
5. the colour cast method of calibration with the AOI equipment of colored CCD according to claim 1, is characterized in that: the value of described threshold value is set as 2.
6. AOI image scan check processing method according to claim 1, is characterized in that: the light source of AOI equipment adopts power to be 250W and voltage is light focusing halide lamp for 24V.
CN201510570039.1A 2015-09-09 2015-09-09 Color cast calibration method of AOI equipment with colored CCD Pending CN105120260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510570039.1A CN105120260A (en) 2015-09-09 2015-09-09 Color cast calibration method of AOI equipment with colored CCD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510570039.1A CN105120260A (en) 2015-09-09 2015-09-09 Color cast calibration method of AOI equipment with colored CCD

Publications (1)

Publication Number Publication Date
CN105120260A true CN105120260A (en) 2015-12-02

Family

ID=54668130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510570039.1A Pending CN105120260A (en) 2015-09-09 2015-09-09 Color cast calibration method of AOI equipment with colored CCD

Country Status (1)

Country Link
CN (1) CN105120260A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791753A (en) * 2016-11-28 2017-05-31 北京空间机电研究所 A kind of ground integrated area array cameras color correcting method of star
CN107181941A (en) * 2017-05-17 2017-09-19 台达电子电源(东莞)有限公司 Detection device and the Vision imaging system self checking method and self-checking unit for it

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020996A (en) * 2012-12-28 2013-04-03 昆山市工业技术研究院有限责任公司 Lab-space-based detection method based on image color cast
CN103200349A (en) * 2013-04-08 2013-07-10 武汉大学 Scanned image color cast automatic detection method
CN103402117A (en) * 2013-08-06 2013-11-20 夏东 Method for detecting color cast of video image based on Lab chrominance space

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020996A (en) * 2012-12-28 2013-04-03 昆山市工业技术研究院有限责任公司 Lab-space-based detection method based on image color cast
CN103200349A (en) * 2013-04-08 2013-07-10 武汉大学 Scanned image color cast automatic detection method
CN103402117A (en) * 2013-08-06 2013-11-20 夏东 Method for detecting color cast of video image based on Lab chrominance space

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791753A (en) * 2016-11-28 2017-05-31 北京空间机电研究所 A kind of ground integrated area array cameras color correcting method of star
CN106791753B (en) * 2016-11-28 2019-03-26 北京空间机电研究所 A kind of integrated area array cameras color correcting method in star ground
CN107181941A (en) * 2017-05-17 2017-09-19 台达电子电源(东莞)有限公司 Detection device and the Vision imaging system self checking method and self-checking unit for it
CN107181941B (en) * 2017-05-17 2019-11-19 台达电子电源(东莞)有限公司 Detection device and Vision imaging system self checking method and self-checking unit for it

Similar Documents

Publication Publication Date Title
TWI414749B (en) Apparatus for measurement of surface profile
JP5874508B2 (en) Solder wetting state inspection method, automatic visual inspection apparatus and board inspection system using this method
KR101438157B1 (en) Board inspection method
CN103954634A (en) Online quality detection system for printed matter
US20090046922A1 (en) Surface Inspecting Apparatus
JP5084911B2 (en) Appearance inspection device
CN103162939A (en) Camera lens focusing detection method and device using the same
CN105120260A (en) Color cast calibration method of AOI equipment with colored CCD
US20090219534A1 (en) Imaging device for solder paste inspection
TW201604536A (en) Detection method of multi-exposure image mixing applying repeated exposure
KR100924491B1 (en) Device for inspecting a Solar Cell and Method of the Same
JP2005172640A (en) Mounting inspection device and mounting inspection method
CN105203549A (en) Circuit board AOI (automated optical inspection) detection method
CN105069770A (en) AOI image scanning detection processing method
CN106770367A (en) A kind of FPC solder joints detection method
KR101916134B1 (en) Inspection device of conformal coation on printed circuit board
CN203929023U (en) Tin cream thickness measurement equipment
CN105372259A (en) Measuring device, circuit board testing apparatus and control method therefor
JP2009294115A (en) Three-dimensional measurement display method
CN105242197A (en) AOI (Automatic Optic Inspection) scanning defect inspection processing method
KR100807249B1 (en) Camera test unit and camera inspection method using the same
JP3741287B1 (en) Mounting board inspection method and inspection apparatus
CN105092605A (en) Automatic optical detection method used for reversion of detection element
JP4190243B2 (en) Electronic circuit component visual inspection method, visual inspection apparatus, and electronic circuit component manufacturing method.
EP3104169B1 (en) Quality management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202