[go: up one dir, main page]

CN104655403B - Luminance uniformity test method of dot-matrix light source - Google Patents

Luminance uniformity test method of dot-matrix light source Download PDF

Info

Publication number
CN104655403B
CN104655403B CN201410044024.7A CN201410044024A CN104655403B CN 104655403 B CN104655403 B CN 104655403B CN 201410044024 A CN201410044024 A CN 201410044024A CN 104655403 B CN104655403 B CN 104655403B
Authority
CN
China
Prior art keywords
image
uniformity
value
array point
array
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.)
Expired - Fee Related
Application number
CN201410044024.7A
Other languages
Chinese (zh)
Other versions
CN104655403A (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.)
Guangxi University of Science and Technology
Original Assignee
Guangxi University of 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 Guangxi University of Science and Technology filed Critical Guangxi University of Science and Technology
Priority to CN201410044024.7A priority Critical patent/CN104655403B/en
Publication of CN104655403A publication Critical patent/CN104655403A/en
Application granted granted Critical
Publication of CN104655403B publication Critical patent/CN104655403B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The invention discloses a luminance uniformity test method of a dot-matrix light source, and relates to the technical fields of display, illumination and image processing. According to the luminance uniformity test method, the luminance uniformity is divided into brightness uniformity and distribution uniformity; the luminance uniformity of the dot-matrix light source is evaluated through the brightness uniformity, the distribution uniformity and the sum of the brightness uniformity and the distribution uniformity; in the testing process, image geometric distortion is corrected; the dot-matrix structure is analyzed, and the non-light-emitting area is excluded from the evaluation range. Compared with the existing test method, the luminance uniformity test method is more comprehensive, objective, accurate, effective, direct, simple and convenient.

Description

一种点阵光源发光均匀性测试方法A method for testing the luminous uniformity of a dot matrix light source

技术领域technical field

本发明涉及显示、照明光源及计算机图像处理领域,尤其是涉及点阵光源的测试方法。The invention relates to the fields of display, illumination light source and computer image processing, in particular to a test method for a dot matrix light source.

背景技术Background technique

点阵光源是指按行和列有序排列的多个主动发光点的集合,光源的器件类型包括LCD、LED、FED和PDP等。随着信息技术的快速发展,点阵光源已经被广泛应用于各类多媒体设备的终端。它可以用作照明光源和背光源,也可以用于显示字符、图形以及视频等各类信息的屏幕。点阵光源的亮度均匀性是影响其照明或显示性能的重要因素,因此非常有必要对光源的亮度均匀性提出有效的测试方法,为相关器件的生产和研发提供指导。A dot matrix light source refers to a collection of multiple active light-emitting points arranged in an orderly manner in rows and columns. The device types of the light source include LCD, LED, FED, and PDP. With the rapid development of information technology, point-matrix light sources have been widely used in terminals of various multimedia devices. It can be used as a lighting source and backlight, and can also be used for screens that display various information such as characters, graphics, and videos. The brightness uniformity of a dot matrix light source is an important factor affecting its lighting or display performance, so it is very necessary to propose an effective test method for the brightness uniformity of a light source to provide guidance for the production and development of related devices.

目前采用测试方法主要采用亮度仪对点阵光源随机抽取若干采样点测试其亮度值,然后通过一定的算法获得最终评估结果,这种方法具有片面性,而且每次测量只能获得一个采样点的数据,获得测试结果需要多次调节测试仪器,耗时较多。有报导通过传感器来获取点阵像素的亮度信息,结合图像处理技术和统计学原理,将像素的灰度直方图拟合为正态分布曲线,利用标准差来评价亮度均匀性。还有报导提出将传感器获得的亮度图像划分为若干子区域,计算各子区域的基于HVS(人眼视觉特性)的亮度特征因子、空间位置因子和纹理细节因子,用这些因子的特征作为子区域的评价参数,然后用各子区域参数的离散程度值来评价光源的亮度均匀性。但以上方法都是对获取的图像直接进行测试,没有对拍摄造成的图像几何畸变进行校正;也没有区分发光点和非发光区域,把那些不应参与评价的非发光区域也纳入评价范围;并且,要么是只测试亮度均匀性,要么只测试分布均匀性,具有片面性,没有全面地评价发光均匀性;以上不足导致对点阵光源发光均匀性的评价不够全面、准确。At present, the test method mainly uses a luminance meter to randomly select a number of sampling points to test the luminance value of the dot matrix light source, and then obtains the final evaluation result through a certain algorithm. This method is one-sided, and each measurement can only obtain the data of one sampling point. , Obtaining test results requires multiple adjustments to the test instrument, which takes a lot of time. It is reported that the luminance information of dot matrix pixels is obtained by the sensor, combined with image processing technology and statistical principles, the gray histogram of the pixel is fitted to a normal distribution curve, and the standard deviation is used to evaluate the luminance uniformity. It is also reported that the brightness image obtained by the sensor is divided into several sub-regions, and the brightness feature factors, spatial position factors and texture detail factors based on HVS (human visual characteristics) of each sub-region are calculated, and the characteristics of these factors are used as sub-regions. The evaluation parameters of each sub-area are used to evaluate the brightness uniformity of the light source by the value of the discrete degree of each sub-region parameter. However, the above methods are all directly testing the acquired images, without correcting the geometric distortion of the image caused by shooting; nor distinguishing between luminous points and non-luminous areas, and including those non-luminous areas that should not participate in the evaluation are also included in the evaluation scope; and , or only test the uniformity of brightness, or only test the uniformity of distribution, which is one-sided and does not comprehensively evaluate the uniformity of light emission; the above deficiencies lead to an incomplete and accurate evaluation of the uniformity of light emission of dot matrix light sources.

