CN107085344B - Intelligent device and method for automatically setting backlight in imaging system - Google Patents

Intelligent device and method for automatically setting backlight in imaging system Download PDF

Info

Publication number
CN107085344B
CN107085344B CN201710357201.0A CN201710357201A CN107085344B CN 107085344 B CN107085344 B CN 107085344B CN 201710357201 A CN201710357201 A CN 201710357201A CN 107085344 B CN107085344 B CN 107085344B
Authority
CN
China
Prior art keywords
backlight
light emitting
module
light
image
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
CN201710357201.0A
Other languages
Chinese (zh)
Other versions
CN107085344A (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.)
JIANGSU AUSTIN PHOTOELECTRIC TECHNOLOGY Co.,Ltd.
Original Assignee
Nanjing University of Information Science and Technology
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 University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN201710357201.0A priority Critical patent/CN107085344B/en
Publication of CN107085344A publication Critical patent/CN107085344A/en
Application granted granted Critical
Publication of CN107085344B publication Critical patent/CN107085344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/03Combinations of cameras with lighting apparatus; Flash units
    • G03B15/05Combinations of cameras with electronic flash apparatus; Electronic flash units
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an intelligent device and a method for automatically setting backlight in an imaging system.A control panel is connected with a computer for controlling, collecting and analyzing image information of a camera and controlling the working state of a light emitting array; the main controller module is used for receiving an operation instruction of a computer and then sending the instruction to the sub-controllers, so that the sub-controller driving modules drive the operation of each light-emitting array. The method comprises the steps of 1, initializing; step 2, judging the imaging of the backlight area; step 3, matching the image and the light emitting array; step 4, the computer sends information to the master controller module; step 5, collecting images; and 6, calculating, 7, adjusting and 8, and finishing. The invention automatically calculates the regional brightness information, then drives the light emitting diode of a single region, changes the brightness, and leads the correct effect of consistent brightness of each region to be presented when facing an image with completely consistent chromaticity.

Description

