CN112033542B - Brightness and chrominance measuring method, device and equipment and readable storage medium - Google Patents
Brightness and chrominance measuring method, device and equipment and readable storage medium Download PDFInfo
- Publication number
- CN112033542B CN112033542B CN202011230383.3A CN202011230383A CN112033542B CN 112033542 B CN112033542 B CN 112033542B CN 202011230383 A CN202011230383 A CN 202011230383A CN 112033542 B CN112033542 B CN 112033542B
- Authority
- CN
- China
- Prior art keywords
- matrix
- light source
- brightness
- chromaticity
- surface light
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 239000011159 matrix material Substances 0.000 claims abstract description 211
- 238000012360 testing method Methods 0.000 claims abstract description 66
- 238000005259 measurement Methods 0.000 claims abstract description 19
- 238000000691 measurement method Methods 0.000 claims description 12
- 238000010606 normalization Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 12
- 238000010276 construction Methods 0.000 claims description 7
- 241000023320 Luma <angiosperm> Species 0.000 claims description 6
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims 2
- 238000003384 imaging method Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000004753 textile Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 1
- 238000004043 dyeing Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J3/00—Spectrometry; Spectrophotometry; Monochromators; Measuring colours
- G01J3/46—Measurement of colour; Colour measuring devices, e.g. colorimeters
- G01J3/462—Computing operations in or between colour spaces; Colour management systems
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/25—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30121—CRT, LCD or plasma display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30124—Fabrics; Textile; Paper
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Mathematical Physics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
The invention provides a method, a device and equipment for measuring brightness and chrominance and a readable storage medium. The method comprises the following steps: acquiring a brightness and/or chroma calibration matrix by using a camera and a preset area light source, wherein the lens of the camera is a telecentric lens; acquiring an image of a sample to be tested by using the camera, and obtaining a testing brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested; and calibrating the test brightness matrix by using the brightness calibration matrix, and/or calibrating the test chromaticity matrix by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested. By the method and the device, based on the characteristics of the telecentric lens, the measurement error caused by the field angle when the brightness and/or the chromaticity of the sample are measured can be avoided, the brightness and/or the chromaticity matrix obtained based on the image is calibrated, and the precision of the final brightness and/or chromaticity measurement result is further improved.
Description
Technical Field
The present invention relates to the field of color measurement technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for measuring luminance and chrominance.
Background
In the textile, printing and dyeing and display panel industries, the brightness and chromaticity of products are generally measured by a luminance meter or a colorimeter. Luminance or colorimeters are divided into point-type and imaging-type. The point-type luminance or colorimeter needs to measure a product point by point, so that the luminance of each point of the product or the chromaticity of the product under a certain channel is obtained; the imaging brightness or colorimeter can measure the brightness of each point of a product or the chroma of a certain channel at one time. From the viewpoint of measurement efficiency, the imaging luminance or colorimeter is significantly better than the point luminance or colorimeter.
But the imaging type luminance or colorimeter has a large error problem. Referring to fig. 1, fig. 1 is a schematic view of a scene where an imaging luminance or chrominance meter measures a sample to be detected in the prior art. As shown in fig. 1, the luminescent (viewing angle) characteristics of the samples to be tested, such as display screens, printed textiles, are not the same at all angles. As shown in fig. 1 at points a and B, the light emitted from point B is collected at a symmetrical angle into the optical system of the imaging luminance or chrominance meter; the light ray at the point a enters the optical system obliquely at an angle of a field angle, and a part of the light ray is not collected necessarily. Therefore, when actually measured by an imaging luminance or colorimeter, luminance or chromaticity characteristics at different field positions and different field angles are measured. Therefore, the resulting measurement results are not accurate.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for measuring brightness and chromaticity and a readable storage medium, aiming at solving the technical problem that in the prior art, the brightness and/or chromaticity of a sample to be detected is measured by an imaging brightness or chromaticity meter, and the finally obtained measurement result is inaccurate.
In a first aspect, the present invention provides a luminance and chrominance measurement method, including:
acquiring a brightness and/or chroma calibration matrix by using a camera and a preset area light source, wherein the lens of the camera is a telecentric lens;
acquiring an image of a sample to be tested by using the camera, and obtaining a testing brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested;
and calibrating the test brightness matrix by using the brightness calibration matrix, and/or calibrating the test chromaticity matrix by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested.
Optionally, the step of obtaining the luminance and/or chrominance scaling matrix by using the camera and the preset surface light source includes:
acquiring an image of a preset surface light source by using the camera, and obtaining a test brightness matrix and/or a chromaticity matrix of the preset surface light source based on the image of the preset surface light source;
and/or obtaining a chromaticity calibration matrix according to the standard chromaticity matrix of the preset surface light source and the test chromaticity matrix of the preset surface light source.
Optionally, the step of obtaining the brightness calibration matrix according to the standard brightness matrix of the preset area light source and the test brightness matrix of the preset area light source includes:
acquiring a standard brightness matrix of a preset surface light source and a proportion value of corresponding elements of a test brightness matrix of the preset surface light source, and performing normalization processing to obtain a brightness calibration matrix;
the step of obtaining the chromaticity calibration matrix according to the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source comprises the following steps:
and acquiring the proportion values of the corresponding elements of the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source, and carrying out normalization processing to obtain a chromaticity calibration matrix.
Optionally, the standard luminance matrix of the preset area light source is obtained based on the luminance of each point of the preset area light source measured point by a standard single-point luminance meter, and the standard chromaticity matrix of the preset area light source is obtained based on the chromaticity of each point of the preset area light source measured point by a standard single-point colorimeter.
Optionally, the preset area light source is an integrating sphere uniform light source, and the standard brightness matrix of the preset area light source is constructed based on the following steps:
acquiring the brightness value of any point of the integrating sphere uniform light source by using a standard single-point brightness meter, and constructing a standard brightness matrix of the preset surface light source based on the brightness value;
the standard chromaticity matrix of the preset area light source is constructed based on the following steps:
and acquiring the colorimetric value of any point of the integrating sphere uniform light source by using a standard single-point colorimeter, and constructing a standard brightness matrix of the preset surface light source based on the colorimetric value.
In a second aspect, the present invention also provides a luminance and chrominance measuring device, including:
the system comprises a construction module, a brightness and/or chroma calibration module and a color matching module, wherein the construction module is used for acquiring a brightness and/or chroma calibration matrix by utilizing a camera and a preset area light source, and a lens of the camera is a telecentric lens;
the acquisition module is used for acquiring an image of a sample to be tested by using the camera and acquiring a test brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested;
and the calibration module is used for calibrating the test brightness matrix by using the brightness calibration matrix and/or calibrating the test chromaticity matrix by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested.
In a third aspect, the present invention further provides a luminance and chrominance measuring device, comprising a processor, a memory, and a luminance and chrominance measuring program stored on the memory and executable by the processor, wherein the luminance and chrominance measuring program, when executed by the processor, implements the steps of the luminance and chrominance measuring method as described above.
In a fourth aspect, the present invention further provides a readable storage medium, on which a luminance and chrominance measurement program is stored, wherein the luminance and chrominance measurement program, when executed by a processor, implements the steps of the luminance and chrominance measurement method as described above.
In the invention, a camera and a preset area light source are used for obtaining a brightness and/or chroma calibration matrix, and the lens of the camera is a telecentric lens; acquiring an image of a sample to be tested by using the camera, and obtaining a testing brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested; and calibrating the test brightness matrix by using the brightness calibration matrix, and/or calibrating the test chromaticity matrix by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested. By the method and the device, based on the characteristics of the telecentric lens, the measurement error caused by the field angle when the brightness and/or the chromaticity of the sample are measured can be avoided, the brightness and/or the chromaticity matrix obtained based on the image is calibrated, and the precision of the final brightness and/or chromaticity measurement result is further improved.
Drawings
FIG. 1 is a schematic view of a prior art imaging luminance or chrominance meter measuring a sample to be detected;
fig. 2 is a schematic diagram of a hardware structure of a luminance and chrominance measuring apparatus according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a luminance and chrominance measurement method according to an embodiment of the present invention;
FIG. 4 is a schematic view of a scene of photographing a sample to be detected in an embodiment;
fig. 5 is a schematic diagram of functional modules of an embodiment of a luminance and chrominance measuring device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first aspect, an embodiment of the present invention provides a luminance and chrominance measurement apparatus.
Referring to fig. 2, fig. 2 is a schematic diagram of a hardware structure of a luminance and chrominance measurement apparatus according to an embodiment of the present invention. In this embodiment of the present invention, the luminance and chrominance measuring device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WI-FI interface, WI-FI interface); the memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 2 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 2, a memory 1005, which is one type of computer storage medium in fig. 2, may include an operating system, a network communication module, a user interface module, and a luminance chrominance measurement program. The processor 1001 may call a luminance and chrominance measurement program stored in the memory 1005, and execute the luminance and chrominance measurement method provided by the embodiment of the present invention.
In a second aspect, an embodiment of the present invention provides a luminance and chrominance measurement method.
Referring to fig. 3, fig. 3 is a flowchart illustrating a luminance and chrominance measurement method according to an embodiment of the invention. As shown in fig. 3, the luminance chromaticity measurement method includes:
step S10, acquiring a brightness and/or chroma calibration matrix by using a camera and a preset area light source, wherein the lens of the camera is a telecentric lens;
in this embodiment, a camera is used to shoot a preset area light source to obtain an image of the preset area light source, and then luminance values and/or chrominance values of points on the image of the preset area light source are extracted to obtain a test luminance and/or chrominance matrix of the preset area light source. And then, obtaining a brightness calibration matrix according to the standard brightness matrix of the preset surface light source and the test brightness matrix of the preset surface light source, and/or obtaining a chroma calibration matrix according to the standard chroma matrix of the preset surface light source and the test chroma matrix of the preset surface light source.
Step S20, acquiring an image of a sample to be tested by using the camera, and obtaining a test brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested;
in this embodiment, the sample to be tested may be a display screen or a printed textile. Shooting the sample to be detected through a camera to obtain an image of the sample to be detected, wherein a lens of the camera is a telecentric lens. As shown in fig. 4, fig. 4 is a schematic view of a scene of photographing a sample to be detected in an embodiment. The telecentric imaging lens in fig. 4 is a telecentric lens. Based on the characteristics of the telecentric lens, it can be ensured that the light rays emitted from each point on the sample to be detected are collected into the optical system of the camera at a symmetrical angle, for example, the light rays emitted from the point A, B are collected into the optical system of the camera at a symmetrical angle. Wherein the working distance of the camera is determined according to the actual designed working distance of the telecentric lens. Generally, the larger the sample size to be tested, the larger the working distance.
It is easily understood that if the brightness of the sample to be measured is measured, the image of the sample to be measured is an image under any channel (any one of R/G/B channels); if the chromaticity of the sample to be measured is measured, the image of the sample to be measured includes images under each channel, for example, an image under an R channel, an image under a G channel, and an image under a B channel. Wherein, the images under each channel can be obtained by adding a filter on the camera, or the camera is a color camera.
Taking the measured brightness as an example, after obtaining an image of a sample to be measured, determining the brightness of each point in the image, and then sequencing the brightness corresponding to each point according to the relative position of each point to obtain a measured brightness matrix of the sample to be measured.
Taking the measurement of the chromaticity as an example, the obtained images of the sample to be measured include an image under an R channel, an image under a G channel, and an image under a B channel. Determining the chromaticity of each point in the image under the R channel, then sequencing the corresponding chromaticity of each point according to the relative position of each point to obtain a test chromaticity matrix of the sample to be tested under the R channel, and similarly, obtaining a test chromaticity matrix of the sample to be tested under the G channel and a test chromaticity matrix of the sample to be tested under the B channel.
And step S30, calibrating the test brightness matrix by using the brightness calibration matrix, and/or calibrating the test chromaticity matrix by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested.
In this embodiment, in order to further improve the measurement accuracy, the obtained test luminance and/or chromaticity matrix needs to be calibrated, so as to obtain the actual luminance and/or chromaticity matrix of the sample to be measured.
And calibrating the test brightness matrix to obtain an actual brightness matrix, wherein each element in the actual brightness matrix is the finally obtained brightness of each point of the sample to be tested. The test chromaticity matrix comprises matrixes under each channel, and the actual chromaticity matrix of the sample to be tested under each channel is obtained after the matrixes under each channel are calibrated respectively. And synthesizing the elements at the X position in the actual chromaticity matrix under each channel to obtain the chromaticity at the X position of the sample to be detected.
In the embodiment, a camera and a preset area light source are used for obtaining a brightness and/or chroma calibration matrix, and a lens of the camera is a telecentric lens; acquiring an image of a sample to be tested by using the camera, and obtaining a testing brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested; and calibrating the test brightness matrix by using the brightness calibration matrix, and/or calibrating the test chromaticity matrix by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested. By the embodiment, based on the characteristic of the telecentric lens, the measurement error caused by the field angle when the brightness and/or chromaticity of the sample is measured can be avoided, the brightness and/or chromaticity matrix obtained based on the image is calibrated, and the precision of the final brightness and/or chromaticity measurement result is further improved.
Further, in an embodiment, the step of obtaining the luminance and/or chrominance scaling matrix by using the camera and the preset area light source includes:
acquiring an image of a preset surface light source by using the camera, and obtaining a test brightness matrix and/or a chromaticity matrix of the preset surface light source based on the image of the preset surface light source;
and/or obtaining a chromaticity calibration matrix according to the standard chromaticity matrix of the preset surface light source and the test chromaticity matrix of the preset surface light source.
In this embodiment, after the luminance calibration matrix and/or the chrominance calibration matrix are obtained, they may be stored in a specific storage area, and then the samples may be directly obtained from the storage area when being measured.
Further, in an embodiment, the step of obtaining the luminance calibration matrix according to the standard luminance matrix of the preset area light source and the test luminance matrix of the preset area light source includes:
acquiring a standard brightness matrix of a preset surface light source and a proportion value of corresponding elements of a test brightness matrix of the preset surface light source, and performing normalization processing to obtain a brightness calibration matrix;
the step of obtaining the chromaticity calibration matrix according to the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source comprises the following steps:
and acquiring the proportion values of the corresponding elements of the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source, and carrying out normalization processing to obtain a chromaticity calibration matrix.
In this embodiment, an example of obtaining a luminance scale matrix will be described.
For example, the standard luminance matrix of the preset area light source is:
the test brightness matrix of the preset area light source is as follows:
the ratio is then:
and then carrying out normalization treatment on the comparative example values to obtain a brightness calibration matrix.
And obtaining a chromaticity calibration matrix, namely obtaining the proportion values of corresponding elements of the standard chromaticity matrix and the test chromaticity matrix under each channel of the preset area light source, and performing normalization processing to obtain the chromaticity calibration matrix under each channel. The embodiment of obtaining the chrominance scaling matrix in each channel is basically the same as the embodiment of obtaining the luminance scaling matrix, and is not described herein again.
Further, in an embodiment, the standard luminance matrix of the preset area light source is obtained based on the luminance of each point of the preset area light source measured point by a standard single-point luminance meter, and the standard chromaticity matrix of the preset area light source is obtained based on the chromaticity of each point of the preset area light source measured point by a standard single-point colorimeter.
In this embodiment, the standard luminance matrix of the preset area light source may be constructed by measuring the luminance of each point of the preset area light source point by point based on a standard single-point luminance meter. Similarly, the chromaticity of each point of the preset surface light source under each channel is measured point by point based on a standard single-point colorimeter, and a standard chromaticity matrix of the preset surface light source under each channel can be obtained.
Further, in an embodiment, the preset area light source is an integrating sphere uniform light source, and a standard luminance matrix of the preset area light source is constructed based on the following steps:
acquiring the brightness value of any point of the integrating sphere uniform light source by using a standard single-point brightness meter, and constructing a standard brightness matrix of the preset surface light source based on the brightness value;
the standard chromaticity matrix of the preset area light source is constructed based on the following steps:
and acquiring the colorimetric value of any point of the integrating sphere uniform light source by using a standard single-point colorimeter, and constructing a standard brightness matrix of the preset surface light source based on the colorimetric value.
In this embodiment, when the preset area light source is an integrating sphere uniform light source, the brightness and the chromaticity of the preset area light source are considered to be uniform, that is, the brightness and the chromaticity of each point are the same.
Based on the method, when a standard brightness matrix of the preset surface light source is constructed, a standard single-point brightness meter is used for obtaining the brightness value of any point of the uniform light source of the integrating sphere, and the standard brightness matrix of the preset surface light source can be constructed based on the brightness value.
Similarly, when a standard chromaticity matrix of the preset surface light source is constructed, a standard single-point colorimeter is used for obtaining the chromaticity value of the integrating sphere uniform light source at any point under each channel, and the standard chromaticity matrix of the preset surface light source under each channel can be constructed.
The number of rows and the number of columns of the standard brightness matrix are determined according to the single measurement size of the standard brightness meter and the size of a preset area light source. Similarly, the number of rows and the number of columns of the standard chromaticity matrix are determined according to the single measurement size of the standard colorimeter and the size of the preset area light source.
In a third aspect, an embodiment of the present invention further provides a luminance and chrominance measuring apparatus.
Referring to fig. 5, fig. 5 is a functional block diagram of a luminance and chrominance measuring device according to an embodiment of the present invention. As shown in fig. 5, the luminance chromaticity measuring apparatus includes:
the system comprises a construction module 10, a brightness and/or chroma calibration matrix, a color filter module and a color filter module, wherein the construction module is used for acquiring the brightness and/or chroma calibration matrix by utilizing a camera and a preset area light source, and a lens of the camera is a telecentric lens;
an obtaining module 20, configured to obtain an image of a sample to be tested by using the camera, and obtain a test brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested;
and the calibration module 30 is configured to calibrate the test luminance matrix by using the luminance calibration matrix, and/or calibrate the test chromaticity matrix by using the chromaticity calibration matrix, so as to obtain an actual luminance and/or chromaticity matrix of the sample to be tested.
Further, in one embodiment, the building module 10 is configured to:
acquiring an image of a preset surface light source by using the camera, and obtaining a test brightness matrix and/or a chromaticity matrix of the preset surface light source based on the image of the preset surface light source;
and/or obtaining a chromaticity calibration matrix according to the standard chromaticity matrix of the preset surface light source and the test chromaticity matrix of the preset surface light source.
Further, in one embodiment, the building module 10 is configured to:
acquiring a standard brightness matrix of a preset surface light source and a proportion value of corresponding elements of a test brightness matrix of the preset surface light source, and performing normalization processing to obtain a brightness calibration matrix;
and/or the presence of a gas in the gas,
and acquiring the proportion values of the corresponding elements of the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source, and carrying out normalization processing to obtain a chromaticity calibration matrix.
Further, in an embodiment, the standard luminance matrix of the preset area light source is obtained based on the luminance of each point of the preset area light source measured point by a standard single-point luminance meter, and the standard chromaticity matrix of the preset area light source is obtained based on the chromaticity of each point of the preset area light source measured point by a standard single-point colorimeter.
Further, in an embodiment, the preset area light source is an integrating sphere uniform light source, and a standard luminance matrix of the preset area light source is constructed based on the following steps:
acquiring the brightness value of any point of the integrating sphere uniform light source by using a standard single-point brightness meter, and constructing a standard brightness matrix of the preset surface light source based on the brightness value;
the standard chromaticity matrix of the preset area light source is constructed based on the following steps:
and acquiring the colorimetric value of any point of the integrating sphere uniform light source by using a standard single-point colorimeter, and constructing a standard brightness matrix of the preset surface light source based on the colorimetric value.
The function implementation of each module in the luminance and chrominance measuring device corresponds to each step in the luminance and chrominance measuring method embodiment, and the function and implementation process thereof are not described in detail herein.
In a fourth aspect, the embodiment of the present invention further provides a readable storage medium.
The readable storage medium of the present invention stores a luminance and chrominance measurement program, wherein the luminance and chrominance measurement program, when executed by a processor, implements the steps of the luminance and chrominance measurement method as described above.
The method for implementing the luma and chroma measurement procedure when executed may refer to various embodiments of the luma and chroma measurement method of the present invention, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (7)
1. A luminance chromaticity measurement method, comprising:
acquiring an image of a preset surface light source by using a camera, and obtaining a test brightness matrix and/or a chromaticity matrix of the preset surface light source based on the image of the preset surface light source;
obtaining a brightness calibration matrix according to a standard brightness matrix of a preset surface light source and a test brightness matrix of the preset surface light source, and/or obtaining a chromaticity calibration matrix according to a standard chromaticity matrix of the preset surface light source and a test chromaticity matrix of the preset surface light source, wherein the standard brightness matrix of the preset surface light source is obtained based on the brightness of each point of the preset surface light source measured point by a standard single-point brightness meter, the standard chromaticity matrix of the preset surface light source is obtained based on the chromaticity of each point of the preset surface light source measured point by a standard single-point colorimeter, and a lens of the camera is a telecentric lens;
acquiring an image of a sample to be tested by using the camera, and obtaining a testing brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested;
and calibrating the test brightness matrix of the sample to be tested by using the brightness calibration matrix, and/or calibrating the test chromaticity matrix of the sample to be tested by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested.
2. The luminance chromaticity measuring method of claim 1, wherein the step of obtaining the luminance calibration matrix based on the standard luminance matrix of the preset surface light source and the test luminance matrix of the preset surface light source comprises:
acquiring a standard brightness matrix of a preset surface light source and a proportion value of corresponding elements of a test brightness matrix of the preset surface light source, and performing normalization processing to obtain a brightness calibration matrix;
the step of obtaining the chromaticity calibration matrix according to the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source comprises the following steps:
and acquiring the proportion values of the corresponding elements of the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source, and carrying out normalization processing to obtain a chromaticity calibration matrix.
3. The luminance chromaticity measuring method of claim 1, wherein the preset surface light source is an integrating sphere uniform light source, and the standard luminance matrix of the preset surface light source is constructed based on the steps of:
acquiring the brightness value of any point of the integrating sphere uniform light source by using a standard single-point brightness meter, and constructing a standard brightness matrix of the preset surface light source based on the brightness value;
the standard chromaticity matrix of the preset area light source is constructed based on the following steps:
and acquiring the colorimetric value of any point of the integrating sphere uniform light source by using a standard single-point colorimeter, and constructing a standard brightness matrix of the preset surface light source based on the colorimetric value.
4. A luminance chromaticity measuring apparatus, characterized by comprising:
the device comprises a construction module, a brightness detection module and a color detection module, wherein the construction module is used for acquiring an image of a preset surface light source by using a camera and obtaining a test brightness matrix and/or a chromaticity matrix of the preset surface light source based on the image of the preset surface light source;
obtaining a brightness calibration matrix according to a standard brightness matrix of a preset surface light source and a test brightness matrix of the preset surface light source, and/or obtaining a chromaticity calibration matrix according to a standard chromaticity matrix of the preset surface light source and a test chromaticity matrix of the preset surface light source, wherein the standard brightness matrix of the preset surface light source is obtained based on the brightness of each point of the preset surface light source measured point by a standard single-point brightness meter, the standard chromaticity matrix of the preset surface light source is obtained based on the chromaticity of each point of the preset surface light source measured point by a standard single-point colorimeter, and a lens of the camera is a telecentric lens;
the acquisition module is used for acquiring an image of a sample to be tested by using the camera and acquiring a test brightness and/or chromaticity matrix of the sample to be tested based on the image of the sample to be tested;
and the calibration module is used for calibrating the test brightness matrix of the sample to be tested by using the brightness calibration matrix and/or calibrating the test chromaticity matrix of the sample to be tested by using the chromaticity calibration matrix to obtain the actual brightness and/or chromaticity matrix of the sample to be tested.
5. The luma chroma measurement apparatus of claim 4, wherein the construction module is to:
acquiring a standard brightness matrix of a preset surface light source and a proportion value of corresponding elements of a test brightness matrix of the preset surface light source, and performing normalization processing to obtain a brightness calibration matrix;
and/or the presence of a gas in the gas,
and acquiring the proportion values of the corresponding elements of the standard chromaticity matrix of the preset area light source and the test chromaticity matrix of the preset area light source, and carrying out normalization processing to obtain a chromaticity calibration matrix.
6. A luminance chrominance measurement device comprising a processor, a memory, and a luminance chrominance measurement program stored on said memory and executable by said processor, wherein said luminance chrominance measurement program, when executed by said processor, implements the steps of the luminance chrominance measurement method of any of claims 1 to 3.
7. A readable storage medium having a luma chroma measurement program stored thereon, wherein the luma chroma measurement program, when executed by a processor, performs the steps of the luma chroma measurement method of any one of claims 1 to 3.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011230383.3A CN112033542B (en) | 2020-11-06 | 2020-11-06 | Brightness and chrominance measuring method, device and equipment and readable storage medium |
PCT/CN2021/081505 WO2022095321A1 (en) | 2020-11-06 | 2021-03-18 | Luma-chroma measurement method, apparatus and device, and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011230383.3A CN112033542B (en) | 2020-11-06 | 2020-11-06 | Brightness and chrominance measuring method, device and equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112033542A CN112033542A (en) | 2020-12-04 |
CN112033542B true CN112033542B (en) | 2021-01-29 |
Family
ID=73572847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011230383.3A Active CN112033542B (en) | 2020-11-06 | 2020-11-06 | Brightness and chrominance measuring method, device and equipment and readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112033542B (en) |
WO (1) | WO2022095321A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112033542B (en) * | 2020-11-06 | 2021-01-29 | 武汉精测电子集团股份有限公司 | Brightness and chrominance measuring method, device and equipment and readable storage medium |
CN113639868B (en) * | 2021-08-13 | 2024-02-13 | 凌云光技术股份有限公司 | Detection equipment and method for measuring chromaticity of OLED display screen in real time |
CN115049747B (en) * | 2022-08-16 | 2022-11-01 | 深圳市华汉伟业科技有限公司 | Chromaticity measurement method and system of high dynamic range screen |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102005181B (en) * | 2010-11-19 | 2012-09-05 | 深圳市立翔慧科光电科技有限公司 | Standard dot matrix light source and image point correction method of LED display screen |
JP5834938B2 (en) * | 2012-01-17 | 2015-12-24 | 株式会社リコー | Spectral characteristic acquisition apparatus, image evaluation apparatus, image forming apparatus, and spectral characteristic acquisition method |
CN102692272B (en) * | 2012-05-29 | 2014-06-04 | 浙江三鑫照明检测设备有限公司 | Photometric measurement method and rotatable photometric measurement integrating sphere device |
CN105551531B (en) * | 2015-12-01 | 2017-07-07 | 中国工程物理研究院上海激光等离子体研究所 | A kind of low temperature plane target and its installation method |
CN105551431B (en) * | 2016-02-03 | 2019-05-17 | 西安诺瓦电子科技有限公司 | LED display module uniformity correcting method |
CN105973571B (en) * | 2016-04-27 | 2018-05-29 | 厦门大学 | A kind of measuring method of the LED chip macroscopic surface brightness based on CCD |
CN109506781B (en) * | 2018-12-25 | 2020-10-13 | 武汉精立电子技术有限公司 | Chrominance measuring method and device |
CN109816734B (en) * | 2019-01-23 | 2021-01-26 | 武汉精立电子技术有限公司 | Camera calibration method based on target spectrum |
CN111256826B (en) * | 2020-05-01 | 2020-08-04 | 武汉精立电子技术有限公司 | Display screen chrominance measuring method and device and terminal equipment |
CN111609998A (en) * | 2020-05-11 | 2020-09-01 | 歌尔股份有限公司 | Detection method and detection device for illumination uniformity and readable storage medium |
CN112033542B (en) * | 2020-11-06 | 2021-01-29 | 武汉精测电子集团股份有限公司 | Brightness and chrominance measuring method, device and equipment and readable storage medium |
-
2020
- 2020-11-06 CN CN202011230383.3A patent/CN112033542B/en active Active
-
2021
- 2021-03-18 WO PCT/CN2021/081505 patent/WO2022095321A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
CN112033542A (en) | 2020-12-04 |
WO2022095321A1 (en) | 2022-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112033542B (en) | Brightness and chrominance measuring method, device and equipment and readable storage medium | |
CN106596073B (en) | Method and system for detecting image quality of optical system and test target | |
KR102069935B1 (en) | Colorimetry system for display testing | |
TWI495857B (en) | High accuracy imaging colorimeter by special designed pattern closed-loop calibration assisted by spectrograph | |
CN111256826B (en) | Display screen chrominance measuring method and device and terminal equipment | |
US7616314B2 (en) | Methods and apparatuses for determining a color calibration for different spectral light inputs in an imaging apparatus measurement | |
CN110232885A (en) | A kind of brightness of display screen measurement method, system and terminal | |
EP3087534A2 (en) | Analysis device, system and program | |
EP1678485B1 (en) | Method and ir-camera for determining the risk of condensation | |
US20070139644A1 (en) | Methods and apparatuses for applying different color calibrations at different locations in an imaging photometer measurement | |
JP2012093277A (en) | Measuring apparatus and measuring method | |
JP5039520B2 (en) | Method and system for measuring state quantity of observation object by electronic image colorimetry | |
CN115049747B (en) | Chromaticity measurement method and system of high dynamic range screen | |
CN111458112B (en) | Color coordinate measuring method, device, equipment and storage medium based on Gamma correction | |
CN114503097A (en) | Method and apparatus for color lookup using mobile device | |
CN109416282B (en) | Colorimeter | |
CN110174351B (en) | Color measuring device and method | |
Borrino et al. | Sensitivity analysis applied to ISO recommended camera color calibration methods to determine how much of an advantage, if any, does spectral characterization of the camera offer over the chart-based approach. | |
CN107911624B (en) | Image quality compensation method for multi-camera module | |
JP6813749B1 (en) | How to quantify the color of an object, signal processor, and imaging system | |
Tervonen et al. | Integrated measurement system for miniature camera modules | |
WO2020064457A1 (en) | Product color correcting method and product color correcting system | |
KR20240076250A (en) | Colorimetric assay method using portable terminal | |
KR20230056629A (en) | Method and setup for performing a series of optical measurements using a 2D imaging system | |
CN118134862A (en) | Image quality analysis target design method and device |
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 |