发明内容Contents of the invention

本发明的目的是提供一种全面、准确地测试点阵光源发光均匀性的方法。The purpose of the present invention is to provide a comprehensive and accurate method for testing the luminous uniformity of a dot matrix light source.

为实现上述目的,本发明把发光均匀性分为亮度均匀性和分布均匀性,分别用亮度均匀性、分布均匀性从不同角度来评价点阵光源的发光均匀性,用亮度均匀性和分布均匀性之和来综合评价点阵光源的发光均匀性,并且在测试过程中对图像几何畸变进行校正,把非发光区域排除出评价范围,具体采用如下方案:In order to achieve the above object, the present invention divides the luminous uniformity into luminance uniformity and distribution uniformity, and evaluates the luminous uniformity of the dot matrix light source from different angles with brightness uniformity and distribution uniformity respectively, and uses brightness uniformity and distribution uniformity To comprehensively evaluate the luminous uniformity of the dot matrix light source, and to correct the geometric distortion of the image during the test, and to exclude the non-luminous area from the evaluation range, the following scheme is specifically adopted:

用拍照、拍摄视频再截取视频图像或是读取已保存图像的方式获取点阵光源发光图像;在获得的图像中选取待测试区域,待测试区域可以是任意一种形状,为操作方便,可以是矩形;生成测试图像;读取所述测试图像中每一个像素点的灰度值;设定灰度阈值,将亮斑和背景分割开;设置点阵分布结构、阵列点形状类别及其特征参数,在测试图像I获得阵列点图像;统计单个阵列点图像所包含的像素数量作为阵列点面积Sp,统计每个阵列点图像所包含亮斑像素的数量作为阵列点亮斑总面积Se,若某阵列点的Se与Sp的比值大于设定值(例如0.3),则判定该阵列点为有效光斑,否则视为无效光斑;计算所述有效光斑的亮度均匀性和分布均匀性,亮度均匀性的计算公式为:Obtain the luminescent image of the dot matrix light source by taking pictures, shooting videos and then intercepting video images or reading saved images; select the area to be tested in the obtained image, and the area to be tested can be in any shape. For the convenience of operation, you can It is a rectangle; generate a test image; read the gray value of each pixel in the test image; set the gray threshold to separate the bright spot from the background; set the dot matrix distribution structure, array point shape category and its characteristics Parameters, the array point image is obtained in the test image I; the number of pixels included in a single array point image is counted as the array point area Sp, and the number of bright spot pixels contained in each array point image is counted as the array point bright spot total area Se, if If the ratio of Se to Sp of an array point is greater than the set value (for example, 0.3), it is determined that the array point is an effective spot, otherwise it is regarded as an invalid spot; the brightness uniformity and distribution uniformity of the effective spot are calculated, and the brightness uniformity The calculation formula is:

其中,γ1, γ2, ……, γn是每个所述有效光斑的灰度平均值,γ0是所有所述有效光斑的灰度平均值,sγ是灰度标准偏差,γ是小于1且大于0的数值,用于衡量亮度均匀性,γ越接近1,说明光斑的亮度越均匀,γ越接近0,说明光斑的亮度均匀性越差;Among them, γ 1 , γ 2 , ..., γ n is the average gray level of each effective spot, γ 0 is the average gray level of all the effective spots, s γ is the gray standard deviation, γ is A value less than 1 and greater than 0 is used to measure the brightness uniformity. The closer γ is to 1, the more uniform the brightness of the spot is, and the closer γ is to 0, the worse the brightness uniformity of the spot;

分布均匀性的计算公式为:The formula for calculating the uniformity of distribution is:

其中,β1, β2, ……, βn是将照片均匀地分为n个区域后,每个区域的光斑数,β0是各个区域光斑数的平均值,sβ是光斑数标准偏差,β是一个小于1且大于0的数值,用于衡量亮度均匀性的数值,β越接近1,说明光斑的分布越均匀;β越接近0,说明光斑的分布均匀性越差;Among them, β 1 , β 2 , ..., β n is the number of light spots in each area after the photo is evenly divided into n areas, β 0 is the average number of light spots in each area, s β is the standard deviation of the number of light spots , β is a value less than 1 and greater than 0, which is used to measure the uniformity of brightness. The closer β is to 1, the more uniform the distribution of light spots; the closer β is to 0, the worse the uniformity of light spots;

计算β与γ之和越大,β与γ之和越大,说明光源的均匀性越好;Calculate the greater the sum of β and γ, and the greater the sum of β and γ, the better the uniformity of the light source;

将图像和计算结果保存,或输出至显示器,也可以输出至其他计算机作进一步处理。Save images and calculation results, or output to a display, and can also be exported to other computers for further processing.