Intelligent device and method for automatically setting backlight in imaging system
Technical Field
The invention relates to an intelligent device and method for automatically setting backlight in an imaging system, and belongs to the technical field of auxiliary equipment when the imaging system is used.
Background
An imaging system formed by a camera and a backlight is a main device used for shooting images of products such as liquid crystal screens and the like which can transmit and then realizing nondestructive analysis on the products, and provides a good nondestructive testing means, so that people can rapidly analyze the quality of the products.
At present, a backlight plate is composed of a plurality of light emitting diodes driven by a controller and a panel with an acrylic surface, and the backlight plate cannot respectively control the brightness of a certain area. Due to the distortion of the lens of the camera, the inconsistency between the lens and the sensing array in the camera and other reasons, when the camera images, even facing an image with completely consistent chromaticity, the camera can also present the error effect of inconsistent brightness of each area, and the effect has serious influence on the next processing.
If one device can automatically adjust the backlight in the imaging system, the correct effect of consistent brightness of each area can be presented when facing an image with completely consistent chromaticity, so that the imaging system can be provided with a correct initial value, and meanwhile, the device can also be self-checked, analyze error sources and automatically report errors. It can have good influence on the next processing, thereby promoting the application of the image detection product.
After extensive research and study, the existing papers and patents have no such products.
Disclosure of Invention
In order to solve the existing problems, the invention discloses an intelligent device and a method for automatically setting backlight in an imaging system, and the specific technical scheme is as follows:
an intelligent device for automatically setting backlight in an imaging system comprises a power supply, a light-emitting module, a sound-producing module, a master controller module, a sub-controller driving module, a light-emitting array, a camera and a computer,
the power supply, the light-emitting module, the sound-producing module, the master controller module and the sub-controller driving module are integrated in one control panel, and the control panel is connected with a computer for controlling, collecting and analyzing image information of the camera and controlling the working state of the light-emitting array;
the power supply supplies power to the light-emitting module, the sound-producing module, the master controller module, the sub-controller driving module, the light-emitting array, the camera and the computer;
the light emitting module is used for displaying the working state of the light emitting array;
the pronunciation module is used for giving out an alarm when the light-emitting array works abnormally;
the main controller module is used for receiving an operation instruction of a computer and then sending an instruction to the sub-controller driving modules, so that the sub-controller driving modules drive the operation of each light-emitting array, and the main controller module also drives the work of the sound-producing module and the light-emitting module;
the sub-controller driving module is used for receiving an instruction of the main controller module and controlling the work of each light-emitting array;
the light emitting array is used for forming a light emitting part of the backlight and forming a main body of the backlight;
the camera is used for shooting an object to be detected under the operation of a computer;
the computer is used for obtaining the shooting result of the camera, analyzing and storing the pictures shot by the camera, driving the master controller module to change the work of each light-emitting array in the backlight, recording the parameters for direct use of the same batch of products next time, analyzing various states, analyzing possible error conditions and giving an alarm.
The power supply selects a 220V alternating current power supply and is converted into two 5V module power supplies, wherein one module power supply is used for supplying power to the light-emitting module, the sound-producing module, the master controller module and the branch controller driving module, and the other module power supply is used for driving the light-emitting array.
The power supply is provided with a button, the button is used for controlling the power supply to be turned on and turned off, and the button is a touch self-locking microswitch.
The main controller adopts an STM32F107 chip, and the sub-controllers adopt an STM32F103 chip.
The light emitting array is a 5mm high-brightness white light emitting diode of Risym to form a 4 x 3 light emitting matrix, and the sound producing module is a buzzer.
The camera is an industrial camera with 1070 ten thousand pixels of large constant water star MER-1070-10GM/C type, and the computer is a Dell T5810 type graphic workstation.
An intelligent method for automatically setting backlight in an imaging system comprises the following operation steps:
step 1, initialization: the computer sends information to the driving master controller module to change the state of each light emitting array in the backlight into the brightest value, and the target average brightness ratio under the normal working state is set
Figure GDA0002225096840000021
Let the tolerable scale error range Gert be the ideal brightness
Figure GDA0002225096840000022
Setting the initial correction ratio of the light emitting array
Figure GDA0002225096840000023
In (1)
Figure GDA0002225096840000024
Wherein i represents the ith correction iteration and sets the maximum correction iteration frequency imax;
step 2, judging the imaging of the backlight area: under the condition that an object to be detected does not exist and only backlight exists, a computer drives a camera to collect an image, an image of a target area to be detected in the image is searched after the image is obtained, namely the image of a backlight area, the backlight is composed of a plurality of light emitting arrays and is designed into a rectangular array, if a matrix cannot be detected under the condition that all the light emitting arrays in the step 1 are set to be the brightest value, the backlight hardware is abnormal or the camera has a problem, the inspection is stopped, a light emitting module and a sound emitting module are driven to alarm, and the step 8 is carried out;
step 3, matching the image and the light emitting array: after obtaining a correct backlight imaging image, obtaining a backlight area long pixel value HimWide pixel value WimThen, the light emitting arrays are matched with the actual light emitting arrays one by one,
the principle is that, since mm light emitting arrays are arranged in the long direction and nn light emitting arrays are arranged in the wide direction under the known real backlight, the pixel length H of the display area of each light emitting array on the image is knownmaPixel width Wma
Namely:
Hma=Him/mm
Wma=Wim/nn
thus, the whole backlight area is divided into a plurality of individual areas in the image display area, i.e., Im (m, n), where m represents the m-th array in the longitudinal direction, m is 1, …, mm, n represents the n-th array in the width direction, n is 1, …, nn,
then, according to the arrangement sequence of the light emitting arrays during circuit design, each image area Im (m, n) is paired with the light emitting array LED (m, n);
step 4, the computer sends information to the master controller module to drive the master controller module to change the display of each light-emitting array LED (m, n) in the backlight, namely the target brightness is
Figure GDA0002225096840000031
Step 5, collecting images, and analyzing the average brightness of each image area Im (m, n)
Figure GDA0002225096840000032
Variance of brightness S(m,n)Average brightness G of the entire imageavgNamely:
wherein the content of the first and second substances,
Figure GDA0002225096840000034
representative are pixel values of the ith pixel in the longitudinal direction and the jth pixel in the width direction in the mth array in the longitudinal direction and the nth array in the width direction,
Figure GDA0002225096840000041
Figure GDA0002225096840000042
step 6. luminance variance S of each image area Im (m, n)(m,n)Calculating their average value SavgAnd the variance SS, and the variance of the measured values,
Figure GDA0002225096840000043
since the light emitting array of the backlight is used, aging and individual led damage may occur, resulting in non-light emission, S is used hereavgAnd SS, using a threshold value method to quickly analyze whether the problem of the type occurs,
if present
Savg≥T(Savg)
It means that there are many areas of the whole backlight with serious uneven lighting, and the whole backlight needs to be replaced, and the process goes to step 8,
if present
SS≥T(SS)
It is indicated that there is a serious difference in the individual areas of the backlight from the other areas, and the light emitting arrays of the areas need to be repaired, step 8,
if one of the two problems exists, stopping checking, driving the light emitting module and the sound emitting module to alarm, and if the other problem does not exist, entering the step 7 to carry out the next step;
and 7, adjusting: the degree to which the average luminance of each image area differs from the average luminance of the entire image is calculated,
distinguishing whether each image area Im (m, n) meets an error range, namely whether | D (m, n) | is within Gert, if yes, then no adjustment is needed; if not, it needs to be adjusted, namely:
Figure GDA0002225096840000051
if | D (m, n) | > Gert is present, then the system needs further modification,
at this time, if there are:
i≥imax
the device is corrected by imax and still cannot work normally, the system is in problem, if the system is not reached, the step 4 is entered,
if all of
Figure GDA0002225096840000052
Then, the system is normal without adjustment at the beginning, and can output the normal output, which is also used as the standard when the whole intelligent device leaves the factory, and the process goes to step 8,
if all D (m, n) ═ 0, it indicates that the system has been adjusted to output normally, and this is also used as a standard for the normal operation of the whole intelligent device, and the process goes to step 8;
and 8, ending:
saving correction values
Figure GDA0002225096840000053
Analyzing the system state, stopping checking, driving the light emitting module and the sound emitting module to alarm, and outputting one of the following information:
(1) normal delivery;
(2) working normally after correction;
(3) error type:
a phenomenon of serious uneven light emission in many regions of the whole backlight, and the whole backlight needs to be replaced;
the presence of a severe difference in the individual areas of the backlight from the others, the display of the number of the area, the alert of the need for repair of the light emitting array of the area,
the device can not work normally through imax correction, which indicates that the system has problems,
if the backlight area cannot be detected, it indicates that the backlight hardware as a whole is abnormal or that the camera is in a problem.
The invention has the beneficial effects that:
the invention provides an intelligent device for automatically setting backlight in an imaging system based on the existing electronic technology and machine vision technology, which can automatically calculate regional brightness information, then drive a light emitting diode of a single region to change the brightness, so that the correct effect of consistent brightness of each region is presented facing an image with completely consistent chromaticity. Meanwhile, the system can also be self-checked, analyze error sources and automatically report errors. The device is objective, saves the energy of operators, reduces the labor force, reduces the cost and also improves the accuracy of the next image processing.
The method of the invention divides the image area corresponding to each light-emitting array, automatically calculates the area brightness, then drives the light-emitting diode of a single area, changes the brightness, and presents the correct effect of consistent brightness of each area when facing an image with completely consistent chromaticity. Meanwhile, various states of the intelligent device can be analyzed, and possible error conditions can be analyzed and an alarm can be given.
Drawings
FIG. 1 is a schematic view of the connection state structure of the device of the present invention;
FIG. 2 is a schematic diagram of the circuit control relationship of the apparatus of the present invention;
FIG. 3 is a schematic flow chart of the process of the present invention.
1. An object to be measured; 2. a backlight; 3. a placement platform; 4. a control panel; 5. a computer; 6. a camera.
Detailed Description
The invention is further elucidated with reference to the drawings and the detailed description. It should be understood that the following detailed description is illustrative of the invention only and is not intended to limit the scope of the invention.
Fig. 1 is a schematic view of a connection state structure of the device of the present invention, and it can be seen from the attached drawings that when the device of the present invention is in use, an object to be detected is placed in a backlight area on a placement platform, a camera is connected with a computer, and the computer controls a light emitting array of the backlight area through a control panel.
FIG. 2 is a schematic diagram of the circuit control relationship of the apparatus of the present invention; as can be seen by combining the attached drawings, the intelligent device for automatically setting the backlight in the imaging system comprises a power supply, a light-emitting module, a sound-producing module, a master controller module, a sub-controller driving module, a light-emitting array, a camera and a computer,
the power supply, the light-emitting module, the sound generation module, the master controller module and the sub-controller driving module are integrated in one control panel, and the control panel is connected with a computer for controlling, collecting and analyzing image information of the camera and controlling the working state of the light-emitting array;
the power supply supplies power to the light-emitting module, the sound-producing module, the master controller module, the sub-controller driving module, the light-emitting array, the camera and the computer;
the light emitting module is used for displaying the working state of the light emitting array;
the pronunciation module is used for giving out an alarm when the light-emitting array works abnormally;
the main controller module is used for receiving an operation instruction of a computer and then sending an instruction to the sub-controller driving modules, so that the sub-controller driving modules drive the operation of each light-emitting array, and the main controller module also drives the work of the sound-producing module and the light-emitting module;
the sub-controller driving module is used for receiving an instruction of the main controller module and controlling the work of each light-emitting array;
the light emitting array is used for forming a light emitting part of the backlight and forming a main body of the backlight;
the camera is used for shooting an object to be detected under the operation of a computer;
the computer is used for obtaining the shooting result of the camera, analyzing and storing the pictures shot by the camera, driving the master controller module to change the work of each light-emitting array in the backlight, recording the parameters for direct use of the same batch of products next time, analyzing various states, analyzing possible error conditions and giving an alarm.
The power supply selects a 220V alternating current power supply and is converted into two 5V module power supplies, wherein one module power supply is used for supplying power to the light-emitting module, the sound-producing module, the master controller module and the branch controller driving module, and the other module power supply is used for driving the light-emitting array.
The power supply is provided with a button, the button is used for controlling the power supply to be turned on and turned off, and the button is a touch self-locking microswitch.
The main controller adopts an STM32F107 chip, and the sub-controllers adopt an STM32F103 chip. The light emitting array is a 5mm high-brightness white light emitting diode of Risym to form a 4 x 3 light emitting matrix, and the sound producing module is a buzzer.
The camera is an industrial camera with 1070 ten thousand pixels of large constant water star MER-1070-10GM/C type, and the computer is a Dell T5810 type graphic workstation.
Fig. 3 is a schematic program flow diagram of the method of the present invention, and it can be seen from the attached drawings that an intelligent method for automatically setting the backlight in the imaging system includes the following operation steps:
step 1, initialization: the computer sends information to the driving master controller module to change the state of each light emitting array in the backlight into the brightest value, and the target average brightness ratio under the normal working state is set
Figure GDA0002225096840000071
Let the tolerable scale error range Gert be the ideal brightnessSetting the initial correction ratio of the light emitting array
Figure GDA0002225096840000073
In (1)
Figure GDA0002225096840000074
Wherein i represents the ith correction iteration and sets the maximum correction iteration frequency imax;
step 2, judging the imaging of the backlight area: under the condition that an object to be detected does not exist and only backlight exists, a computer drives a camera to collect an image, an image of a target area to be detected in the image is searched after the image is obtained, namely the image of a backlight area, the backlight is composed of a plurality of light emitting arrays and is designed into a rectangular array, if a matrix cannot be detected under the condition that all the light emitting arrays in the step 1 are set to be the brightest value, the backlight hardware is abnormal or the camera has a problem, the inspection is stopped, a light emitting module and a sound emitting module are driven to alarm, and the step 8 is carried out;
step 3, matching the image and the light emitting array: after obtaining a correct backlight imaging image, obtaining a backlight area long pixel value HimWide pixel value WimThen, the light emitting arrays are matched with the actual light emitting arrays one by one,
the principle is that, since mm light emitting arrays are arranged in the long direction and nn light emitting arrays are arranged in the wide direction under the known real backlight, the pixel length H of the display area of each light emitting array on the image is knownmaPixel width Wma
Namely:
Hma=Him/mm
Wma=Wim/nn
thus, the whole backlight area is divided into a plurality of individual areas in the image display area, i.e., Im (m, n), where m represents the m-th array in the longitudinal direction, m is 1, …, mm, n represents the n-th array in the width direction, n is 1, …, nn,
then, according to the arrangement sequence of the light emitting arrays during circuit design, each image area Im (m, n) is paired with the light emitting array LED (m, n);
step 4, the computer sends information to the master controller module to drive the master controller module to change the display of each light-emitting array LED (m, n) in the backlight, namely the target brightness is
Figure GDA0002225096840000081
Step 5, collecting images, and analyzing the average brightness of each image area Im (m, n)
Figure GDA0002225096840000082
Variance of brightness S(m,n)Average brightness G of the entire imageavgNamely:
wherein the content of the first and second substances,
Figure GDA0002225096840000084
representative are pixel values of the ith pixel in the longitudinal direction and the jth pixel in the width direction in the mth array in the longitudinal direction and the nth array in the width direction,
Figure GDA0002225096840000085
Figure GDA0002225096840000086
step 6. luminance variance S of each image area Im (m, n)(m,n)Calculating their average value SavgAnd the variance SS, and the variance of the measured values,
Figure GDA0002225096840000092
since the light emitting array of the backlight is used, aging and individual led damage may occur, resulting in non-light emission, S is used hereavgAnd SS, using a threshold value method to quickly analyze whether the problem of the type occurs,
if present
Savg≥T(Savg)
It means that there are many areas of the whole backlight with serious uneven lighting, and the whole backlight needs to be replaced, and the process goes to step 8,
if present
SS≥T(SS)
It is indicated that there is a serious difference in the individual areas of the backlight from the other areas, and the light emitting arrays of the areas need to be repaired, step 8,
if one of the two problems exists, stopping checking, driving the light emitting module and the sound emitting module to alarm, and if the other problem does not exist, entering the step 7 to carry out the next step;
and 7, adjusting: the degree to which the average luminance of each image area differs from the average luminance of the entire image is calculated,
Figure GDA0002225096840000093
distinguishing whether each image area Im (m, n) meets an error range, namely whether | D (m, n) | is within Gert, if yes, then no adjustment is needed; if not, it needs to be adjusted, namely:
Figure GDA0002225096840000094
if | D (m, n) | > Gert is present, then the system needs further modification,
at this time, if there are:
i≥imax
the device is corrected by imax and still cannot work normally, the system is in problem, if the system is not reached, the step 4 is entered,
if all of
Figure GDA0002225096840000101
Then, the system is normal without adjustment at the beginning, and can output the normal output, which is also used as the standard when the whole intelligent device leaves the factory, and the process goes to step 8,
if all D (m, n) ═ 0, it indicates that the system has been adjusted to output normally, and this is also used as a standard for the normal operation of the whole intelligent device, and the process goes to step 8;
and 8, ending:
saving correction values
Figure GDA0002225096840000102
Analyzing the system state, stopping checking, driving the light emitting module and the sound emitting module to alarm, and outputting one of the following information:
(1) normal delivery;
(2) working normally after correction;
(3) error type:
a phenomenon of serious uneven light emission in many regions of the whole backlight, and the whole backlight needs to be replaced;
the presence of a severe difference in the individual areas of the backlight from the others, the display of the number of the area, the alert of the need for repair of the light emitting array of the area,
the device can not work normally through imax correction, which indicates that the system has problems,
if the backlight area cannot be detected, it indicates that the backlight hardware is abnormal as a whole or the camera has a problem.
The technical means disclosed by the scheme of the invention are not limited to the technical means disclosed by the technical means, and the technical scheme also comprises the technical scheme formed by any combination of the technical characteristics.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.

