CN110933404B - Product liquid crystal white balance detection method - Google Patents

Product liquid crystal white balance detection method Download PDF

Info

Publication number
CN110933404B
CN110933404B CN201911208087.0A CN201911208087A CN110933404B CN 110933404 B CN110933404 B CN 110933404B CN 201911208087 A CN201911208087 A CN 201911208087A CN 110933404 B CN110933404 B CN 110933404B
Authority
CN
China
Prior art keywords
white balance
liquid crystal
detection
rgb
detection area
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
CN201911208087.0A
Other languages
Chinese (zh)
Other versions
CN110933404A (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.)
Aerospace Hi Tech Holding Group Co Ltd
Original Assignee
Aerospace Hi Tech Holding Group 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 Aerospace Hi Tech Holding Group Co Ltd filed Critical Aerospace Hi Tech Holding Group Co Ltd
Priority to CN201911208087.0A priority Critical patent/CN110933404B/en
Publication of CN110933404A publication Critical patent/CN110933404A/en
Application granted granted Critical
Publication of CN110933404B publication Critical patent/CN110933404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Abstract

The invention discloses a product liquid crystal white balance detection method, relates to a liquid crystal detection method, and aims to solve the problem that the liquid crystal white balance detection efficiency is low in the traditional manual detection or by using a special detection instrument, and the method comprises the following steps: setting a standard sample picture, and transmitting the standard sample picture to a liquid crystal product for display; dividing the liquid crystal product into a plurality of detection areas; photographing a detection area to obtain a photographed picture, and calculating an RGB value and an RGB deviation value of the detection area on the photographed picture; the RGB deviation value R ' of the detection area is 255-R, RGB, the deviation value G ' is 255-G, RGB, and the deviation value B ' is 255-B; when R ' < Q, G ' < Q, B ' < Q, the white balance index of the detection area is qualified; and counting the white balance indexes of all the detection areas, wherein if the white balance indexes of all the detection areas are qualified, the white balance index of the liquid crystal product is qualified, and otherwise, the white balance index of the liquid crystal product is unqualified.

Description