本发明进一步的方案是,在获得的图像中选取待测试区域后,对所述待测试区域的图像进行几何畸形校正,再生成测试图像。A further solution of the present invention is that, after selecting the area to be tested in the obtained image, the geometric distortion correction is performed on the image of the area to be tested, and the test image is regenerated.

在判定有效光斑后,还将有效光斑、背景和非测试区域的图像分别用不同颜色,以合成图像直观显示出来,通过人工观察、判断、选择或计算机自动处理,对点阵参数、图像分割和光斑选取结果进一步优化调整,得到更精确的结果。After judging the effective light spot, the images of the effective light spot, background and non-test area will be visually displayed in a composite image with different colors, and through manual observation, judgment, selection or automatic computer processing, dot matrix parameters, image segmentation and The spot selection results are further optimized and adjusted to obtain more accurate results.

本发明另一个进一步的方案是,计算点阵分布结构、阵列点形状类别及其特征参数,获得阵列图像的步骤具体采用如下方法:根据阵列点的实际形状(如圆形、椭圆形、方形、矩形和任意多边形)和特征参数(如边长和半径等)初步设置测试图像中阵列点的形状类别及其特征参数,勾勒出单个阵列点图像,再微调阵列点特征参数,按互相关值r应取得最大值的原则搜索最优的特征参数,最终确定单个阵列点的形状,Another further solution of the present invention is to calculate the lattice distribution structure, the shape category of the array point and its characteristic parameters, and the step of obtaining the array image specifically adopts the following method: according to the actual shape of the array point (such as circle, ellipse, square, Rectangle and arbitrary polygon) and feature parameters (such as side length and radius, etc.) to preliminarily set the shape category and feature parameters of the array points in the test image, outline a single array point image, and then fine-tune the array point feature parameters, according to the cross-correlation value r The principle of obtaining the maximum value should be used to search for the optimal characteristic parameters, and finally determine the shape of a single array point.

所述r的计算公式为:The formula for calculating r is:

其中,P为局部图像所有子像素点的集合,I为测试图像中与P坐标位置对应的所有子像素点的集合,Iijk为I中图像坐标为(i, j, k)的子像素点的灰度值,Ia为Iijk的平均值,Pijk为P中图像坐标为(i, j, k)的子像素点的灰度值,Pa为Pijk的平均值;Among them, P is the set of all sub-pixel points of the local image, I is the set of all sub-pixel points corresponding to the coordinate position of P in the test image, and I ijk is the sub-pixel point with image coordinates (i, j, k) in I The gray value of , I a is the average value of I ijk , P ijk is the gray value of the sub-pixel whose image coordinates are (i, j, k) in P, and P a is the average value of P ijk ;

在测试图像中选定一个阵列点作为起始阵列点,以起始阵列点中心坐标为原点,根据各阵列点的相对位置和距离计算出点阵参数,得出每一个阵列点的坐标;以各个阵列点坐标为中心位置按单个阵列点的形状进行膨胀运算,获得阵列图像。Select an array point in the test image as the initial array point, take the center coordinates of the initial array point as the origin, calculate the lattice parameters according to the relative position and distance of each array point, and obtain the coordinates of each array point; The coordinates of each array point are used as the center position to perform expansion operations according to the shape of a single array point to obtain an array image.

本发明另一个进一步的方案是,利用灰度波动容许值来判断灰度变化是否由噪音引起,具体方案是,设定图像灰度波动容许值Tc;若某像素与邻近8个像素的灰度差小于Tc,则判定灰度变化是由噪音引起,以邻近8个像素中的灰度最大值为该像素的灰度值;若有两个所述亮斑的边界之间存在至少一条灰度变化小于Tc的八连通路径,则将两个亮斑合并为一个亮斑,连通路径上的所有像素也隶属于该亮斑。Another further solution of the present invention is to use the allowable value of gray scale fluctuation to judge whether the change in gray scale is caused by noise. The specific solution is to set the allowable value Tc of image gray scale fluctuation; If the difference is less than Tc, it is determined that the grayscale change is caused by noise, and the grayscale value of the pixel is the maximum grayscale value of the adjacent 8 pixels; if there is at least one grayscale line between the boundaries of the two bright spots If the eight-connected path whose change is less than Tc, the two bright spots are merged into one bright spot, and all the pixels on the connected path also belong to the bright spot.