Claims (6)

1. An intelligent method for automatically setting backlight in an imaging system is characterized by comprising the following operation steps:
step 1, initialization: the computer sends information to the driving master controller module to change each backlightThe state of the light emitting array is changed into the brightest value, and the target average brightness ratio under the normal working state is set
Figure FDA0002225096830000011
Let the tolerable scale error range Gert be the ideal brightness
Figure FDA0002225096830000012
Setting the initial correction ratio of the light emitting array
Figure FDA0002225096830000013
In (1)
Figure FDA0002225096830000014
Wherein i represents the ith correction iteration and sets the maximum correction iteration frequency imax;
step 2, judging the imaging of the backlight area: under the condition that an object to be detected does not exist and only backlight exists, a computer drives a camera to collect an image, an image of a target area to be detected in the image is searched after the image is obtained, namely the image of a backlight area, the backlight is composed of a plurality of light emitting arrays and is designed into a rectangular array, if a matrix cannot be detected under the condition that all the light emitting arrays in the step 1 are set to be the brightest value, the backlight hardware is abnormal or the camera has a problem, the inspection is stopped, a light emitting module and a sound emitting module are driven to alarm, and the step 8 is carried out;
step 3, matching the image and the light emitting array: after obtaining a correct backlight imaging image, obtaining a backlight area long pixel value HimWide pixel value WimThen, the light emitting arrays are matched with the actual light emitting arrays one by one,
the principle is that, since mm light emitting arrays are arranged in the long direction and nn light emitting arrays are arranged in the wide direction under the known real backlight, the pixel length H of the display area of each light emitting array on the image is knownmaPixel width Wma
Namely:
Hma=Him/mm
Wma=Wim/nn
thus, the whole backlight area is divided into a plurality of individual areas in the image display area, i.e., Im (m, n), where m represents the m-th array in the longitudinal direction, m is 1, …, mm, n represents the n-th array in the width direction, n is 1, …, nn,
then, according to the arrangement sequence of the light emitting arrays during circuit design, each image area Im (m, n) is paired with the light emitting array LED (m, n);
step 4, the computer sends information to the master controller module to drive the master controller module to change the display of each light-emitting array LED (m, n) in the backlight, namely the target brightness is
Figure FDA0002225096830000015
Step 5, collecting images, and analyzing the average brightness of each image area Im (m, n)
Figure FDA0002225096830000016
Variance of brightness S(m,n)Average brightness G of the entire imageavgNamely:
Figure FDA0002225096830000021
wherein the content of the first and second substances,
Figure FDA0002225096830000022
representative are pixel values of the ith pixel in the longitudinal direction and the jth pixel in the width direction in the mth array in the longitudinal direction and the nth array in the width direction,
Figure FDA0002225096830000023
Figure FDA0002225096830000024
step 6. luminance variance S of each image area Im (m, n)(m,n)Calculating their average value SavgAnd the variance SS, and the variance of the measured values,
Figure FDA0002225096830000025
Figure FDA0002225096830000026
since the light emitting array of the backlight is used, aging and individual led damage may occur, resulting in non-light emission, S is used hereavgAnd SS, using a threshold value method to quickly analyze whether the problem of the type occurs,
if present
Savg≥T(Savg)
It means that there is a serious uneven lighting phenomenon in a plurality of areas of the whole backlight, and the whole backlight needs to be replaced, and the process goes to step 8,
if present
SS≥T(SS)
It is indicated that there is a serious difference in the individual areas of the backlight from the other areas, and the light emitting arrays of the areas need to be repaired, step 8,
if one of the two problems exists, stopping checking, driving the light emitting module and the sound emitting module to alarm, and if the other problem does not exist, entering the step 7 to carry out the next step;
and 7, adjusting: the degree to which the average luminance of each image area differs from the average luminance of the entire image is calculated,
Figure FDA0002225096830000031
distinguishing whether each image area Im (m, n) meets an error range, namely whether | D (m, n) | is within Gert, if yes, then no adjustment is needed; if not, it needs to be adjusted, namely:
Figure FDA0002225096830000032
if | D (m, n) | > Gert is present, then the system needs further modification,
at this time, if there are:
i≥imax
the device is corrected by imax and still cannot work normally, the system is in problem, if the system is not reached, the step 4 is entered,
if all ofThen, the system is normal without adjustment at the beginning, and can output the normal output, which is also used as the standard when the whole intelligent device leaves the factory, and the process goes to step 8,
if all D (m, n) ═ 0, it indicates that the system has been adjusted to output normally, and this is also used as a standard for the normal operation of the whole intelligent device, and the process goes to step 8;
and 8, ending:
saving correction values
Figure FDA0002225096830000034
Analyzing the system state, stopping checking, driving the light emitting module and the sound emitting module to alarm, and outputting one of the following information:
(1) normal delivery;
(2) working normally after correction;
(3) error type:
a phenomenon of serious uneven light emission in many regions of the whole backlight, and the whole backlight needs to be replaced;
the presence of a severe difference in the individual areas of the backlight from the others, the display of the number of the area, the alert of the need for repair of the light emitting array of the area,
the device can not work normally through imax correction, which indicates that the system has problems,
if the backlight area cannot be detected, the backlight hardware is abnormal as a whole or the camera has a problem;
the device in step 7 comprises a power supply, a light-emitting module, a sound-producing module, a master controller module, a sub-controller driving module, a light-emitting array, a camera and a computer,
the power supply, the light-emitting module, the sound-producing module, the master controller module and the sub-controller driving module are integrated in one control panel, and the control panel is connected with a computer for controlling, collecting and analyzing image information of the camera and controlling the working state of the light-emitting array;
the power supply supplies power to the light-emitting module, the sound-producing module, the master controller module, the sub-controller driving module, the light-emitting array, the camera and the computer;
the light emitting module is used for displaying the working state of the light emitting array;
the pronunciation module is used for giving out an alarm when the light-emitting array works abnormally;
the main controller module is used for receiving an operation instruction of a computer and then sending an instruction to the sub-controller driving modules, so that the sub-controller driving modules drive the operation of each light-emitting array, and the main controller module also drives the work of the sound-producing module and the light-emitting module;
the sub-controller driving module is used for receiving an instruction of the main controller module and controlling the work of each light-emitting array;
the light emitting array is used for forming a light emitting part of the backlight and forming a main body of the backlight;
the camera is used for shooting an object to be detected under the operation of a computer;
the computer is used for obtaining the shooting result of the camera, analyzing and storing the pictures shot by the camera, driving the master controller module to change the work of each light-emitting array in the backlight, recording the parameters for direct use of the same batch of products next time, analyzing various states, analyzing possible error conditions and giving an alarm.
2. The intelligent method for automatically setting the backlight in the imaging system according to claim 1, wherein the power supply is a 220V ac power supply and is converted into two 5V modular power supplies, wherein one modular power supply is used for supplying the light emitting module, the sound emitting module, the main controller module and the sub-controller driving module, and the other modular power supply is used for driving the light emitting array.
3. The intelligent method for automatically setting the backlight in an imaging system according to claim 1, wherein the power supply is provided with a button for controlling the power supply to be turned on and off, and the button is a micro switch with self-locking by touching.
4. The intelligent method for automatically setting the backlight in the imaging system according to claim 1, wherein the main controller uses an STM32F107 chip, and the sub-controllers use an STM32F103 chip.
5. The intelligent method for automatically setting the backlight of an imaging system according to claim 1, wherein the light emitting array is composed of Risym's 5mm high brightness white light LED to form a 4 x 3 light emitting matrix, and the sound emitting module is a buzzer.
6. The intelligent method for automatically setting the backlight in the imaging system as claimed in claim 1, wherein the camera is an industrial camera with 1070-10GM/C type 1070 ten thousand pixels and the computer is a dell T5810 type graphic workstation.
CN201710357201.0A 2017-05-19 2017-05-19 Intelligent device and method for automatically setting backlight in imaging system Active CN107085344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710357201.0A CN107085344B (en) 2017-05-19 2017-05-19 Intelligent device and method for automatically setting backlight in imaging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710357201.0A CN107085344B (en) 2017-05-19 2017-05-19 Intelligent device and method for automatically setting backlight in imaging system