Product liquid crystal white balance detection method
Technical Field
The invention relates to a liquid crystal detection method, in particular to a liquid crystal white balance index detection method.
Background
At present, most of production and manufacturing enterprises still stop in the traditional production mode and judge through manual visual inspection, visual fatigue of personnel can be caused along with long personnel inspection time, the influence of artificial subjective factors on product quality is increased, the size of liquid crystal is continuously increased along with the increase of product requirements, the labor intensity of inspectors is increased, and the work efficiency is reduced and the personnel cost is increased.
Meanwhile, an effective detection method is not formed by a plurality of liquid crystal product manufacturers at present, so that the white balance is not detected or a special instrument is used for sampling detection by the manufacturers, but the detection efficiency of the detection instrument is very low.
Disclosure of Invention
The invention aims to overcome the problem of low efficiency of detecting the white balance of liquid crystal by traditional manual detection or a special detection instrument, and provides a method for detecting the white balance of the liquid crystal of a product.
The invention discloses a method for detecting white balance of liquid crystal of a product, which comprises the following steps:
step one, setting a standard sample picture, wherein the RGB value of the standard sample picture is R255, G255 and B255, and transmitting the standard sample picture to a liquid crystal product for display;
dividing the liquid crystal product into a plurality of detection areas;
thirdly, photographing a detection area to obtain a photographed picture, and calculating an RGB value and an RGB deviation value of the detection area on the photographed picture; the RGB values of the detection region include R, G and B values, and the RGB offset value R ' 255-R, RGB G ' 255-G, RGB B ' 255-B of the detection region;
when R ' < Q, G ' < Q, B ' < Q, the white balance index of the detection area is qualified, otherwise, the white balance index of the detection area is unqualified; wherein Q is a set RGB deviation threshold;
step four, detecting whether an undetected detection area exists;
if the undetected detection area exists, returning to the step three to detect the undetected detection area, otherwise entering the step five;
and step five, counting the white balance indexes of all the detection areas, wherein if the white balance indexes of all the detection areas are qualified, the white balance index of the liquid crystal product is qualified, otherwise, the white balance index of the liquid crystal product is unqualified.
The invention has the beneficial effects that: by applying the liquid crystal white balance detection method, 100% detection of liquid crystal white balance can be realized, the detection efficiency is improved by 300% compared with the traditional detection means, and the detection result is more accurate. And by adopting the method, the efficiency of the detection method is improved more obviously than that of the traditional method when the size of the liquid crystal product is larger.
Drawings
FIG. 1 is a flow chart of a method for detecting white balance of liquid crystal of a product according to the present invention.
Detailed Description
In a first specific embodiment, a method for detecting a white balance of a liquid crystal product in this embodiment includes the following steps:
step one, setting a standard sample picture, wherein the RGB value of the standard sample picture is R255, G255 and B255, and transmitting the standard sample picture to a liquid crystal product for display;
dividing the liquid crystal product into a plurality of detection areas;
thirdly, photographing a detection area to obtain a photographed picture, and calculating an RGB value and an RGB deviation value of the detection area on the photographed picture; the RGB values of the detection region include R, G and B values, and the RGB offset value R ' 255-R, RGB G ' 255-G, RGB B ' 255-B of the detection region;
when R ' < Q, G ' < Q, B ' < Q, the white balance index of the detection area is qualified, otherwise, the white balance index of the detection area is unqualified; wherein Q is a set RGB deviation threshold;
step four, detecting whether an undetected detection area exists;
if the undetected detection area exists, returning to the step three to detect the undetected detection area, otherwise entering the step five;
and step five, counting the white balance indexes of all the detection areas, wherein if the white balance indexes of all the detection areas are qualified, the white balance index of the liquid crystal product is qualified, otherwise, the white balance index of the liquid crystal product is unqualified.
Specifically, the method carries out subarea detection according to the size and the detection effect of the liquid crystal product, namely, the liquid crystal product is equally divided and detected in areas to achieve the test accuracy, and meanwhile, the method is also used for being compatible with the detection of the large-size liquid crystal product. For convenience of explanation, the following method describes a manner of detecting the four detection regions.
The white balance detection algorithm takes the detection in four detection areas as an example and comprises the following steps:
1. detecting a first area for shooting, and then judging whether the deviation of the current shot picture and the reference point in the standard sample picture exceeds a reference point deviation set value or not:
if the deviation set value of the reference point is not exceeded, R, G, B values of the photographed pictures are extracted and are set as R1, G1 and B1;
if the reference point deviation value exceeds the reference point deviation set value, the system defaults that R1 is 0, G1 is 0, and B1 is 0 in the picture taken at this time.
Judging a formula:
255-R1 ═ RGB deviation value R'1< set RGB deviation threshold Q (equation 1)
255-G1 ═ RGB deviation value G'1< set RGB deviation threshold Q (equation 2)
255-B1 RGB offset value B'1< set RGB offset threshold Q (equation 3)
If one of the three formulas is not satisfied, the white balance index of the detection area is not qualified.
2. Detecting a second area for photographing, and then judging whether the deviation of the reference point in the current photographed picture and the standard sample picture exceeds a reference point deviation set value:
if the deviation set value of the reference point is not exceeded, R, G, B values of the photographed pictures are extracted and are set as R2, G2 and B2;
if the reference point deviation value exceeds the reference point deviation set value, the system defaults that R2 is 0, G2 is 0, and B2 is 0 in the picture taken at this time.
Judging a formula:
255-R2 ═ RGB deviation value R'2< set RGB deviation threshold Q (equation 4)
255-G2 RGB offset G'2< set RGB offset threshold Q (equation 5)
255-B2 RGB offset value B'2< set RGB offset threshold Q (equation 6)
If one of the three formulas is not satisfied, the white balance index of the test area is not qualified.
3. Detecting three regions for photographing, and then judging whether the deviation of the reference point in the current photographed picture and the standard sample picture exceeds a reference point deviation set value:
if the deviation set value of the reference point is not exceeded, R, G, B values of the photographed pictures are extracted and are set as R3, G3 and B3;
if the reference point deviation value exceeds the reference point deviation set value, the system defaults that R3 is 0, G3 is 0, and B3 is 0 in the picture taken at this time.
Judging a formula:
255-R3 ═ RGB deviation value R'3< set RGB deviation threshold Q (equation 7)
255-G3 RGB offset G'3< set RGB offset threshold Q (equation 8)
255-B3 RGB offset value B'3< set RGB offset threshold Q (equation 9)
If one of the three formulas is not satisfied, the white balance index of the test area is not qualified.
4. Detecting four regions for photographing, and then judging whether the deviation of the reference point in the current photographed picture and the standard sample picture exceeds the reference point deviation set value:
if the deviation set value of the reference point is not exceeded, R, G, B values of the photographed pictures are extracted and are set as R4, G4 and B4;
if the reference point deviation value exceeds the reference point deviation set value, the system defaults that R4 is 0, G4 is 0, and B4 is 0 in the picture taken at this time.
Judging a formula:
255-R4 ═ RGB deviation value R'4< set RGB deviation threshold Q (equation 10)
255-G4 RGB offset G'4< set RGB offset threshold Q (equation 11)
255-B4 RGB offset value B'4< set RGB offset threshold Q (equation 12)
If one of the three formulas is not satisfied, the white balance index of the test area is not qualified.
And summarizing the RGB deviation values of the four detection areas and comparing the RGB deviation values with a set RGB deviation threshold value Q.
Figure BDA0002297368410000031
If one index in the above formula is not satisfied, the white balance index of the product is not qualified.
In this embodiment, the third step further includes a step of correcting the detection area, and the method for correcting the detection area is as follows:
thirdly, arranging reference points on the standard sample picture in each detection area;
step two, comparing the shot picture with the reference points of the corresponding detection areas on the standard sample picture to obtain a reference point deviation value;
if the deviation value of the reference point is greater than or equal to the deviation set value, the RGB value of the detection area corresponding to the default photographed picture is R-0, G-0 and B-0;
and if the reference point deviation value is smaller than the reference point deviation set value, adjusting the detection area on the photographed picture according to the reference point deviation value.
Specifically, when a liquid crystal product is detected, the liquid crystal product needs to be assembled on a fixing piece, so that an assembly error is generated, which affects that a detection area set by a camera after photographing does not fully photograph the liquid crystal detection area or the detection area of a photographed picture shifts, so that fine correction processing is required, and the specific method comprises the following steps:
firstly, setting a standard sample picture with a reference point, comparing the photographed picture with the reference point in the standard sample picture after photographing, calculating the deviation of the reference point in the photographed picture and the standard sample picture through logic, and then finely adjusting the photographed detection area;
and when the deviation of the reference point in the photographed picture and the standard sample picture exceeds the set value of the deviation of the reference point, the system defaults to return to measure the RGB deviation value to be 255, namely returns by using the maximum deviation value, the detection area is unqualified, and then detects other detection areas of the liquid crystal product.
Before detection, the upper computer software sends an instruction to the product to enable the product to display a pure white picture (RGB is 255.255.255).
In this embodiment, the light source for white balance detection of the product liquid crystal is white soft light of 1000-1200 Lux.
In addition, the device based on the liquid crystal white balance detection method of the product comprises a camera, a motion module, a light source and a controller;
the camera is used for photographing the display;
the motion module is used for carrying the camera to move;
the light source is used for providing environment illumination for white balance detection;
the controller is used for controlling the camera to shoot and controlling the motion module to move.
Specifically, the camera in the device is an industrial CCD camera, and the pixel of the industrial CCD camera cannot be lower than 2 times of the liquid crystal pixel of the product to be detected.
The method needs an external light source when detecting the liquid crystal product, and the brightness of the light source is required to reach 1000-1200 Lux white soft light.
The controller is PLC singlechip and relevant host computer, and the host computer sends the instruction of shooing for the camera, makes the camera shoot, and the host computer passes through PLC control mobile module and light source relay, makes mobile module remove to and the switch of through light source relay on-off control light source.