由于采用上述方案,本发明与现有技术相比可以带来如下技术效果:采用对测试图像进行几何畸形校正,可以减少图像失真;采用把光斑和背景分割开,可以去除那些不应参与评价的非发光区域;采用人工设定和计算机自动计算结合的方式获得理想的灰度阈值,利用灰度阈值精确地将亮斑与背景分割开;采用计算点阵图像来排除无效光斑;采用将有效光斑、背景和非统计区域的图像分别用不同颜色以合成图像显示,给人直观感受,利用灰度波动容许值来消除噪音影响;人工干预对点阵设置、图像分割和光斑选取结果进一步优化调整;上述技术手段可以使测试结果更客观、准确;采用分别计算亮度均匀性、分布均匀性及二者之和来评价发光均匀性,则更为全面。采用亮度均匀性、分布均匀性及二者之和来评价发光均匀性,更全面,因此本发明相对于现有的测试方法更全面、客观和准确,并且有效、直观、简便。Due to the adoption of the above scheme, compared with the prior art, the present invention can bring the following technical effects: the geometric distortion correction of the test image can be used to reduce image distortion; Non-luminous area; the combination of manual setting and computer automatic calculation is used to obtain the ideal gray threshold, and the gray threshold is used to accurately separate the bright spot from the background; the calculation of the dot matrix image is used to exclude invalid spots; the effective spot is used to The images of , background and non-statistical areas are displayed in different colors as composite images, which gives people an intuitive feeling, and the allowable value of gray scale fluctuation is used to eliminate the influence of noise; manual intervention further optimizes and adjusts the results of dot matrix settings, image segmentation and spot selection; The above-mentioned technical means can make the test results more objective and accurate; it is more comprehensive to evaluate the luminous uniformity by separately calculating the brightness uniformity, distribution uniformity and the sum of the two. It is more comprehensive to evaluate the luminous uniformity by using brightness uniformity, distribution uniformity and the sum of the two, so the present invention is more comprehensive, objective and accurate compared with the existing test method, and is effective, intuitive and simple.

附图说明Description of drawings

图1为本发明的流程图;Fig. 1 is a flowchart of the present invention;

图2为实施例拍摄的点阵发光图像;Fig. 2 is the dot matrix luminous image that embodiment takes;

图3为经过选择区域和畸形校正后得到的测试图像;Figure 3 is the test image obtained after region selection and deformity correction;

图4为单个阵列点形状示意图Figure 4 is a schematic diagram of the shape of a single array point

图5为阵列图像示意图。Fig. 5 is a schematic diagram of an array image.

具体实施方式detailed description

下面结合附图实例对本发明做详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings.

如图1 所示,本实施例的具体步骤是:As shown in Figure 1, the specific steps of this embodiment are:

用拍摄头2拍摄点阵光源1发光过程,通过计算机3的USB接口将视频传送至计算机3,再从视频中截取点阵光源1的发光图像,在所述发光图像中选取一个矩形待测试区域,如图2所示;对所述矩形待测试区域的图像进行几何畸形校正,生成测试图像,如图3 所示;读取所述测试图像中每一个像素点的灰度值;设定图像灰度波动容许值Tc,若某像素与邻近8个像素的灰度差小于Tc,则判定灰度变化是由噪音引起,以邻近8个像素中的灰度最大值为该像素的灰度值;人工设定图像灰度阈值Tr,对灰度值小于Tr的像素,判定其不属于亮斑,用ostu图像分割阈值算法进一步计算测试图像的全局灰度阈值和局部阈值,将亮斑5和背景分割开;若有两个亮斑的边界之间存在至少一条灰度变化小于Tc的八连通路径,则将两个亮斑合并为一个亮斑,连通路径上的所有像素也隶属于该亮斑;根据阵列点的实际形状和特征,设置测试图像中阵列点的形状为椭圆形,初步设置其特征参数包括半长轴和半短轴的数值,勾勒出单个阵列点图像4,再微调阵列点特征参数,按互相关值r应取得最大值的原则搜索最优的特征参数半长轴或半短轴数值,最终确定单个阵列点的形状,Use the camera head 2 to shoot the light-emitting process of the dot matrix light source 1, transmit the video to the computer 3 through the USB interface of the computer 3, and then intercept the light-emitting image of the dot-matrix light source 1 from the video, and select a rectangular area to be tested in the light-emitting image , as shown in Figure 2; the image of the rectangular area to be tested is corrected for geometric distortion, and a test image is generated, as shown in Figure 3; the gray value of each pixel in the test image is read; the image is set The allowable value of grayscale fluctuation Tc, if the grayscale difference between a certain pixel and the adjacent 8 pixels is less than Tc, it is determined that the grayscale change is caused by noise, and the grayscale value of the pixel is the grayscale value of the adjacent 8 pixels ; artificially set the image grayscale threshold Tr, determine that it does not belong to bright spots for pixels whose grayscale value is less than Tr, and further calculate the global grayscale threshold and local threshold of the test image with the ostu image segmentation threshold algorithm, and bright spot 5 and The background is separated; if there is at least one eight-connected path between the boundaries of two bright spots whose gray level change is smaller than Tc, then the two bright spots are merged into one bright spot, and all pixels on the connected path also belong to the bright spot. spots; according to the actual shape and characteristics of the array points, set the shape of the array points in the test image to be an ellipse, initially set its characteristic parameters including the values of the semi-major axis and semi-minor axis, outline a single array point image 4, and then fine-tune the array Point feature parameters, according to the principle that the cross-correlation value r should obtain the maximum value, search for the optimal feature parameter semi-major axis or semi-minor axis value, and finally determine the shape of a single array point,

所述r的计算公式为:The formula for calculating r is:

其中,P为局部图像所有子像素点的集合,I为测试图像中与P坐标位置对应的所有子像素点的集合,Iijk为I中图像坐标为(i, j, k)的子像素点的灰度值,Ia为Iijk的平均值,Pijk为P中图像坐标为(i, j, k)的子像素点的灰度值,Pa为Pijk的平均值;Among them, P is the set of all sub-pixel points of the local image, I is the set of all sub-pixel points corresponding to the coordinate position of P in the test image, and I ijk is the sub-pixel point with image coordinates (i, j, k) in I The gray value of , I a is the average value of I ijk , P ijk is the gray value of the sub-pixel whose image coordinates are (i, j, k) in P, and P a is the average value of P ijk ;