Publications (2)

Publication Number Publication Date
CN107085344A CN107085344A (en) 2017-08-22
CN107085344B true CN107085344B (en) 2020-02-18

Family

ID=59608527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710357201.0A Active CN107085344B (en) 2017-05-19 2017-05-19 Intelligent device and method for automatically setting backlight in imaging system

Country Status (1)

Country Link
CN (1) CN107085344B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108761877A (en) 2018-05-24 2018-11-06 京东方科技集团股份有限公司 Display panel, display device and the control method based on it
CN110277069B (en) * 2019-06-27 2021-09-14 广东海信电子有限公司 Television screen backlight control method and device and television
CN114927110B (en) * 2022-06-27 2024-03-15 青岛信芯微电子科技股份有限公司 Backlight control method, display equipment, chip system and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101541120A (en) * 2008-03-19 2009-09-23 牧德科技股份有限公司 Intelligent light-emitting diode illuminating system
CN102411909A (en) * 2011-12-20 2012-04-11 彩虹集团公司 Flatting method of backlight partition of direct type white light LED (Light-emitting Diode) backlight source
CN204808830U (en) * 2015-06-26 2015-11-25 昆山龙腾光电有限公司 Luminance detection device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6892029B2 (en) * 2002-06-06 2005-05-10 Olympus Optical Co., Ltd. Strobe light emitting apparatus and camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101541120A (en) * 2008-03-19 2009-09-23 牧德科技股份有限公司 Intelligent light-emitting diode illuminating system
CN102411909A (en) * 2011-12-20 2012-04-11 彩虹集团公司 Flatting method of backlight partition of direct type white light LED (Light-emitting Diode) backlight source
CN204808830U (en) * 2015-06-26 2015-11-25 昆山龙腾光电有限公司 Luminance detection device