Claims (3)

1. A method for detecting the white balance of a product liquid crystal is characterized by comprising the following steps:
step one, setting a standard sample picture, wherein the RGB value of the standard sample picture is R255, G255 and B255, and transmitting the standard sample picture to a liquid crystal product for display;
dividing the liquid crystal product into a plurality of detection areas;
thirdly, photographing a detection area to obtain a photographed picture, and calculating an RGB value and an RGB deviation value of the detection area on the photographed picture; the RGB values of the detection area comprise R0、G0And B0The RGB offset value R' of the detection region is 255-R0The RGB offset value G' is 255-G0RGB offset B' 255-B0
When R ' < Q, G ' < Q, B ' < Q, the white balance index of the detection area is qualified, otherwise, the white balance index of the detection area is unqualified; wherein Q is a set RGB deviation threshold;
step four, detecting whether an undetected detection area exists;
if the undetected detection area exists, returning to the step three to detect the undetected detection area, otherwise entering the step five;
and step five, counting the white balance indexes of all the detection areas, wherein if the white balance indexes of all the detection areas are qualified, the white balance index of the liquid crystal product is qualified, and otherwise, the white balance index of the liquid crystal product is unqualified.
2. The method for detecting the white balance of the liquid crystal display of the product according to claim 1, wherein the third step further comprises the step of correcting the detection area, and the method for correcting the detection area comprises the following steps:
thirdly, arranging reference points on the standard sample picture in each detection area;
step two, comparing the shot picture with the reference points of the corresponding detection areas on the standard sample picture to obtain a reference point deviation value;
if the deviation value of the reference point is more than or equal to the deviation set value, the RGB value of the corresponding detection area of the photographed picture is defaulted to be R0=0、G0=0、B0=0;
And if the reference point deviation value is smaller than the reference point deviation set value, adjusting the detection area on the photographed picture according to the reference point deviation value.
3. The method for detecting the white balance of the liquid crystal product according to claim 1 or 2, wherein a light source for white balance detection of the liquid crystal product is white soft light of 1000-1200 Lux.
CN201911208087.0A 2019-11-30 2019-11-30 Product liquid crystal white balance detection method Active CN110933404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911208087.0A CN110933404B (en) 2019-11-30 2019-11-30 Product liquid crystal white balance detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911208087.0A CN110933404B (en) 2019-11-30 2019-11-30 Product liquid crystal white balance detection method