在测试图像中选定一个阵列点P00作为位于第0行第0列的起始阵列点,设其坐标为(x0, y0),根据各阵列点的相对位置和距离计算出点阵参数Lx1, Lx2, Ly1和Ly2,如图5所示,则任意阵列点Pmn的坐标为(x0+m*Lx1+n*Lx2, y0+m*Ly1+n*Ly2),其中m和n为特定整数,表示阵列点位于第m行第n列(如图5所示);以各个阵列点坐标为中心位置按单个阵列点的形状进行膨胀运算,获得阵列图像;将测试图像以合成图像显示,其中,有效光斑、背景和非统计区域的图像分别用红、蓝、绿三种颜色显示,由人工观察、判断、选择或计算机自动处理,对点阵选择、图像分割和光斑选取结果进一步优化调整;计算单个阵列点图像所包含的像素数量为阵列点面积Sp,统计每个阵列点图像所包含亮斑像素的数量作为阵列点亮斑总面积Se,若某阵列点的Se与Sp的比值大于0.3,则判定该阵列点为有效光斑;把测试图像均匀地分为9个区域,计算有效光斑的灰度均匀性和分布均匀性,以灰度均匀性、分布均匀性以及灰度均匀性、分布均匀性之和来评价发光均匀性,所述亮度均匀性的计算公式为:Select an array point P 00 in the test image as the initial array point located in row 0 and column 0, set its coordinates as (x0, y0), and calculate the lattice parameter Lx1 according to the relative position and distance of each array point , Lx2, Ly1 and Ly2, as shown in Figure 5, the coordinates of any array point P mn are (x0+m*Lx1+n*Lx2, y0+m*Ly1+n*Ly2), where m and n are specific Integer, indicating that the array point is located in the mth row and the nth column (as shown in Figure 5); the expansion operation is performed on the center position of each array point according to the shape of a single array point to obtain an array image; the test image is displayed as a composite image, Among them, the images of effective light spot, background and non-statistical area are displayed in three colors of red, blue and green respectively, and are manually observed, judged, selected or automatically processed by computer, and the results of dot matrix selection, image segmentation and light spot selection are further optimized and adjusted ; Calculate the number of pixels included in a single array point image as the array point area Sp, count the number of bright spot pixels contained in each array point image as the total area Se of the array point bright spots, if the ratio of Se and Sp of a certain array point is greater than 0.3, it is determined that the array point is an effective spot; the test image is evenly divided into 9 regions, and the gray uniformity and distribution uniformity of the effective spot are calculated, and the gray uniformity, distribution uniformity, and gray uniformity, The sum of the distribution uniformity is used to evaluate the luminous uniformity, and the calculation formula of the brightness uniformity is:

其中,γ1, γ2, ……, γn是每个所述有效光斑的灰度平均值,γ0是所有所述有效光斑的灰度平均值,sγ是灰度标准偏差,γ是衡量亮度均匀性的数值;Among them, γ 1 , γ 2 , ..., γ n is the average gray level of each effective spot, γ 0 is the average gray level of all the effective spots, s γ is the gray standard deviation, γ is A measure of brightness uniformity;

所述分布均匀性的计算公式为:The calculation formula of the distribution uniformity is:

其中,β1, β2, ……, βn是将照片均匀地分为9个区域后,每个区域的光斑数,β0是各个区域光斑数的平均值,sβ是光斑数标准偏差;将测试过程中得到的图像、数据由人工或自动定时保存在存储介质上,或输出至显示器显示出来,也可以输出至其他设备作进一步处理。Among them, β 1 , β 2 , ..., β n is the number of light spots in each area after the photo is evenly divided into 9 areas, β 0 is the average number of light spots in each area, s β is the standard deviation of the number of light spots ; The images and data obtained during the test are manually or automatically saved on the storage medium, or output to the display for display, and can also be output to other devices for further processing.

Claims (9)

1.一种点阵光源发光均匀性测试方法,其特征在于包括以下步骤:1. a dot matrix light source luminous uniformity testing method, is characterized in that comprising the following steps: (a)获取点阵光源发光过程的图像;(a) Obtain the image of the light emitting process of the dot matrix light source; (b)在所述图像中选取待测试区域;(b) selecting a region to be tested in said image; (c)生成测试图像;(c) generate test images; (d)读取所述测试图像中每一个像素点的灰度值;(d) reading the gray value of each pixel in the test image; (e)设定灰度阈值,将亮斑和背景分割开;(e) Set the grayscale threshold to separate the bright spot from the background; (f)计算点阵分布结构、阵列点形状类别及其特征参数,获得阵列图像;(f) Calculate the lattice distribution structure, the shape category of the array point and its characteristic parameters, and obtain the array image; (g)计算单个阵列点图像所包含的像素数量作为阵列点面积,计算每个阵列点图像所包含亮斑像素的数量作为阵列点的亮斑总面积,若某阵列点的亮斑总面积与阵列点面积的比值大于设定值,则判定该阵列点为有效光斑;(g) Calculate the number of pixels contained in a single array point image as the area of the array point, and calculate the number of bright spot pixels contained in each array point image as the total area of the bright spot of the array point. If the total area of the bright spot of an array point is equal to If the ratio of the area of the array point is greater than the set value, the array point is determined to be an effective spot; (h)计算所述有效光斑的灰度均匀性和分布均匀性,以灰度均匀性、分布均匀性以及灰度均匀性、分布均匀性之和来评价发光均匀性,所述灰度均匀性的计算公式为:(h) Calculate the gray level uniformity and distribution uniformity of the effective light spot, evaluate the luminous uniformity by the sum of gray level uniformity, distribution uniformity and gray level uniformity, and distribution uniformity, and the gray level uniformity The calculation formula is: 其中,γ1, γ2, ……, γn是第一个、第二个、……、第n个所述有效光斑的灰度平均值,γ0是所有所述有效光斑的灰度平均值,sγ是灰度标准偏差,γ是衡量灰度均匀性的数值;Among them, γ 1 , γ 2 , ..., γ n are the average gray levels of the first, second, ..., nth effective light spots, and γ 0 is the average gray level of all the effective light spots value, s γ is the standard deviation of the gray level, and γ is the value to measure the uniformity of the gray level; 所述分布均匀性的计算公式为:The calculation formula of the distribution uniformity is: 其中,β1, β2, ……, βn是将测试图像均匀地分为n个区域后,第一个、第二个、……、第n个区域的光斑数,β0是各个区域光斑数的平均值,sβ是光斑数标准偏差,β是衡量分布均匀性的数值;Among them, β 1 , β 2 , ..., β n are the number of light spots in the first, second, ..., nth area after the test image is evenly divided into n areas, and β 0 is each area The average value of the number of spots, s β is the standard deviation of the number of spots, and β is the value to measure the uniformity of the distribution; 计算β与γ之和,β与γ之和越大,说明光源的均匀性越好;Calculate the sum of β and γ, the larger the sum of β and γ, the better the uniformity of the light source; (i)保存或输出计算结果。(i) Save or output calculation results. 2.根据权利要求1所述的测试方法,其特征在于步骤f具体包括:2. testing method according to claim 1, is characterized in that step f specifically comprises: 根据阵列点的实际形状和特征参数初步设置测试图像中阵列点的形状类别及其特征参数,勾勒出单个阵列点的局部图像,再微调阵列点特征参数,按互相关值应取得最大值的原则搜索最优的特征参数,最终确定单个阵列点的形状,According to the actual shape and characteristic parameters of the array points, the shape category and characteristic parameters of the array points in the test image are preliminarily set, and the partial image of a single array point is outlined, and then the characteristic parameters of the array points are fine-tuned, according to the principle that the cross-correlation value should obtain the maximum value Search for the optimal feature parameters, and finally determine the shape of a single array point, 所述互相关值的计算公式为:The formula for calculating the cross-correlation value is: 其中,r为互相关值,P为局部图像所有子像素点的集合,I为测试图像中与P坐标位置对应的所有子像素点的集合,Iijk为I中图像坐标为(i, j, k)的子像素点的灰度值,Ia为Iijk的平均值,Pijk为P中图像坐标为(i, j, k)的子像素点的灰度值,Pa为Pijk的平均值;Among them, r is the cross-correlation value, P is the set of all sub-pixel points of the local image, I is the set of all sub-pixel points corresponding to the coordinate position of P in the test image, I ijk is the image coordinate in I is (i, j, k) the gray value of the sub-pixel, I a is the average value of I ijk , P ijk is the gray value of the sub-pixel whose image coordinates are (i, j, k) in P, P a is the value of P ijk average value; 在测试图像中选定一个阵列点作为起始阵列点,以起始阵列点中心坐标为原点,根据各阵列点的相对位置和距离计算出点阵参数,得出每一个阵列点的坐标;Select an array point in the test image as the initial array point, take the center coordinates of the initial array point as the origin, calculate the lattice parameters according to the relative position and distance of each array point, and obtain the coordinates of each array point; 以各个阵列点坐标为中心位置按单个阵列点的形状进行膨胀运算,获得阵列图像。Taking the coordinates of each array point as the center position, the expansion operation is performed according to the shape of a single array point to obtain an array image. 3.根据权利要求1或2所述的测试方法,其特征在于步骤e具体包括:3. according to claim 1 or 2 described test methods, it is characterized in that step e specifically comprises: 设定图像灰度波动容许值;Set the allowable value of image gray scale fluctuation; 若某像素与邻近8个像素的灰度差小于波动容许值,该像素的灰度值由邻近8个像素中的灰度最大值决定;If the grayscale difference between a certain pixel and 8 adjacent pixels is less than the fluctuation allowable value, the grayscale value of this pixel is determined by the maximum grayscale value among the 8 adjacent pixels; 若有两个所述亮斑的边界之间存在至少一条灰度变化小于波动容许值的八连通路径,则将两个亮斑合并为一个亮斑,连通路径上的所有像素也隶属于该亮斑。If there is at least one eight-connected path between the boundaries of the two bright spots whose grayscale change is less than the fluctuation allowable value, then merge the two bright spots into one bright spot, and all the pixels on the connected path also belong to the bright spot. spot. 4.根据权利要求1或2所述的测试方法,其特征在于步骤b和c 之间还设有如下步骤:4. according to the described testing method of claim 1 or 2, it is characterized in that also be provided with following steps between step b and c: 对所述待测试区域的图像进行几何畸形校正。Perform geometric distortion correction on the image of the region to be tested. 5.根据权利要求3所述的测试方法,其特征在于步骤b和c 之间还设有如下步骤:5. method of testing according to claim 3, is characterized in that being also provided with following steps between step b and c: 对所述待测试区域的图像进行几何畸形校正。Perform geometric distortion correction on the image of the region to be tested. 6.根据权利要求1或2所述的测试方法,其特征在于步骤g和h之间还设有如下步骤:6. according to the described testing method of claim 1 or 2, it is characterized in that also be provided with following steps between step g and h: 将有效光斑、背景和非统计区域的图像分别用不同颜色以合成图像显示,对点阵选择、图像分割和光斑选取结果进一步优化调整。The images of effective light spots, background and non-statistical areas are displayed in different colors as composite images, and the results of dot matrix selection, image segmentation and light spot selection are further optimized and adjusted. 7.根据权利要求3所述的测试方法,其特征在于步骤g和h之间还设有如下步骤:7. testing method according to claim 3, is characterized in that being also provided with following steps between step g and h: 将有效光斑、背景和非统计区域的图像分别用不同颜色以合成图像显示,对点阵选择、图像分割和光斑选取结果进一步优化调整。The images of effective light spots, background and non-statistical areas are displayed in different colors as composite images, and the results of dot matrix selection, image segmentation and light spot selection are further optimized and adjusted. 8.根据权利要求4所述的测试方法,其特征在于步骤g和h之间还设有如下步骤:8. method of testing according to claim 4, is characterized in that being also provided with following steps between step g and h: 将有效光斑、背景和非统计区域的图像分别用不同颜色以合成图像显示,对点阵选择、图像分割和光斑选取结果进一步优化调整。The images of effective light spots, background and non-statistical areas are displayed in different colors as composite images, and the results of dot matrix selection, image segmentation and light spot selection are further optimized and adjusted. 9.根据权利要求5所述的测试方法,其特征在于步骤g和h之间还设有如下步骤:9. method of testing according to claim 5, is characterized in that being also provided with following steps between step g and h: 将有效光斑、背景和非统计区域的图像分别用不同颜色以合成图像显示,对点阵选择、图像分割和光斑选取结果进一步优化调整。The images of effective light spots, background and non-statistical areas are displayed in different colors as composite images, and the results of dot matrix selection, image segmentation and light spot selection are further optimized and adjusted.
CN201410044024.7A 2014-01-29 2014-01-29 Luminance uniformity test method of dot-matrix light source Expired - Fee Related CN104655403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410044024.7A CN104655403B (en) 2014-01-29 2014-01-29 Luminance uniformity test method of dot-matrix light source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410044024.7A CN104655403B (en) 2014-01-29 2014-01-29 Luminance uniformity test method of dot-matrix light source

Publications (2)

Publication Number Publication Date
CN104655403A CN104655403A (en) 2015-05-27
CN104655403B true CN104655403B (en) 2017-04-19

Family

ID=53246793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410044024.7A Expired - Fee Related CN104655403B (en) 2014-01-29 2014-01-29 Luminance uniformity test method of dot-matrix light source

Country Status (1)

Country Link
CN (1) CN104655403B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049734B (en) * 2015-08-31 2018-08-24 广州市幸福网络技术有限公司 It can carry out the license camera and shooting environmental detection method of shooting environmental shooting prompt
CN105243970B (en) * 2015-11-19 2018-10-09 广东威创视讯科技股份有限公司 A kind of LED uniformities appraisal procedure and device
CN105447878A (en) * 2015-12-14 2016-03-30 深圳市高斯贝尔家居智能电子有限公司 Image quality test analysis method and system
CN105898292A (en) * 2016-01-06 2016-08-24 中山大学 3D display subjective luminance uniformity quantitative measurement method and device
CN105510006A (en) * 2016-02-29 2016-04-20 四川聚能核技术工程有限公司 Device and method for measuring evenness of LED area array light source
CN105869147B (en) * 2016-03-23 2018-11-09 浙江东方光学眼镜有限公司 A kind of amblyopia visual aid stray light recognition methods
CN109186941A (en) * 2018-08-09 2019-01-11 信利光电股份有限公司 A kind of detection method and system of light source uniformity
CN109544552A (en) * 2018-12-06 2019-03-29 合刃科技(深圳)有限公司 A kind of grating lossless detection method and system
CN111294521B (en) * 2018-12-06 2023-04-07 北京京东尚科信息技术有限公司 Light supplementing method and device and computer readable storage medium
CN109767425B (en) * 2018-12-13 2021-09-14 合刃科技(武汉)有限公司 Machine vision light source uniformity evaluation device and method
CN111767623B (en) * 2019-03-14 2022-04-29 华东交通大学 Novel method for evaluating full-range illumination uniformity based on human vision
CN109959498A (en) * 2019-03-29 2019-07-02 珠海达明科技有限公司 A kind of array light-emitting component quality detecting system and its application method
CN111609998A (en) * 2020-05-11 2020-09-01 歌尔股份有限公司 Detection method and detection device for illumination uniformity and readable storage medium
CN113820576B (en) * 2020-06-17 2023-11-14 Tcl科技集团股份有限公司 Method and device for testing light-emitting diode device
CN112155511B (en) * 2020-09-30 2023-06-30 广东唯仁医疗科技有限公司 Method for compensating human eye shake in OCT acquisition process based on deep learning
CN112747906B (en) * 2021-01-28 2022-07-22 歌尔光学科技有限公司 Detection method, detection device and readable storage medium of light source
CN113075135B (en) * 2021-03-31 2022-07-15 中国科学院长春光学精密机械与物理研究所 Accurate Position Correction Method of Spot Array of Snapshot Imaging Spectrometer
CN113281310B (en) * 2021-04-06 2022-12-02 安徽工程大学 Method for detecting light transmittance and uniformity of optical medium material
CN116067627B (en) * 2023-02-20 2023-08-29 浙江禾川科技股份有限公司 Point light source light quantity distribution equalization correction system and correction method
CN117928885A (en) * 2024-03-25 2024-04-26 中国测试技术研究院 A method for automatically calibrating the schlieren of a multi-reflection lens to measure the density of the flow field to be measured

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791231A (en) * 2004-12-17 2006-06-21 上海永新彩色显像管股份有限公司 Chromatic display unit white field homogeneity testing method and system
CN102508144A (en) * 2011-10-26 2012-06-20 西安电子科技大学 Method for measuring dark signal non-uniformity and photon response non-uniformity of photons of CCD (charge coupled device) chip
CN103354617A (en) * 2013-07-03 2013-10-16 宁波大学 Boundary strength compressing image quality objective evaluation method based on DCT domain
CN103440634A (en) * 2013-09-11 2013-12-11 中国科学院电子学研究所 Method for adaptively adjusting infrared remote sensing image contrast

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09318448A (en) * 1996-05-27 1997-12-12 Nissan Motor Co Ltd Judgment apparatus for irregular color of metallic finish and evaluation method
JP2001266122A (en) * 2000-03-17 2001-09-28 Dainippon Printing Co Ltd Method and device for inspecting irregular color defect

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791231A (en) * 2004-12-17 2006-06-21 上海永新彩色显像管股份有限公司 Chromatic display unit white field homogeneity testing method and system
CN102508144A (en) * 2011-10-26 2012-06-20 西安电子科技大学 Method for measuring dark signal non-uniformity and photon response non-uniformity of photons of CCD (charge coupled device) chip
CN103354617A (en) * 2013-07-03 2013-10-16 宁波大学 Boundary strength compressing image quality objective evaluation method based on DCT domain
CN103440634A (en) * 2013-09-11 2013-12-11 中国科学院电子学研究所 Method for adaptively adjusting infrared remote sensing image contrast

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
点阵式辐射定标光源的研究;全先荣;《中国优秀硕士学位论文全文数据库信息科技辑》;20130115(第1期);第67-68页 *