Also Published As

Publication number Publication date
CN107085344A (en) 2017-08-22

Similar Documents

Publication Publication Date Title
CN107085344B (en) Intelligent device and method for automatically setting backlight in imaging system
EP3531114B1 (en) Visual inspection device and illumination condition setting method of visual inspection device
CN106847180B (en) The luminance compensation system and luminance compensation method of OLED display
CN104729833B (en) Flexible screen body crooked test method and system
CN106531049B (en) A kind of brightness adjusting method and system of display panel
CN102213864B (en) Image display device
US8492739B2 (en) Probe inspection apparatus for testing flat panel display
US8872924B1 (en) Imaging based auto display grid configuration system and method
CN109215581A (en) A kind of compensation method of display panel, compensation device and display device
US9349328B2 (en) Backlight apparatus, method for controlling the same, and image display apparatus
US9402290B2 (en) Automatic color adjustment on LED video screen
US20170039956A1 (en) Liquid crystal display device and control method thereof
CN108873399A (en) A kind of detection method and system of LCD display module backlight luminescence uniformity
TW201807690A (en) Display apparatus and dynamic voltage controller
TWI574581B (en) Dot correction method and system for led display device
CN104062099A (en) Testing device and method for LED light strips with side luminance
CN101339140A (en) Object flaw detection device and method, detection condition adjustment method
CN104217698A (en) Display board detection device, system and method
CN107290916A (en) Laser light adjusting system
KR100902709B1 (en) Apparatus for detecting defect on the edge of glass panel in the moving direction
CN113948039B (en) Method and system for eliminating Mura of spliced display screen
CN208505917U (en) A kind of cloth defect detecting system based on machine vision
US7589783B2 (en) Camera and illumination matching for inspection system
CN109307587A (en) Display panel testing method, apparatus and system
CN102915706B (en) Be provided with elevator liquid crystal display systems and the control method thereof of backlight control apparatus

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
TR01 Transfer of patent right

Effective date of registration: 20210806

Address after: 210046 Building 2, No. 1, Kechuang Road, Qixia District, Nanjing City, Jiangsu Province

Patentee after: JIANGSU AUSTIN PHOTOELECTRIC TECHNOLOGY Co.,Ltd.

Address before: 219 ningliu Road, Nanjing, Jiangsu 210000

Patentee before: NANJING University OF INFORMATION SCIENCE & TECHNOLOGY

TR01 Transfer of patent right