CN110769229A - Method, device and system for detecting color brightness of projection picture - Google Patents
Method, device and system for detecting color brightness of projection picture Download PDFInfo
- Publication number
- CN110769229A CN110769229A CN201910620193.3A CN201910620193A CN110769229A CN 110769229 A CN110769229 A CN 110769229A CN 201910620193 A CN201910620193 A CN 201910620193A CN 110769229 A CN110769229 A CN 110769229A
- Authority
- CN
- China
- Prior art keywords
- projection
- image
- preset
- color
- rgb
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3191—Testing thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Projection Apparatus (AREA)
Abstract
The embodiment of the invention relates to the technical field of projection device detection, and particularly discloses a method, a device and a system for detecting color and brightness of a projection picture. This application is through throwing preset positioning pattern, the back analysis confirms preset check point coordinate position after shooing, throw preset detection pattern again, calculate the color RGB value of preset check point coordinate position after shooing, calculate the colour value and the luminance value of projection picture according to preset RGB-Evxy linear relation model, replaced and used expensive illuminometer to detect, the maintenance cost of periodic correction instrument has been avoided, and the measured data result is accurate, not only practiced thrift cost and easy operation convenience, be suitable for extensive popularization.
Description
Technical Field
The invention relates to the technical field of projection device detection, in particular to a method, a device and a system for detecting color brightness of a projection picture.
Background
At present, when detecting a projection picture of a projection device, a plurality of detectors/detecting heads are generally used for detecting, that is, a plurality of probes for detecting color and brightness are arranged on a picture to be detected, and the probes are controlled by a computer to detect the color and the brightness. The color detection of multiple points can use a luminometer detection system with a plurality of probes, but the fixed complexity of the luminometer probes is abandoned due to high cost, but some manufacturers still use the method, and the other defect of the method is that the integrating sphere requirement of the luminometer is periodically sent to a metering department or a factory for correction, otherwise the measured data can deviate from the true value.
Therefore, the color illuminometer is high in detection equipment cost, the probe is fixed, the installation cost is increased, the measurement among the equipment has difference, the instrument needs to be corrected regularly, the maintenance cost is increased, the multi-point detection on a projection picture cannot be carried out simultaneously, the interference of human factors in the detection process is large, and the authenticity of data is influenced.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, and a system for detecting color brightness of a projection screen, which solve or at least partially solve the above existing problems.
In order to solve the above technical problems, the technical solution provided by the present invention is a method for detecting color brightness of a projection image, comprising:
projecting a preset positioning pattern to the projection surface;
acquiring a preset positioning pattern image on a projection surface to obtain a first projection surface image;
identifying a first projection plane image, and acquiring coordinate information of a preset detection point in the first projection plane image;
projecting a preset detection pattern to the projection surface;
acquiring a preset detection pattern image on the projection surface to obtain a second projection surface image;
acquiring color RGB values of preset detection points in a second projection plane image according to coordinate information of the preset detection points in the first projection plane image;
and calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
Preferably, the preset positioning pattern is composed of one or more of a feature map with a frame, a feature map with corner points, and a planar geometric feature map.
Preferably, the method for identifying the first projection plane image and acquiring the coordinate information of the preset detection point in the first projection plane image includes:
identifying the first projection surface image, and obtaining the position and the shape of a preset positioning pattern image in the first projection image;
calculating a coordinate transformation relation between a preset positioning pattern and a preset positioning pattern image in the first projection image;
and calculating the coordinate information of the preset detection point in the first projection image according to the coordinate information of the preset detection point in the preset positioning pattern.
Preferably, the method for calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relationship model includes:
and calculating the color average value and the brightness average value of pixel points in a preset range around the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
Preferably, before the step of projecting the preset positioning pattern onto the projection plane, the method further includes the steps of: acquiring an RGB-Evxy linear relation model;
the method for acquiring the RGB-Evxy linear relation model comprises the following steps:
collecting a plurality of groups of (RGB, Evxy) data, wherein RGB is a color RGB value of a preset detection point in a projection plane image, and Evxy is a measured color coordinate xy and a measured brightness value Ev of the preset detection point;
obtaining the relation of M, N and O three transformation matrixes by a least square method to obtain a RGB-Evxy transformation relation model, and completing the color measurement calibration, namely
The RGB-Evxy linear relation model is generated as follows:
Ev=R·k+G·l+B·m+d,
wherein k, l, m, d, w, v, z, h, u, s, i, e, g, j, q, f, n and o are constant coefficients.
The invention also provides a device for detecting the color and brightness of the projection picture, which comprises:
the positioning projection module is used for projecting a preset positioning pattern to the projection surface;
the positioning acquisition module is used for acquiring a preset positioning pattern image on the projection surface to obtain a first projection surface image;
the positioning calculation module is used for identifying the first projection plane image and acquiring coordinate information of preset detection points in the first projection plane image;
the detection projection module is used for projecting a preset detection pattern to the projection surface;
the detection acquisition module is used for acquiring a preset detection pattern image on the projection surface to obtain a second projection surface image;
the detection calculation module is used for acquiring the color RGB value of the preset detection point in the second projection plane image according to the coordinate information of the preset detection point in the first projection plane image;
and the result generation module is used for calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
Preferably, the positioning calculation module includes:
the image identification unit is used for identifying the first projection surface image and obtaining the position and the shape of a preset positioning pattern image in the first projection image;
the relation calculation unit is used for calculating the coordinate transformation relation between the preset positioning pattern and a preset positioning pattern image in the first projection image;
and the coordinate calculation unit is used for calculating the coordinate information of the preset detection point in the first projection image according to the coordinate information of the preset detection point in the preset positioning pattern.
The invention also provides a device for detecting the color and brightness of the projection picture, which comprises:
a memory for storing a computer program;
and a processor for executing the computer program to implement the steps of the detection method for the color brightness of the projection picture.
The invention further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the steps of the detection method for the color brightness of the projection picture.
The invention also provides a detection system for the color and brightness of the projection picture, which comprises a control device, an image acquisition device and a projection device to be detected, wherein the control device is respectively communicated with the image acquisition device and the projection device to be detected, and the control method of the control device comprises the following steps:
controlling a projection device to be detected to project a preset positioning pattern to a projection surface;
controlling an image acquisition device to acquire a preset positioning pattern image on a projection surface to obtain a first projection surface image;
identifying a first projection plane image, and acquiring coordinate information of a preset detection point in the first projection plane image;
controlling a projection device to be detected to project a preset detection pattern to a projection surface;
controlling an image acquisition device to acquire a preset detection pattern image on a projection surface to obtain a second projection surface image;
acquiring color RGB values of preset detection points in a second projection plane image according to coordinate information of the preset detection points in the first projection plane image;
and calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
Compared with the prior art, the beneficial effects of the method are detailed as follows: this application is through throwing preset positioning pattern, the back analysis confirms preset check point coordinate position after shooing, throw preset detection pattern again, calculate the color RGB value of preset check point coordinate position after shooing, calculate the colour value and the luminance value of projection picture according to preset RGB-Evxy linear relation model, replaced and used expensive illuminometer to detect, the maintenance cost of periodic correction instrument has been avoided, and the measured data result is accurate, not only practiced thrift cost and easy operation convenience, be suitable for extensive popularization.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic flowchart of a method for detecting color brightness of a projection image according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for acquiring coordinate information of a preset detection point in a first projection plane image according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an exemplary predetermined positioning pattern according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an exemplary default detection pattern according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a device for detecting color brightness of a projection image according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a system for detecting color brightness of a projection image according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order to make the technical solutions of the present invention better understood by those skilled in the art, the present invention will be further described in detail with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present invention provides a method for detecting color brightness of a projection image, which can be applied to a projection device to be detected, or a device for detecting color brightness of a projection image, or a system for detecting color brightness of a projection image, and the method specifically includes:
s11: projecting a preset positioning pattern to the projection surface;
s12: acquiring a preset positioning pattern image on a projection surface to obtain a first projection surface image;
s13: identifying a first projection plane image, and acquiring coordinate information of a preset detection point in the first projection plane image;
s14: projecting a preset detection pattern to the projection surface;
s15: acquiring a preset detection pattern image on the projection surface to obtain a second projection surface image;
s16: acquiring color RGB values of preset detection points in a second projection plane image according to coordinate information of the preset detection points in the first projection plane image;
s17: and calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
In step S11, the preset positioning pattern may be one or more of a feature map with a frame, a feature map with corner points, and a planar geometric feature map, and the preset positioning pattern is a full-screen projection picture, so that the actual area position and the area shape of the projection picture in the first projection plane image can be obtained after the image recognition. The method comprises the steps that a preset positioning pattern is projected onto a projection surface, then a preset positioning pattern image on the projection surface is shot, a first projection surface image is obtained, the first projection surface image is an overall image containing the preset positioning pattern image, and the area position and the area shape of the preset positioning pattern image in the first projection surface image can be obtained by carrying out image recognition on the first projection surface image.
In step S12, the first projection plane image may be obtained by capturing a preset positioning pattern image on the projection plane with an image capturing device such as a camera or a video camera. The type of the device for image acquisition is not limited herein, and the device may be a camera carried by the projection device, or may be an external camera, as long as the whole image including the preset positioning pattern image can be acquired.
As shown in fig. 2, in step S13, the method for recognizing the first projection plane image and acquiring the coordinate information of the preset detection point in the first projection plane image includes:
s131: identifying the first projection surface image, and obtaining the position and the shape of a preset positioning pattern image in the first projection image;
s132: calculating a coordinate transformation relation between a preset positioning pattern and a preset positioning pattern image in the first projection image;
s133: and calculating the coordinate information of the preset detection point in the first projection image according to the coordinate information of the preset detection point in the preset positioning pattern.
Specifically, for example, as shown in fig. 3, an embodiment of the present invention provides a preset positioning pattern, where the preset positioning pattern includes 6 two-dimensional code images with borders, and the two-dimensional code images are used because the two-dimensional code images have strong anti-interference capability and high recognition degree of an image algorithm, and can be accurately positioned even under the conditions of low brightness or unclear focusing of a picture, and the two-dimensional codes are used to extract features of the whole picture, so as to position pixels in the whole projection picture.
Specifically, in step S131, the position and shape of the preset positioning pattern image in the first projection image can be obtained by recognizing 6 framed two-dimensional code images; the specific identification method comprises the following steps: and obtaining a projection area through the pixel position of the characteristic point in the two-dimensional code in the shot first projection image. Specifically, the positions of the feature points a on the two-dimensional code on the original pattern are known, and the physical coordinates of the same feature points in the first projection image captured by the camera are found through a best matching algorithm (MAD algorithm, SSDA algorithm, etc.). Using the same method, the coordinates of other feature points on the picture taken by the camera are found. The relative positions between the feature points on the original pattern are identical in the relative positions between the feature points in the image captured by the camera, but are amplified proportionally. The amplification factor is found through several points. And then the coefficient is combined with the relative relation originally existing among the characteristic points, so that the positions of the projection area and other pixel points in the projection area can be easily obtained.
Specifically, in step S132, the method of calculating the coordinate transformation relationship between the preset localization pattern and the preset localization pattern image in the first projection image is an affine transformation method.
Specifically, in step S133, the method for calculating the coordinate information of the preset detection point in the first projection image according to the coordinate information of the preset detection point in the preset positioning pattern includes: in order to ensure that each picture area has data, the positions of the preset detection points in the preset positioning pattern are uniformly distributed in the preset positioning pattern. The image recognition method may use affine transformations such as: and presetting the feature A on the positioning pattern, wherein the feature A corresponds to the feature a on the shot picture. Similarly, a plurality of feature points describe the positions of points to be detected in the captured picture. The specific calculation method is an image feature matching algorithm such as MAD and SSDA.
In step S14, the preset detection pattern projected onto the projection surface may be a white pattern.
In step S15, the preset detection pattern image on the projection surface may be captured by an image capturing device such as a camera or a video camera, so as to obtain a second projection surface image. The type of the device for image acquisition is not limited herein, and the device may be a camera carried by the projection device, or may be an external camera, as long as the whole image including the preset detection pattern image can be acquired.
As shown in fig. 4, in step S16, the method for calculating color values and luminance values of the preset detection points in the second projection plane image according to the preset RGB-Evxy linear relationship model includes: and calculating the color average value and the brightness average value of pixel points in a preset range around the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model. For example, the color information of the coordinate region of the center detection point in the second projection plane image needs to be obtained, and in order to ensure the stability and reality of the data, the average value of the color data of the pixel points within 50 pixels of the center detection point is obtained here.
Before the step of projecting the preset positioning pattern to the projection plane in step S11, the method further includes the steps of: s10: acquiring an RGB-Evxy linear relation model; specifically, the method for acquiring the RGB-Evxy linear relationship model comprises the following steps:
collecting a plurality of groups of (RGB, Evxy) data, wherein RGB is a color RGB value of a preset detection point in a projection plane image, and Evxy is a measured color coordinate xy and a measured brightness value Ev of the preset detection point;
obtaining the relation of three transformation matrixes of M, N and O by a least square method to obtain a conversion relation model of RGB-Evxy, and completing the color measurement calibration of the camera, namely
The RGB-Evxy linear relation model is generated as follows:
Ev=R·k+G·l+B·m+d,
wherein k, l, m, d, w, v, z, h, u, s, i, e, g, j, q, f, n and o are constant coefficients.
For example, in the preparation stage before detection, the hardware includes a control device, an image acquisition device, an illuminometer and any one projection device to be detected, the image acquisition device can prepare a camera, and the illuminometer is mainly used for camera calibration, and the control device can be a computer. The computer is provided with control software and is responsible for overall process control, data calculation and result output; the projection device to be detected is provided with response software: the control device is responsible for receiving and analyzing commands of the computer control software, reading and writing the bottom layer register, controlling the projection device to display the designated pattern and change the current, and being responsible for executing the commands. The method specifically comprises the following steps:
(1) and a camera calibration step, wherein the computer end control program establishes communication with the projection device end response program through a network to control the projection device end to project a preset positioning pattern. The preset positioning pattern of the preparation stage is the same as the preset positioning pattern of the detection stage. The preset positioning pattern provides features as many as possible so as to perform accurate positioning during image processing. The method aims to obtain the area position and the area shape of a projection picture in a shot picture through the preset positioning pattern, and then calculate the physical coordinate position of a preset detection point in the whole shot picture so as to obtain the color information of the preset detection point.
(2) And in the data acquisition step, the computer sends a command to the projection device end response program through the network to change the current so as to achieve the aim of changing the color coordinate and the brightness of the projection device. The current changing method is to traverse the currents of the red, green and blue lights. The method of changing the driving current of the projection device changes the luminous intensity of the red, green and blue lamps, changes the color and brightness of the projection picture, and abandons the way of changing the duty, because when changing the duty, the flash memory device of the optical machine needs to be burned to record the file, which needs to consume a long time. The preset detection pattern is projected by the projection device, the color and brightness change of the current control pattern is adjusted to replace a standard color card, and a standard light source is used for calibrating the camera, so that the method is a low-cost replacement method for the illuminometer for projecting the color and brightness of the picture.
(3) And a color value calculating step, wherein the computer controls the projection device to project a preset detection pattern, namely a pure white picture, and the preset detection pattern in the preparation stage is consistent with the preset detection pattern in the detection stage. The computer controls the camera to shoot the current pattern and stores the pattern in the computer, the computer control program obtains the color information of the physical coordinate area of the detection point obtained in the camera calibration step from the shot picture by using the physical coordinate of the detection point obtained in the camera calibration step, and the average value of the pixel point color data in the range of 50 pixels at the central point of the projection picture can be obtained at the position to ensure the stability and the reality of the data.
(4) The computer is in wired connection with the illuminometer through a USB and controls the color coordinate xy and the brightness value Ev at the measuring and detecting point of the illuminometer, and after the data is successfully acquired, the computer feeds back data acquisition completion response to a computer control program.
(5) Repeating the steps (2), (3) and (4), collecting a plurality of groups of Data (RGB, Evxy) Data, and storing the Data in a file; and analyzing the conversion relation between RGB and Evxy. And searching the relation of the three conversion matrixes of M, N and O by a least square method to obtain a conversion relation model of RGB-Evxy, and completing the color measurement calibration of the camera.
Since Ev represents brightness, under the condition that the projection size of the projector is not changed and the relative position of the camera and the projection picture is not changed, the brightness value and the RGB value in the color information are in a positive correlation, which is assumed to be R, G, B multiplied by a coefficient, k, l, m, that is, the relationship between Ev and the RGB value can be expressed as:
Evtheory of the invention=R·k+G·l+B·m+d;
Error δ ═ EvTheory of the invention-EvReality (reality)And when the delta is minimum, the coefficients k, l, m and d are the optimal coefficients.
The values of the color coordinates x, y have a certain relationship with the value of the color information R, G, B in the picture. That is, the color R, G, B can be linearly related to the color coordinates x and y by a certain proportional relationship:
let us say the error σ ═ xTheory of the invention-xReality (reality)And | when σ is minimum, the functional relationship of x is best matched. The same can be said of the best function match for y, and the coefficients at that time.
A plurality of conversion formulas exist in RGB-Evxy, but the error of part of the conversion formulas is extremely large in the test, and the consistency verification has a problem. Therefore, the optimal solution needs to be found by comparing the camera measurement data with the illuminometer measurement data for many times.
The main advantage is that ① replaces the cost of expensive illuminometers, and the price of CL-200A on the market is 2-3 ten thousand, while the cost of the camera and the cost of the computer used in the technical scheme of the application are about 1 ten thousand in total, and the computer can be reused, thus saving the manufacturing cost. ② can simultaneously detect multiple points of the projection picture by using the camera, effectively shortening the detection time, reducing the artificial interference and ensuring the authenticity of data.
As shown in fig. 5, the present invention provides a device for detecting color brightness of a projection image, comprising:
the positioning projection module 21 is used for projecting a preset positioning pattern to the projection surface;
the positioning acquisition module 22 is configured to acquire a preset positioning pattern image on the projection surface to obtain a first projection surface image;
the positioning calculation module 23 is configured to identify the first projection plane image, and acquire coordinate information of a preset detection point in the first projection plane image;
a detection projection module 24, configured to project a preset detection pattern onto the projection plane;
the detection acquisition module 25 is used for acquiring a preset detection pattern image on the projection surface to obtain a second projection surface image;
the detection calculation module 26 is configured to obtain a color RGB value of a preset detection point in the second projection plane image according to the coordinate information of the preset detection point in the first projection plane image;
and the result generating module 27 is configured to calculate a color value and a brightness value of a preset detection point in the second projection plane image according to the preset RGB-Evxy linear relationship model.
Specifically, the positioning calculation module 23 includes:
the image identification unit is used for identifying the first projection surface image and obtaining the position and the shape of a preset positioning pattern image in the first projection image;
the relation calculation unit is used for calculating the coordinate transformation relation between the preset positioning pattern and a preset positioning pattern image in the first projection image;
and the coordinate calculation unit is used for calculating the coordinate information of the preset detection point in the first projection image according to the coordinate information of the preset detection point in the preset positioning pattern.
The embodiment of the present invention further provides a device for detecting color and brightness of a projection image, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of the detection method for the color brightness of the projection picture.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the method for detecting color brightness of a projection image are implemented.
As shown in fig. 6, a system for detecting color and brightness of a projection image according to another embodiment of the present invention includes a control device, an image capturing device, and a projection device to be detected, where the control device establishes communication with the image capturing device and the projection device to be detected, respectively, and a control method of the control device includes:
controlling a projection device to be detected to project a preset positioning pattern to a projection surface;
controlling an image acquisition device to acquire a preset positioning pattern image on a projection surface to obtain a first projection surface image;
identifying a first projection plane image, and acquiring coordinate information of a preset detection point in the first projection plane image;
controlling a projection device to be detected to project a preset detection pattern to a projection surface;
controlling an image acquisition device to acquire a preset detection pattern image on a projection surface to obtain a second projection surface image;
acquiring color RGB values of preset detection points in a second projection plane image according to coordinate information of the preset detection points in the first projection plane image;
and calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
Specifically, the control device can adopt a computer, the image acquisition device adopts a camera, and the control method in the detection stage comprises the following steps:
1) the computer controls the projection device to be detected to project a preset positioning pattern through a network, the projection device to be detected projects the preset positioning pattern, and the preset positioning pattern is analyzed and responded to the computer after being photographed;
2) the computer is connected with the camera through a USB wire, and controls the camera to shoot the picture content to be detected, and the picture is stored in the computer;
3) the computer program obtains a plurality of detection point areas needing to be detected in a projection picture in a picture shot by a camera through image processing, wherein the detection point areas are located at the physical coordinates of the picture;
4) the computer controls the projection device to be detected to project a preset detection pattern, and the computer controls the camera to shoot pictures and stores the pictures in the computer;
5) extracting the average value of the color RGB information at the detection point from the projection picture shot by the camera through image processing by a computer program;
6) calculating to obtain real color coordinates and brightness values by using an RGB-Evxy relation model established in the calibration process, and finishing the detection process;
7) the computer calculates the color coordinate and the brightness data to obtain other color data of the projection picture, and outputs the data in the forms of files or reports and the like.
For a batch of projection devices to be tested, the projection conditions of different machines are different due to the limitation of process and assembly consistency. We judge whether the color and brightness of a projection device are qualified or not, and set a set of own standards. For example, the following steps: for the whole projection picture area, fixed n points are selected for detection (currently, 13 points and 9 points are mostly used in the industry). The relative position of the detection area inside the projection picture is fixed, but the position of the projection picture on the projected curtain or wall surface is uncertain (different projection devices can float in a certain area). Based on the situation, the position of the point to be detected in the projection picture in the picture taken by the camera needs to be accurately known, the stability of data is ensured, and different projection devices need to obtain the actual position of the point to be detected in the picture taken by the camera through the step 3) of the detection process. After the detection process is started, the position of the detected machine is ensured to be unchanged, a preset detection pattern is displayed, and the picture is shot again. Since the machine is not moving, the relative position of the area to be detected in the picture taken by the camera is also unchanged. The color information can be extracted directly from the physical coordinates obtained in step 3). And subsequent calculations are performed.
For the description of the features in the embodiments corresponding to fig. 5 to fig. 6, reference may be made to the related description of the embodiments corresponding to fig. 1 to fig. 2, which is not repeated here.
The method, the device and the system for detecting the color brightness of the projection picture provided by the embodiment of the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Claims (10)
1. A method for detecting color brightness of a projection picture is characterized by comprising the following steps:
projecting a preset positioning pattern to the projection surface;
acquiring a preset positioning pattern image on a projection surface to obtain a first projection surface image;
identifying a first projection plane image, and acquiring coordinate information of a preset detection point in the first projection plane image;
projecting a preset detection pattern to the projection surface;
acquiring a preset detection pattern image on the projection surface to obtain a second projection surface image;
acquiring color RGB values of preset detection points in a second projection plane image according to coordinate information of the preset detection points in the first projection plane image;
and calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
2. The method according to claim 1, wherein the predetermined positioning pattern is composed of one or more of a feature map with a frame, a feature map with corner points, and a planar geometric feature map.
3. The method for detecting color brightness of a projection screen according to claim 1, wherein the method for identifying the first projection plane image and obtaining the coordinate information of the preset detection point in the first projection plane image comprises:
identifying the first projection surface image, and obtaining the position and the shape of a preset positioning pattern image in the first projection image;
calculating a coordinate transformation relation between a preset positioning pattern and a preset positioning pattern image in the first projection image;
and calculating the coordinate information of the preset detection point in the first projection image according to the coordinate information of the preset detection point in the preset positioning pattern.
4. The method for detecting the color brightness of the projection image according to claim 1, wherein the method for calculating the color value and the brightness value of the predetermined detection point in the second projection plane image according to the predetermined RGB-Evxy linear relationship model comprises:
and calculating the color average value and the brightness average value of pixel points in a preset range around the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
5. The method for detecting the color brightness of the projection screen according to claim 1, wherein before the step of projecting the predetermined positioning pattern onto the projection plane, the method further comprises the steps of: acquiring an RGB-Evxy linear relation model;
the method for acquiring the RGB-Evxy linear relation model comprises the following steps:
collecting a plurality of groups of (RGB, Evxy) data, wherein RGB is a color RGB value of a preset detection point in a projection plane image, and Evxy is a measured color coordinate xy and a measured brightness value Ev of the preset detection point;
obtaining the relation of three transformation matrixes of M, N and O by a least square method to obtain a conversion relation model of RGB-Evxy, and completing the color measurement calibration of the camera, namely
The RGB-Evxy linear relation model is generated as follows:
Ev=R·k+G·l+B·m+d,
wherein k, l, m, d, w, v, z, h, u, s, i, e, g, j, q, f, n and o are constant coefficients.
6. A detection device for detecting color brightness of a projection picture is characterized by comprising:
the positioning projection module is used for projecting a preset positioning pattern to the projection surface;
the positioning acquisition module is used for acquiring a preset positioning pattern image on the projection surface to obtain a first projection surface image;
the positioning calculation module is used for identifying the first projection plane image and acquiring coordinate information of preset detection points in the first projection plane image;
the detection projection module is used for projecting a preset detection pattern to the projection surface;
the detection acquisition module is used for acquiring a preset detection pattern image on the projection surface to obtain a second projection surface image;
the detection calculation module is used for acquiring the color RGB value of the preset detection point in the second projection plane image according to the coordinate information of the preset detection point in the first projection plane image;
and the result generation module is used for calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
7. The apparatus for detecting color brightness of a projection screen according to claim 6, wherein the positioning calculation module comprises:
the image identification unit is used for identifying the first projection surface image and obtaining the position and the shape of a preset positioning pattern image in the first projection image;
the relation calculation unit is used for calculating the coordinate transformation relation between the preset positioning pattern and a preset positioning pattern image in the first projection image;
and the coordinate calculation unit is used for calculating the coordinate information of the preset detection point in the first projection image according to the coordinate information of the preset detection point in the preset positioning pattern.
8. A detection device for detecting color brightness of a projection picture is characterized by comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the method for detecting the brightness of the color of the projection screen according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which when executed by a processor implements the steps of the method for detecting color brightness of a projection screen according to any one of claims 1 to 5.
10. The system for detecting the color and brightness of the projection picture is characterized by comprising a control device, an image acquisition device and a projection device to be detected, wherein the control device is respectively communicated with the image acquisition device and the projection device to be detected, and the control method of the control device comprises the following steps:
controlling a projection device to be detected to project a preset positioning pattern to a projection surface;
controlling an image acquisition device to acquire a preset positioning pattern image on a projection surface to obtain a first projection surface image;
identifying a first projection plane image, and acquiring coordinate information of a preset detection point in the first projection plane image;
controlling a projection device to be detected to project a preset detection pattern to a projection surface;
controlling an image acquisition device to acquire a preset detection pattern image on a projection surface to obtain a second projection surface image;
acquiring color RGB values of preset detection points in a second projection plane image according to coordinate information of the preset detection points in the first projection plane image;
and calculating the color value and the brightness value of the preset detection point in the second projection plane image according to the preset RGB-Evxy linear relation model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910620193.3A CN110769229A (en) | 2019-07-10 | 2019-07-10 | Method, device and system for detecting color brightness of projection picture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910620193.3A CN110769229A (en) | 2019-07-10 | 2019-07-10 | Method, device and system for detecting color brightness of projection picture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110769229A true CN110769229A (en) | 2020-02-07 |
Family
ID=69329331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910620193.3A Pending CN110769229A (en) | 2019-07-10 | 2019-07-10 | Method, device and system for detecting color brightness of projection picture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110769229A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995623A (en) * | 2021-02-19 | 2021-06-18 | 深圳市芯智云信息技术有限公司 | Method for color adjustment of DLP (digital light processing) optical machine |
CN113709433A (en) * | 2021-08-26 | 2021-11-26 | 歌尔光学科技有限公司 | Method, device and equipment for detecting brightness of projection picture and computer storage medium |
CN113891053A (en) * | 2020-12-23 | 2022-01-04 | 深圳市火乐科技发展有限公司 | Projection equipment control method, device, medium and electronic equipment |
CN115361540A (en) * | 2022-10-20 | 2022-11-18 | 潍坊歌尔电子有限公司 | Method and device for self-checking abnormal cause of projected image, projector and storage medium |
CN116993991A (en) * | 2023-09-25 | 2023-11-03 | 深圳市精益模具有限公司 | Intelligent comprehensive detection method and system for definition of projection picture |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8106949B2 (en) * | 2009-03-26 | 2012-01-31 | Seiko Epson Corporation | Small memory footprint light transport matrix capture |
CN104869377A (en) * | 2012-03-14 | 2015-08-26 | 海信集团有限公司 | Method for correcting colors of projected images and projector |
CN107257453A (en) * | 2017-07-12 | 2017-10-17 | 上海斐讯数据通信技术有限公司 | The color calibration method and system of a kind of projected image |
CN109782962A (en) * | 2018-12-11 | 2019-05-21 | 中国科学院深圳先进技术研究院 | A kind of projection interactive method, device, system and terminal device |
-
2019
- 2019-07-10 CN CN201910620193.3A patent/CN110769229A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8106949B2 (en) * | 2009-03-26 | 2012-01-31 | Seiko Epson Corporation | Small memory footprint light transport matrix capture |
CN104869377A (en) * | 2012-03-14 | 2015-08-26 | 海信集团有限公司 | Method for correcting colors of projected images and projector |
CN107257453A (en) * | 2017-07-12 | 2017-10-17 | 上海斐讯数据通信技术有限公司 | The color calibration method and system of a kind of projected image |
CN109782962A (en) * | 2018-12-11 | 2019-05-21 | 中国科学院深圳先进技术研究院 | A kind of projection interactive method, device, system and terminal device |
Non-Patent Citations (2)
Title |
---|
IT_YANGJING: "RGB转换为Yxy色系坐标", 《HTTPS://BBS.CSDN.NET/TOPICS/390483588》 * |
林茂海等: "《颜色科学与艺术》", 31 May 2019 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113891053A (en) * | 2020-12-23 | 2022-01-04 | 深圳市火乐科技发展有限公司 | Projection equipment control method, device, medium and electronic equipment |
CN113891053B (en) * | 2020-12-23 | 2023-07-25 | 深圳市火乐科技发展有限公司 | Projection equipment control method and device, medium and electronic equipment |
CN112995623A (en) * | 2021-02-19 | 2021-06-18 | 深圳市芯智云信息技术有限公司 | Method for color adjustment of DLP (digital light processing) optical machine |
CN113709433A (en) * | 2021-08-26 | 2021-11-26 | 歌尔光学科技有限公司 | Method, device and equipment for detecting brightness of projection picture and computer storage medium |
CN115361540A (en) * | 2022-10-20 | 2022-11-18 | 潍坊歌尔电子有限公司 | Method and device for self-checking abnormal cause of projected image, projector and storage medium |
CN115361540B (en) * | 2022-10-20 | 2023-01-24 | 潍坊歌尔电子有限公司 | Method and device for self-checking abnormal cause of projected image, projector and storage medium |
CN116993991A (en) * | 2023-09-25 | 2023-11-03 | 深圳市精益模具有限公司 | Intelligent comprehensive detection method and system for definition of projection picture |
CN116993991B (en) * | 2023-09-25 | 2023-12-01 | 深圳市精益模具有限公司 | Intelligent comprehensive detection method and system for definition of projection picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110769229A (en) | Method, device and system for detecting color brightness of projection picture | |
CN108445007B (en) | Detection method and detection device based on image fusion | |
CN112669394B (en) | Automatic calibration method for vision detection system | |
CN109919933B (en) | VR equipment and its screen detection method, device, and computer-readable storage medium | |
CN110838149B (en) | Camera light source automatic configuration method and system | |
CN110428762B (en) | OLED panel aging test luminescence characteristic detection method based on pixel brightness | |
CN115187612B (en) | A plane area measurement method, device and system based on machine vision | |
CN109819245B (en) | On-line measuring method and device for chroma and brightness data based on AOI platform | |
CN115460386B (en) | Method and system for acquiring color image by black-and-white camera | |
CN118758429A (en) | An online detection system, method and medium for color difference in printing and dyeing | |
CN208366871U (en) | Detection system | |
CN110879131B (en) | Imaging quality testing method and imaging quality testing device for visual optical system, and electronic apparatus | |
CN114450579A (en) | Image processing system, setting method and program | |
CN111638042B (en) | DLP optical characteristic test analysis method | |
CN114170319A (en) | Method and device for adjusting test target | |
CN108010071B (en) | System and method for measuring brightness distribution by using 3D depth measurement | |
CN119027423B (en) | A defect detection method and system for organic electroluminescent device | |
CN114503097A (en) | Method and apparatus for color lookup using mobile device | |
CN112862711B (en) | An image gray value correction method and device | |
CN111536895B (en) | Appearance recognition device, appearance recognition system, and appearance recognition method | |
CN106546196B (en) | A kind of optical axis real-time calibration method and system | |
CN116563391B (en) | Automatic laser structure calibration method based on machine vision | |
CN110274911B (en) | Image processing system, image processing apparatus, and storage medium | |
KR101099844B1 (en) | True color communication | |
TWI426246B (en) | The method of flat field correction for two - dimensional optical detection |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200207 |