Also Published As

Publication number Publication date
CN104655403A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN104655403B (en) Luminance uniformity test method of dot-matrix light source
CN103778887B (en) The brightness correcting method of LED display unit and device
US9135851B2 (en) Methods and systems for measuring and correcting electronic visual displays
CN108492776A (en) A kind of AMOLED screens brightness disproportionation intelligent external optical compensation method
WO2017197961A1 (en) Backlighting adjustment method and system, backlighting module and display device
JP5499779B2 (en) Color unevenness inspection apparatus and color unevenness inspection method
CN113191988B (en) Brightness correction method and device, storage medium and electronic device
JP2020518018A (en) Brightness adjustment system
WO2023273433A1 (en) Method and apparatus for adjusting image acquisition apparatus, and compensation method for display panel
US11030971B2 (en) Display device and image processing method for color correction based on image type
CN107256689A (en) Uniformity restorative procedure after LED display gamma correction
JP2011061773A (en) Exposure attribute setting method, computer-readable storage medium, and image projection setting method
CN104658461B (en) Test method for luminous uniformity of displays
CN106846328B (en) A kind of video image stabilization judgement and the tunnel brightness detection method based on video
JP5984401B2 (en) Image display apparatus, control method therefor, and image display system
US20240347021A1 (en) Image quality adjusting method and assembly, display system and computer readable medium
CN110160750B (en) LED display screen visual detection system, detection method and detection device
CN106405894B (en) A kind of liquid crystal display panel defect automatic positioning method
JP2010537251A (en) Determining the position of the intermediate diffuser for multi-component displays
RU2008141365A (en) METHOD AND DEVICE FOR MEASURING SURFACE QUALITY OF SUBSTRATE
CN115019723A (en) Screen display method, screen display device, electronic apparatus, program, and medium
CN110896466A (en) White balance adjustment method and system of display device
CN116109595A (en) Panel defect detection method, device, computer equipment and storage medium
CN115035847A (en) LED screen coefficient correction method, device and equipment
CN113870779A (en) Method for adjusting uneven OLED display

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170419

Termination date: 20190129