Publications (2)

Publication Number Publication Date
CN110933404A CN110933404A (en) 2020-03-27
CN110933404B true CN110933404B (en) 2021-09-28

Family

ID=69847067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911208087.0A Active CN110933404B (en) 2019-11-30 2019-11-30 Product liquid crystal white balance detection method

Country Status (1)

Country Link
CN (1) CN110933404B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007036859A (en) * 2005-07-28 2007-02-08 Funai Electric Co Ltd White balance adjustment system for television, image quality adjustment system for television and image quality adjustment method for television
CN103139572A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Sensitization device and method and device for white balance of sensitization device
CN105376539A (en) * 2015-11-17 2016-03-02 歌尔声学股份有限公司 Lens module colour-difference correction method, lens module colour-difference correction system, lens module and photographing equipment
CN109246425A (en) * 2018-08-27 2019-01-18 惠州市康冠科技有限公司 LCD TV white balance test method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100830040B1 (en) * 2006-12-01 2008-05-15 주식회사 대우일렉트로닉스 Television having camera and method amending white balance thereof
CN101227623B (en) * 2008-01-31 2012-07-04 炬力集成电路设计有限公司 White balance adjustment method, system and camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007036859A (en) * 2005-07-28 2007-02-08 Funai Electric Co Ltd White balance adjustment system for television, image quality adjustment system for television and image quality adjustment method for television
CN103139572A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Sensitization device and method and device for white balance of sensitization device
CN105376539A (en) * 2015-11-17 2016-03-02 歌尔声学股份有限公司 Lens module colour-difference correction method, lens module colour-difference correction system, lens module and photographing equipment
CN109246425A (en) * 2018-08-27 2019-01-18 惠州市康冠科技有限公司 LCD TV white balance test method

Also Published As

Publication number Publication date
CN110933404A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN106373523B (en) Spliced bright and dark line compensation method
CN101282489B (en) Light source detection apparatus and method as well as image processing method
CN102026003B (en) Method for correcting colors of multi-screen splicing wall
CN102413354B (en) Automatic optical detection method, device and system of mobile phone camera module
CN102034407B (en) Light-emitting diode screen color and brightness adjustment method and system
CN103297789B (en) White balance correcting method and white balance correcting device
CN104168478B (en) Based on the video image color cast detection method of Lab space and relevance function
CN103702095B (en) The gamut correction method of image co-registration process, Apparatus and system
TWI759669B (en) Method and system for inspecting display image
CN105376539B (en) The antidote and system of camera lens module aberration, camera lens module, photographing device
TWI390194B (en) Device and method for testing leds on a motherboard
CN103196653B (en) Method and device of light source detection
CN104079909A (en) Automatic white balance method and device for image
CN110009588A (en) A kind of portrait image color enhancement method and device
TW201715509A (en) Electronic device and screen color regulation system
CN108957799A (en) A kind of detection method of LCD display module backlight uniformity of chromaticity
KR102653207B1 (en) Visual inspection apparatus and method of optical calibration of the same
CN104394325B (en) A kind of image processing method and camera
CN110933404B (en) Product liquid crystal white balance detection method
CN104795048B (en) Mosaic display screen color calibration method and system
EP3319316A1 (en) Method for controlling projector and projector applicable to same
US7812862B2 (en) White balance adjustment method for a digital image capturing device
CN115035096A (en) Indicator lamp testing method and related device
US11125992B2 (en) Chromatic aberration adjusting method and apparatus of detection device
CN108063933A (en) Image processing method and device, computer readable storage medium and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant