CN115484447B - Projection method, projection system and projector based on high color gamut adjustment - Google Patents

Projection method, projection system and projector based on high color gamut adjustment Download PDF

Info

Publication number
CN115484447B
CN115484447B CN202211417110.9A CN202211417110A CN115484447B CN 115484447 B CN115484447 B CN 115484447B CN 202211417110 A CN202211417110 A CN 202211417110A CN 115484447 B CN115484447 B CN 115484447B
Authority
CN
China
Prior art keywords
image
projected
frame
value
characteristic value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211417110.9A
Other languages
Chinese (zh)
Other versions
CN115484447A (en
Inventor
张小军
何凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chiptrip Technology Co ltd
Original Assignee
Shenzhen Chiptrip Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chiptrip Technology Co ltd filed Critical Shenzhen Chiptrip Technology Co ltd
Priority to CN202211417110.9A priority Critical patent/CN115484447B/en
Publication of CN115484447A publication Critical patent/CN115484447A/en
Application granted granted Critical
Publication of CN115484447B publication Critical patent/CN115484447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3182Colour adjustment, e.g. white balance, shading or gamut

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to the technical field of image processing, and provides a projection method, a projection system and a projector based on high color gamut adjustment, wherein the method comprises the following steps: analyzing the data to be projected to obtain each frame of image to be projected in the data to be projected; calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected; calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment; obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected; and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected. The projection method based on high color gamut adjustment provided by the application ensures that the white balance of the picture gray scale is not disordered to the greatest extent.

Description

Projection method, projection system and projector based on high color gamut adjustment
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a projection method, a projection system, and a projector based on high gamut adjustment.
Background
The dynamic range of the picture actually refers to the contrast, and the larger the dynamic range is, the richer the gray scale levels presented by the picture are, and the finer the detailed expression is. The wider the dynamic range can be under full light shading conditions, the more chromatic the performance of the projector itself. However, in the case of a typical household, more or less ambient light interference is a problem. The black position expression of the picture can be weakened only by little light interference, so that the dynamic range of the whole projection picture is greatly narrowed, and the depiction of image levels and details is reduced. Meanwhile, the influence also causes the imbalance of the gray scale white balance of the picture.
Disclosure of Invention
The application provides a projection method, a projection system and a projector based on high color gamut adjustment, aiming at ensuring the white balance of the image gray scale to be not maladjusted to the maximum extent.
In a first aspect, the present application provides a projection method based on high gamut adjustment, comprising:
analyzing data to be projected to obtain each frame of image to be projected in the data to be projected;
calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected;
calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
In one embodiment, obtaining a target color gamut characteristic value of each frame of images to be projected according to a depth map characteristic value of each frame of images to be projected and a color gamut characteristic value of each frame of images to be projected includes:
extracting a depth map characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
extracting a key characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
and obtaining a target color gamut characteristic value of each frame of image to be projected based on the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of image to be projected.
The obtaining of the target color gamut characteristic value of each frame of the image to be projected based on the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of the image to be projected includes:
determining depth values of different positions of a window in the extraction model;
fusing the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of image to be projected through the attention mechanism of the extraction model to obtain the attention characteristic value of each frame of image to be projected;
and weighting the attention characteristic value of each frame of image to be projected according to the depth values of different positions of the window to obtain the target color gamut characteristic value of each frame of image to be projected.
The formula of the target color gamut characteristic value of each frame of the image to be projected is as follows:
Figure 993461DEST_PATH_IMAGE002
wherein, the first and the second end of the pipe are connected with each other,
Figure 147361DEST_PATH_IMAGE003
the method comprises the steps of setting a target color gamut characteristic value of each frame of image to be projected, setting a depth map characteristic value of each frame of image to be projected, setting K as a key characteristic value of each frame of image to be projected, setting V as a color gamut characteristic value of each frame of image to be projected, setting n as the pixel number of image pixels in each frame of image to be projected, setting T and B as attention characteristic value coefficients, and setting d j And d k The depth value of the j position and the depth value of the k position in the window.
The calculating the image brightness value of each frame of the image to be projected according to the gray value of each pixel in each frame of the image to be projected and the pixel gray average value of each frame of the image to be projected comprises the following steps:
determining the pixel number of image pixels in each frame of image to be projected;
calculating the pixel gray average value of each frame of image to be projected according to the gray value and the number of pixels of each pixel in each frame of image to be projected;
and calculating the image brightness value of each frame of image to be projected based on the pixel gray average value, the pixel number and the gray value of each pixel of each frame of image to be projected.
The calculation formula of the image brightness value of each frame of the image to be projected is as follows:
Figure 951238DEST_PATH_IMAGE004
wherein, U is the image brightness value of each frame of image to be projected, n is the pixel number of image pixels in each frame of image to be projected,
Figure 241405DEST_PATH_IMAGE005
for each frame of the gray value of the respective pixel in the image to be projected, for>
Figure 606790DEST_PATH_IMAGE006
The average value of the pixel gray scale of each frame of the image to be projected.
The calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment includes:
if the image brightness value of each frame of image to be projected is greater than the environment brightness value, determining a first multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
and calculating the color gamut characteristic value of each frame of image to be projected in the current environment based on the first multiple relation.
If the image brightness value of each frame of image to be projected is smaller than the environment brightness value, determining a second multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
and calculating the color gamut characteristic value of each frame of image to be projected in the current environment based on the second multiplicative relation.
In a second aspect, the present application provides a high gamut adjustment based projection system comprising:
the analysis module is used for analyzing the data to be projected to obtain each frame of image to be projected in the data to be projected;
the first calculation module is used for calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected;
the second calculation module is used for calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
the determining module is used for obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and the projection module is used for projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
In a third aspect, the present application further provides a projector comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the projection method based on high color gamut adjustment according to the first aspect when executing the program.
In a fourth aspect, the present application further provides a non-transitory computer-readable storage medium comprising a computer program which, when executed by the processor, implements the high gamut adjustment based projection method of the first aspect.
In a fifth aspect, the present application further provides a computer program product comprising a computer program which, when executed by the processor, implements the high gamut adjustment based projection method of the first aspect.
According to the projection method, the projection system and the projector based on high color gamut adjustment, data to be projected are analyzed, and each frame of image to be projected in the data to be projected is obtained; calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected; calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment; obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected; and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected. Therefore, in the projection process based on high color gamut adjustment, the final projection color gamut value of each frame of image to be projected is subjected to high color gamut adjustment according to the environment brightness value of the current environment, the image brightness value of each frame of image to be projected and the depth map characteristic value of each frame of image to be projected, so that the data to be projected can be projected with the high data to be projected no matter under any illumination, and the non-imbalance of the gray scale white balance of the picture is ensured to the maximum extent.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a high gamut adjustment based projection method provided herein;
FIG. 2 is a block diagram of a projection system based on high gamut adjustment as provided herein;
fig. 3 is a structural diagram of a projector provided in the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Further, the projection method, the projection system and the projector based on high color gamut adjustment provided by the present application are described below with reference to fig. 1 to 3. FIG. 1 is a flow chart of a high gamut adjustment based projection method provided herein; FIG. 2 is a block diagram of a projection system based on high gamut adjustment as provided herein; fig. 3 is a structural diagram of a projector provided in the present application.
While the embodiments of the present application provide examples of high gamut adjustment based projection methods, it should be noted that while a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than that shown or described herein.
The embodiment of the present application uses the projection system as an execution subject, and is not limited.
Referring to fig. 1, fig. 1 is a flowchart of a projection method based on high gamut adjustment provided in the present application. The projection method based on high color gamut adjustment provided by the embodiment of the application comprises the following steps:
step 101, analyzing data to be projected to obtain each frame of image to be projected in the data to be projected;
and 102, calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected.
It should be noted that the projection system in the embodiment of the present invention is provided with an external interface or an internal disk, and the projection system may read data of an inserted memory device (such as a usb disk) through the external interface, and at the same time, the projection system may also read data in the optical disk through the memory disk. The embodiment of the invention takes an external interface as an example.
Therefore, the projection system reads the data in the memory device and determines the read data as the data to be projected, it should be noted that the data to be projected may be video data or image data, and the embodiment of the present invention exemplifies the video data.
Further, the projection system analyzes the read data to be projected, and analyzes to obtain each frame of image to be projected in the data to be projected.
Further, the projection system determines the gray value of each pixel in each frame of image to be projected, and calculates the pixel gray average value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected. Further, the projection system calculates the image brightness value of each frame of the image to be projected according to the gray value of each pixel in each frame of the image to be projected and the pixel gray average value of each frame of the image to be projected.
And 103, calculating a color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment.
104, obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and 105, projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
The projection system is provided with an image brightness detection device inside, and an ambient light intensity detection device inside or outside the projection system.
Therefore, the projection system determines the image brightness value of each frame of the image to be projected through the image brightness detection device. Further, the projection system detects the ambient light intensity of the current environment of the projection system through the ambient light intensity detection device, and obtains the ambient brightness value of the current environment.
Therefore, the projection system calculates the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment.
Furthermore, the projection system is also internally provided with an extraction model, wherein the extraction model comprises the relationship between the hierarchical extraction and different positions of the window. Therefore, the projection system determines the depth map feature value of each frame of image to be projected through the extraction model. And then, the projection system obtains a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected. And finally, the projection system projects each frame of image to be projected by taking the target color gamut characteristic value of each frame of image to be projected as the final color gamut characteristic value of each frame of image to be projected according to the target color gamut characteristic value of each frame of image to be projected.
According to the projection method based on high color gamut adjustment, data to be projected are analyzed, and each frame of image to be projected in the data to be projected is obtained; calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected; calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment; obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected; and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
Further, the projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected, which is described in step 102, includes:
determining the pixel number of image pixels in each frame of image to be projected;
calculating the pixel gray average value of each frame of image to be projected according to the gray value and the number of pixels of each pixel in each frame of image to be projected;
calculating the image brightness value of each frame of image to be projected based on the pixel gray average value, the pixel number and the gray value of each pixel of each frame of image to be projected;
the calculation formula of the image brightness value of each frame of the image to be projected is as follows:
Figure 716828DEST_PATH_IMAGE004
wherein, U is the image brightness value of each frame of image to be projected, n is the pixel number of image pixels in each frame of image to be projected,
Figure 324396DEST_PATH_IMAGE005
for each frame of the gray value of the respective pixel in the image to be projected, for>
Figure 734649DEST_PATH_IMAGE006
The average value of the pixel gray scale of each frame of the image to be projected.
Specifically, the projection system determines the number n of pixels of an image pixel in each frame of image to be projected, and simultaneously, the projection system determines the gray value of each pixel in each frame of image to be projected
Figure 536514DEST_PATH_IMAGE005
Based on the gray value of the respective pixel in each frame of the image to be projected->
Figure 212477DEST_PATH_IMAGE005
Performing total summation, and dividing the sum by the number n of pixels in each frame of image to be projected to obtain the mean value of the pixel gray level of each frame of image to be projected>
Figure 92577DEST_PATH_IMAGE006
. Further, the projection system projects an image according to the mean value of the pixel gray scale of each frame of the image to be projected
Figure 91757DEST_PATH_IMAGE006
The number n of pixels and the gray value of each pixel->
Figure 545084DEST_PATH_IMAGE005
Calculating the variance to obtain an image brightness value U of each frame of image to be projected, so that the image brightness value U of each frame of image to be projected is:
Figure 895294DEST_PATH_IMAGE004
the embodiment of the invention accurately calculates the image brightness value of each frame of image to be projected through the pixel variance, so that the data to be projected can be projected with high data to be projected no matter under any illumination, and the non-imbalance of the gray scale white balance of the picture is ensured to the greatest extent.
Further, the step 103 of calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment includes:
if the image brightness value of each frame of image to be projected is greater than the environment brightness value, determining a first multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
and calculating the color gamut characteristic value of each frame of image to be projected in the current environment based on the first multiple relation.
If the image brightness value of each frame of image to be projected is smaller than the environment brightness value, determining a second multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
and calculating the color gamut characteristic value of each frame of image to be projected in the current environment based on the second multiplicative relation.
Specifically, the projection system compares the image brightness value of each frame of image to be projected with the environment brightness value of the current environment, and determines whether the image brightness value of each frame of image to be projected is greater than, equal to, or less than the environment brightness value of the current environment.
Further, if it is determined that the image brightness value of each frame of the image to be projected is greater than the environment brightness value of the current environment, the projection system determines a first multiple relationship between the image brightness value of each frame of the image to be projected and the environment brightness value, that is, how many times the image brightness value of each frame of the image to be projected is the environment brightness value of the current environment.
If the image brightness value of each frame of image to be projected is determined to be greater than 1 time and less than 2 times of the environment brightness value, it is indicated that the environment brightness value still has certain interference to the color gamut of each frame of image to be projected during projection, therefore, the projection system increases the image brightness value of each frame of image to be projected to make the image brightness value of each frame of image to be projected be 2 times of the environment brightness value of the current environment. And the projection system determines the adjusted image brightness value of each frame of image to be projected as the color gamut characteristic value of each frame of image to be projected in the current environment.
If the image brightness value of each frame of image to be projected is determined to be 2 times or more of the environment brightness value, it indicates that the interference of the environment brightness value to the color gamut of each frame of image to be projected during projection is negligible, and therefore, the projection system determines the image brightness value of each frame of image to be projected as the color gamut characteristic value of each frame of image to be projected in the current environment.
Further, if it is determined that the image brightness value of each frame of the image to be projected is smaller than the environment brightness value of the current environment, the projection system determines a second multiple relationship between the image brightness value of each frame of the image to be projected and the environment brightness value, that is, how many times the image brightness value of each frame of the image to be projected the environment brightness value of the current environment is.
If it is determined that the environmental brightness value of the current environment is greater than 1 time and less than 2 times the image brightness value of each frame of the image to be projected, it is determined that the environmental brightness value has a serious influence on the color gamut of each frame of the image to be projected during projection, and therefore, the projection system increases the image brightness value of each frame of the image to be projected to such an extent that the image brightness value of each frame of the image to be projected is 3.5 times the environmental brightness value of the current environment. And the projection system determines the adjusted image brightness value of each frame of image to be projected as the color gamut characteristic value of each frame of image to be projected in the current environment.
If the environment brightness value of the current environment is determined to be 2 times or more than the image brightness value of each frame of image to be projected, the influence of the environment brightness value on the color gamut of each frame of image to be projected during projection is very serious, so that the image brightness value of each frame of image to be projected is increased by the projection system, and the image brightness value of each frame of image to be projected is 6 times the environment brightness value of the current environment. And the projection system determines the adjusted image brightness value of each frame of image to be projected as the color gamut characteristic value of each frame of image to be projected in the current environment.
Further, if it is determined that the image brightness value of each frame of the image to be projected is equal to the environment brightness value of the current environment, the projection system increases the image brightness value of each frame of the image to be projected to make the image brightness value of each frame of the image to be projected 2 times the environment brightness value of the current environment. And the projection system determines the adjusted image brightness value of each frame of image to be projected as the color gamut characteristic value of each frame of image to be projected in the current environment.
The embodiment of the invention accurately determines the color gamut characteristic value of each frame of image to be projected in the current environment through the multiple relation between the brightness values, so that the data to be projected can be projected with high data to be projected no matter under any illumination, and the non-imbalance of the gray scale white balance of the picture is ensured to the maximum extent.
Further, the obtaining of the target color gamut characteristic value of each frame of the image to be projected according to the depth map characteristic value of each frame of the image to be projected and the color gamut characteristic value of each frame of the image to be projected, which is recorded in step 104, includes:
extracting a depth map characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
extracting the key characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
and obtaining a target color gamut characteristic value of each frame of image to be projected based on the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of image to be projected.
Specifically, the projection system extracts a depth map feature value Q of each frame of an image to be projected through the hierarchy of the extraction model. Further, the projection system extracts the key feature value K of each frame of the image to be projected through the hierarchy of the extraction model. Further, the projection system determines depth values for different locations of the window in the extraction model. Further, the projection system fuses the depth map feature value, the key feature value and the color gamut feature value of each frame of the image to be projected through an attention mechanism of the extraction model, so as to obtain an attention feature value attention (Q, K, V) of each frame of the image to be projected. And finally, the projection system weights the attention characteristic value of each frame of image to be projected according to the depth values of different positions of the window to obtain the target color gamut characteristic value of each frame of image to be projected. The formula of the target color gamut characteristic value of each frame of the image to be projected is as follows:
Figure 110243DEST_PATH_IMAGE008
wherein the content of the first and second substances,
Figure 229509DEST_PATH_IMAGE003
the method comprises the steps of setting a target color gamut characteristic value of each frame of image to be projected, setting a depth map characteristic value of each frame of image to be projected, setting K as a key characteristic value of each frame of image to be projected, setting V as a color gamut characteristic value of each frame of image to be projected, setting n as the pixel number of image pixels in each frame of image to be projected, setting T and B as attention characteristic value coefficients, and setting d j And d k The depth value of the j position and the depth value of the k position in the window.
According to the embodiment of the invention, the target color gamut characteristic value of each frame of the image to be projected is accurately obtained by extracting the model, so that the data to be projected can be projected by high data to be projected no matter under any illumination, and the non-imbalance of the white balance of the picture gray scale is ensured to the greatest extent.
Further, the projection system based on high color gamut adjustment provided by the application and the projection method based on high color gamut adjustment provided by the application are correspondingly referenced.
Fig. 2 is a block diagram of a projection system based on high color gamut adjustment provided in the present application, where the projection system based on high color gamut adjustment includes:
the analysis module 201 is configured to analyze data to be projected to obtain each frame of image to be projected in the data to be projected;
the first calculating module 202 is configured to calculate an image brightness value of each frame of the image to be projected according to a gray value of each pixel in each frame of the image to be projected and a pixel gray average value of each frame of the image to be projected;
the second calculating module 203 is configured to calculate a color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
the determining module 204 is configured to obtain a target color gamut characteristic value of each frame of images to be projected according to the depth map characteristic value of each frame of images to be projected and the color gamut characteristic value of each frame of images to be projected;
and the projection module 205 is configured to project each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
Further, the determining module 204 is further configured to:
extracting a depth map characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
extracting the key characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
and obtaining a target color gamut characteristic value of each frame of the image to be projected based on the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of the image to be projected.
Further, the determining module 204 is further configured to:
determining depth values of different positions of a window in the extraction model;
fusing the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of image to be projected through the attention mechanism of the extraction model to obtain the attention characteristic value of each frame of image to be projected;
and weighting the attention characteristic value of each frame of image to be projected according to the depth values of different positions of the window to obtain the target color gamut characteristic value of each frame of image to be projected.
Further, the first calculation module 202 is further configured to:
determining the pixel number of image pixels in each frame of image to be projected;
calculating the pixel gray average value of each frame of image to be projected according to the gray value and the number of pixels of each pixel in each frame of image to be projected;
and calculating the image brightness value of each frame of image to be projected based on the pixel gray average value, the pixel number and the gray value of each pixel of each frame of image to be projected.
Further, the second calculating module 203 is further configured to:
if the image brightness value of each frame of image to be projected is greater than the environment brightness value, determining a first multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
and calculating the color gamut characteristic value of each frame of image to be projected in the current environment based on the first multiple relation.
If the image brightness value of each frame of image to be projected is smaller than the environment brightness value, determining a second multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
and calculating the color gamut characteristic value of each frame of the image to be projected in the current environment based on the second multiplier relation.
The specific embodiment of the projection system based on high gamut adjustment provided by the present application is substantially the same as the embodiments of the projection method based on high gamut adjustment, and details are not described herein.
Fig. 3 illustrates a physical structure diagram of a projector, and as shown in fig. 3, the projector may include: a processor (processor) 310, a communication interface (communication interface) 320, a memory (memory) 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a high gamut adjustment based projection method comprising:
analyzing data to be projected to obtain each frame of image to be projected in the data to be projected;
calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected;
calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In another aspect, the present application further provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform a high color gamut adjustment-based projection method provided by the above methods, the method comprising:
analyzing data to be projected to obtain each frame of image to be projected in the data to be projected;
calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected;
calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
In yet another aspect, the present application further provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform the above-provided high color gamut adjustment-based projection method, the method comprising:
analyzing data to be projected to obtain each frame of image to be projected in the data to be projected;
calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected;
calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A high gamut adjustment based projection method, comprising:
analyzing data to be projected to obtain each frame of image to be projected in the data to be projected;
calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected;
calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
2. The high gamut adjustment-based projection method according to claim 1, wherein obtaining a target gamut characteristic value of each frame of images to be projected according to the depth map characteristic value of each frame of images to be projected and the gamut characteristic value of each frame of images to be projected comprises:
extracting a depth map characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
extracting the key characteristic value of each frame of image to be projected through the hierarchy of the extraction model;
and obtaining a target color gamut characteristic value of each frame of the image to be projected based on the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of the image to be projected.
3. The high gamut adjustment-based projection method according to claim 2, wherein the obtaining of the target gamut characteristic value of each frame of the image to be projected based on the depth map characteristic value, the key characteristic value and the gamut characteristic value of each frame of the image to be projected comprises:
determining depth values of different positions of a window in the extraction model;
fusing the depth map characteristic value, the key characteristic value and the color gamut characteristic value of each frame of image to be projected through the attention mechanism of the extraction model to obtain the attention characteristic value of each frame of image to be projected;
and weighting the attention characteristic value of each frame of image to be projected according to the depth values of different positions of the window to obtain the target color gamut characteristic value of each frame of image to be projected.
4. The high gamut adjustment-based projection method according to claim 3, wherein the formula of the target gamut characteristic value of each frame to be projected is:
Figure DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 585018DEST_PATH_IMAGE002
the method comprises the steps of setting a target color gamut characteristic value of each frame of image to be projected, setting Q to be a depth map characteristic value of each frame of image to be projected, setting K to be a key characteristic value of each frame of image to be projected, setting V to be the color gamut characteristic value of each frame of image to be projected, setting n to be the pixel number of image pixels in each frame of image to be projected, setting T and B to be attention characteristic value coefficients, and setting d j And d k The depth value of the j position and the depth value of the k position in the window.
5. The high-gamut-adjustment-based projection method according to claim 1, wherein the calculating the image brightness value of each frame of the image to be projected according to the gray value of each pixel in each frame of the image to be projected and the pixel gray average value of each frame of the image to be projected includes:
determining the pixel number of image pixels in each frame of image to be projected;
calculating the pixel gray average value of each frame of image to be projected according to the gray value and the number of pixels of each pixel in each frame of image to be projected;
and calculating the image brightness value of each frame of image to be projected based on the pixel gray average value, the pixel number and the gray value of each pixel of each frame of image to be projected.
6. The high color gamut adjustment-based projection method according to claim 5, wherein the image brightness value of each frame to be projected is calculated by the following formula:
Figure DEST_PATH_IMAGE003
wherein, U is the image brightness value of each frame of image to be projected, n is the pixel number of image pixels in each frame of image to be projected,
Figure 274757DEST_PATH_IMAGE004
for each frame of gray values of the respective pixels in the image to be projected,
Figure DEST_PATH_IMAGE005
the average value of the pixel gray scale of each frame of the image to be projected.
7. The high gamut adjustment-based projection method according to any one of claims 1 to 6, wherein the calculating the gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment comprises:
if the image brightness value of each frame of image to be projected is greater than the environment brightness value, determining a first multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
calculating the color gamut characteristic value of each frame of image to be projected in the current environment based on the first multiple relation;
if the image brightness value of each frame of image to be projected is smaller than the environment brightness value, determining a second multiple relation between the image brightness value of each frame of image to be projected and the environment brightness value;
and calculating the color gamut characteristic value of each frame of the image to be projected in the current environment based on the second multiplier relation.
8. A high gamut adjustment based projection system comprising:
the analysis module is used for analyzing the data to be projected to obtain each frame of image to be projected in the data to be projected;
the first calculation module is used for calculating the image brightness value of each frame of image to be projected according to the gray value of each pixel in each frame of image to be projected and the pixel gray average value of each frame of image to be projected;
the second calculation module is used for calculating the color gamut characteristic value of each frame of image to be projected in the current environment according to the image brightness value of each frame of image to be projected and the environment brightness value of the current environment;
the determining module is used for obtaining a target color gamut characteristic value of each frame of image to be projected according to the depth map characteristic value of each frame of image to be projected and the color gamut characteristic value of each frame of image to be projected;
and the projection module is used for projecting each frame of image to be projected based on the target color gamut characteristic value of each frame of image to be projected.
9. A projector comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the high gamut adjustment based projection method according to any one of claims 1 to 7 when executing the computer program.
10. A non-transitory computer readable storage medium comprising a computer program, wherein the computer program when executed by a processor implements the high gamut adjustment based projection method of any one of claims 1 to 7.
CN202211417110.9A 2022-11-14 2022-11-14 Projection method, projection system and projector based on high color gamut adjustment Active CN115484447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211417110.9A CN115484447B (en) 2022-11-14 2022-11-14 Projection method, projection system and projector based on high color gamut adjustment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211417110.9A CN115484447B (en) 2022-11-14 2022-11-14 Projection method, projection system and projector based on high color gamut adjustment

Publications (2)

Publication Number Publication Date
CN115484447A CN115484447A (en) 2022-12-16
CN115484447B true CN115484447B (en) 2023-03-24

Family

ID=84395238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211417110.9A Active CN115484447B (en) 2022-11-14 2022-11-14 Projection method, projection system and projector based on high color gamut adjustment

Country Status (1)

Country Link
CN (1) CN115484447B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001100699A (en) * 1999-09-29 2001-04-13 Canon Inc Projection display device and its application system
JP2002125125A (en) * 2000-07-31 2002-04-26 Seiko Epson Corp Image display system of environment adaptation type, program and information storage medium
JP3894302B2 (en) * 2002-03-25 2007-03-22 セイコーエプソン株式会社 Image display system, image processing method, program, and information storage medium
CN105225256B (en) * 2015-06-10 2019-02-01 西安交通大学 A kind of display methods of high gray depth image
CN105096910B (en) * 2015-07-09 2018-02-16 西安诺瓦电子科技有限公司 Image processing method
CN109831658A (en) * 2019-04-03 2019-05-31 贵安新区新特电动汽车工业有限公司 Projected light tone adjusting method and projected light tone engagement positions
CN110769238B (en) * 2019-11-22 2021-04-27 成都极米科技股份有限公司 Projection environment brightness detection method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN115484447A (en) 2022-12-16

Similar Documents

Publication Publication Date Title
US11113795B2 (en) Image edge processing method, electronic device, and computer readable storage medium
EP3542347B1 (en) Fast fourier color constancy
WO2017121018A1 (en) Method and apparatus for processing two-dimensional code image, and terminal and storage medium
EP2582125B1 (en) Use of noise-optimized selection criteria to calculate scene white points
RU2721188C2 (en) Improved contrast and noise reduction on images obtained from cameras
JP2011521521A (en) Optimal video selection
CN111368587B (en) Scene detection method, device, terminal equipment and computer readable storage medium
CN114049264A (en) Dim light image enhancement method and device, electronic equipment and storage medium
US20120170861A1 (en) Image processing apparatus, image processing method and image processing program
CN107491718A (en) The method that human hand Face Detection is carried out under different lightness environment
CN115484447B (en) Projection method, projection system and projector based on high color gamut adjustment
CN115760653B (en) Image correction method, device, equipment and readable storage medium
CN110400355B (en) Method and device for determining monochrome video, electronic equipment and storage medium
CN112561906A (en) Image processing method, device, equipment and medium
US11113537B2 (en) Image detection using multiple detection processes
CN113391779B (en) Parameter adjusting method, device and equipment for paper-like screen
CN113628192B (en) Image blur detection method, apparatus, device, storage medium, and program product
CN110766153A (en) Neural network model training method and device and terminal equipment
CN116703739A (en) Image enhancement method and device
CN112243118B (en) White balance correction method, device, equipment and storage medium
CN112529030A (en) Learning model generation device, image correction method, and recording medium
CN115604448B (en) Projection method, projection system and projector for improving color gamut
CN110211085B (en) Image fusion quality evaluation method and system
CN113077422B (en) Foggy image detection method, model training method and device
CN113117341B (en) Picture processing method and device, computer readable storage medium and electronic equipment

Legal Events

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