Image projection method and device and electronic equipment

By determining image brightness information and adjusting backlight brightness in conjunction with gamma coefficient correction and ambient light brightness, the problem of insufficient contrast in projectors under different ambient light conditions is solved, resulting in a clearer image projection effect.

CN121367765APending Publication Date: 2026-01-20ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410977560.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2026-01-20

AI Technical Summary

Technical Problem

Existing projectors have low image contrast under different ambient light conditions, resulting in poor picture quality. In particular, details in dark areas are difficult to see, and the overall picture appears grayish in bright environments.

Method used

By determining the brightness information of the image to be projected, matching the gamma coefficient that meets the first color difference condition, the image is corrected, and the backlight brightness is dynamically adjusted in combination with the ambient light brightness and the projection size to improve the image contrast.

Benefits of technology

By dynamically adjusting the gamma coefficient and backlight brightness under different ambient light conditions, the contrast of the projected image is improved, ensuring clear details in dark areas and obvious bright effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121367765A_ABST
    Figure CN121367765A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an image projection method and device and electronic equipment. The method comprises the steps of determining brightness information of a to-be-projected image; a gamma coefficient matched with the brightness information and meeting a first color difference condition is determined, the gamma coefficient represents a parameter value of a brightness response characteristic, and the first color difference condition includes that the color difference between an actual projection color and a target projection color is smaller than a preset first value; correcting the image to be projected by adopting the gamma coefficient to obtain a corrected image; and projecting the corrected image. Therefore, before each image is projected, the gamma coefficient matched with the image and meeting the first color difference condition can be dynamically determined based on the brightness information of the image, and then the gamma coefficient is adopted to correct and project the image, so that different images can be processed by adopting different gamma coefficients meeting the first color difference condition in some cases, and thus the image processing efficiency is improved. The contrast of image projection can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of projection technology, and in particular to an image projection method, device and electronic equipment. BACKGROUND

[0002] With the maturity of LED (Light Emitting Diode) light source technology and laser technology, the body of a projector is getting smaller and smaller, and the application scenarios are getting richer and richer, and gradually moving towards the family. According to the data, the consumer market projection equipment gradually becomes the most important market segment of the projection equipment, and the shipment shows a high growth trend.

[0003] However, in the use of the projector, there is often a technical problem of low contrast. In the related art, the projection backlight brightness can be changed according to the ambient light. However, when the image data changes, simply changing the backlight will cause a certain loss of picture effect. For example, if a dark picture is currently played and the ambient light is also dark, the dark scene details cannot be seen, and if a bright picture is currently played and the ambient light is also dark, the overall picture is gray.

[0004] Therefore, how to improve the contrast of image projection is a technical problem worthy of attention. SUMMARY

[0005] In view of this, in order to solve one or more of the above technical problems, the embodiments of the present application provide an image projection method, device and electronic equipment.

[0006] In a first aspect, the embodiments of the present application provide an image projection method, which comprises:

[0007] determining brightness information of a to-be-projected image;

[0008] determining a gamma coefficient matched with the brightness information and meeting a first color difference condition, wherein the gamma coefficient represents a parameter value of a brightness response characteristic, and the first color difference condition includes that a color difference between an actual projection color and a target projection color is less than a preset first value;

[0009] correcting the to-be-projected image by using the gamma coefficient to obtain a corrected image;

[0010] projecting the corrected image.

[0011] In one possible implementation, before the projecting the corrected image, the method further comprises:

[0012] determining a projection size of the to-be-projected image and an ambient light brightness;

[0013] determine a projection brightness of the image to be projected based on the projection size and the ambient light brightness; and

[0014] project the corrected image, including:

[0015] project the corrected image according to the projection brightness.

[0016] In one possible implementation, the determination of the projection brightness of the image to be projected based on the projection size and the ambient light brightness includes:

[0017] determining the projection brightness corresponding to the projection size and the ambient light brightness based on a preset correspondence relationship, and taking the determined projection brightness as the projection brightness of the image to be projected.

[0018] The preset correspondence relationship represents a correspondence relationship among the projection size, the ambient light brightness, and the projection brightness, and the smaller the projection size belonging to a preset projection size range in the preset correspondence relationship is, the greater the corresponding projection brightness is.

[0019] In one possible implementation, the preset correspondence relationship is determined in the following manner:

[0020] For each brightness level in a set of pre-divided brightness levels, an association relationship among the ambient light brightness, the projection size, and the projection brightness corresponding to the brightness level is established in the following manner:

[0021] determining the projection size and the projection brightness that meet a preset brightness contrast standard under the ambient light brightness belonging to the brightness level, to obtain the projection size and the projection brightness corresponding to the brightness level.

[0022] taking the ambient light brightness belonging to the brightness level as the ambient light brightness corresponding to the brightness level, and establishing a correspondence relationship among the ambient light brightness, the projection size, and the projection brightness corresponding to the brightness level.

[0023] In one possible implementation, before the projection of the corrected image, the method further includes:

[0024] determining a backlight brightness based on the brightness information, where the backlight brightness is positively correlated with the brightness represented by the brightness information; and

[0025] project the corrected image, including:

[0026] project the corrected image according to the backlight brightness.

[0027] In one possible implementation, the determination of the gamma coefficient that matches the brightness information and meets the first chromatic aberration condition includes:

[0028] From the predetermined set of luminance trends, a luminance trend to which the luminance information conforms is determined, and the determined luminance trend is taken as a target luminance trend, wherein each of the luminance trends in the set of luminance trends corresponds to a gamma coefficient conforming to a first color difference condition;

[0029] The gamma coefficient conforming to the first color difference condition and corresponding to the target luminance trend is determined as the gamma coefficient matching the luminance information and conforming to the first color difference condition.

[0030] In a possible implementation, the correspondence between the luminance trend and the gamma coefficient is established in the following manner:

[0031] A projection measured luminance of a target image under the projection size and the ambient light luminance is determined, wherein the luminance information of the target image conforms to the luminance trend;

[0032] Based on the projection measured luminance, a gamma coefficient conforming to a first color difference condition is determined;

[0033] A correspondence between the luminance trend and the gamma coefficient conforming to the first color difference condition is established.

[0034] In a possible implementation, the luminance information includes a projection luminance and an ambient light luminance; and

[0035] The determination of the gamma coefficient matching the luminance information and conforming to the first color difference condition includes:

[0036] From a first set of gamma coefficients, a first gamma coefficient corresponding to the projection luminance is determined, wherein each of the first gamma coefficients in the first set of gamma coefficients corresponds to a projection luminance;

[0037] From a second set of gamma coefficients, a second gamma coefficient corresponding to the ambient light luminance is determined, wherein each of the second gamma coefficients in the second set of gamma coefficients corresponds to an ambient light luminance;

[0038] From the determined first gamma coefficient and the determined second gamma coefficient, a gamma coefficient conforming to a second color difference condition is determined, and the gamma coefficient conforming to the second color difference condition is taken as the gamma coefficient matching the luminance information.

[0039] In a second aspect, an embodiment of the present application provides an image projection device, and the device includes:

[0040] A first determination unit is configured to determine luminance information of an image to be projected.

[0041] a second determining unit configured to determine a gamma coefficient that matches the luminance information and meets a first color difference condition, wherein the gamma coefficient represents a parameter value of a luminance response characteristic, and the first color difference condition comprises that a color difference between an actual projection color and a target projection color is less than a preset first value;

[0042] a correcting unit configured to correct the image to be projected by using the gamma coefficient, to obtain a corrected image;

[0043] a projecting unit configured to project the corrected image.

[0044] In one possible implementation, the apparatus further includes:

[0045] a third determining unit configured to determine a projection size of the image to be projected and an ambient light luminance;

[0046] a fourth determining unit configured to determine a projection luminance of the image to be projected based on the projection size and the ambient light luminance; and

[0047] the projecting the corrected image comprises:

[0048] projecting the corrected image according to the projection luminance.

[0049] In one possible implementation, the determining the projection luminance of the image to be projected based on the projection size and the ambient light luminance comprises:

[0050] determining a projection luminance corresponding to the projection size and the ambient light luminance based on a preset correspondence relationship, and taking the determined projection luminance as the projection luminance of the image to be projected;

[0051] wherein the preset correspondence relationship represents a correspondence relationship among projection sizes, ambient light luminances, and projection luminances, and the smaller the projection size in a preset projection size range in the preset correspondence relationship is, the greater the corresponding projection luminance is.

[0052] In one possible implementation, the preset correspondence relationship is determined in the following manner:

[0053] for each luminance level in a set of pre-divided luminance levels, an association relationship among an ambient light luminance, a projection size, and a projection luminance corresponding to the luminance level is established in the following manner:

[0054] determining a projection size and a projection luminance that meet a preset luminance contrast standard under an ambient light luminance belonging to the luminance level, to obtain the projection size and the projection luminance corresponding to the luminance level;

[0055] The ambient light brightness belonging to the brightness level is taken as the ambient light brightness corresponding to the brightness level, and a corresponding relationship among the ambient light brightness corresponding to the brightness level, the projection size, and the projection brightness is established.

[0056] In one possible implementation, the apparatus further includes:

[0057] a fifth determining unit configured to determine a backlight brightness based on the brightness information, wherein the backlight brightness is positively correlated with the brightness indicated by the brightness information; and

[0058] The projecting the corrected image includes:

[0059] The projecting the corrected image includes:

[0060] In one possible implementation, the determining the gamma coefficient that matches the brightness information and meets the first color difference condition includes:

[0061] determining, from a set of predetermined brightness trends, a brightness trend that the brightness information meets, and taking the determined brightness trend as a target brightness trend, wherein each brightness trend in the set of brightness trends corresponds to a gamma coefficient that meets the first color difference condition;

[0062] determining, as the gamma coefficient that matches the brightness information and meets the first color difference condition, the gamma coefficient that meets the first color difference condition and corresponds to the target brightness trend.

[0063] In one possible implementation, a corresponding relationship between a brightness trend and a gamma coefficient is established in the following manner:

[0064] determining a projection measured brightness of a target image under the projection size and the ambient light brightness, wherein the brightness information of the target image meets the brightness trend;

[0065] determining, based on the projection measured brightness, a gamma coefficient that meets the first color difference condition;

[0066] establishing a corresponding relationship between the brightness trend and the gamma coefficient that meets the first color difference condition.

[0067] In one possible implementation, the first color difference condition includes that DE2000 is less than a preset first numerical value.

[0068] In one possible implementation, the brightness information includes a projection brightness and an ambient light brightness; and

[0069] The determining the gamma coefficient that matches the brightness information and meets the first color difference condition includes:

[0070] From the first set of gamma coefficients, determine the first gamma coefficient corresponding to the projected brightness, wherein each first gamma coefficient in the first set of gamma coefficients corresponds to a projected brightness;

[0071] From the second set of gamma coefficients, determine the second gamma coefficient corresponding to the ambient light intensity, wherein each second gamma coefficient in the second set of gamma coefficients corresponds to an ambient light intensity;

[0072] From the determined first gamma coefficient and the determined second gamma coefficient, a gamma coefficient that meets the second color difference condition is determined, and the gamma coefficient that meets the second color difference condition is taken as the gamma coefficient that matches the brightness information.

[0073] Thirdly, embodiments of this application provide an electronic device, including:

[0074] Memory, used to store computer programs;

[0075] A processor is configured to execute a computer program stored in the memory, wherein, when the computer program is executed, it implements the method of any embodiment of the image projection method of the first aspect of this application described above.

[0076] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the method of any embodiment of the image projection method of the first aspect described above.

[0077] Fifthly, embodiments of this application provide a computer program product comprising computer-readable code that, when executed on a device, causes a processor in the device to implement the method of any embodiment of the image projection method of the first aspect described above.

[0078] The image projection method provided in this application can determine the brightness information of the image to be projected, then determine a gamma coefficient that matches the brightness information and meets a first color difference condition, wherein the gamma coefficient represents a parameter value of the brightness response characteristics, and the first color difference condition includes that the color difference between the actual projected color and the target projected color is less than a preset first value. Then, the gamma coefficient is used to correct the image to be projected to obtain a corrected image, and subsequently, the corrected image is projected. Therefore, before projecting each image, a matching gamma coefficient that meets the first color difference condition can be dynamically determined based on the brightness information of the image, and then the image can be corrected and projected using this gamma coefficient. In some cases, different images can be processed using different gamma coefficients that meet the first color difference condition, thereby improving the contrast of the image projection. Attached Figure Description

[0079] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.

[0080] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the accompanying drawings required by the embodiments or the prior art description will be briefly introduced as follows. Obviously, those skilled in the art can obtain other drawings from these drawings without any creative effort.

[0081] One or more embodiments are illustrated by the drawings in the accompanying drawings, which do not constitute a limitation on the embodiments, and elements with the same reference numerals in the drawings represent similar elements, unless otherwise specified. The drawings in the drawings do not constitute a proportional limit.

[0082] Figure 1 A flowchart of an image projection method provided by an embodiment of the present application is shown in the figure;

[0083] Figure 2 A flowchart of another image projection method provided by an embodiment of the present application is shown in the figure;

[0084] Figure 3 A relationship between projection brightness and projection size in an image projection method provided by an embodiment of the present application is shown in the figure;

[0085] Figure 4 A structural diagram of an image projection device provided by an embodiment of the present application is shown in the figure;

[0086] Figure 5 A structural diagram of an electronic device provided by an embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0087] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. It should be noted that the relative arrangement, numerical expression and values of the components and steps described in these embodiments do not limit the scope of the present application, unless otherwise specified.

[0088] Those skilled in the art can understand that the terms "first", "second" and the like in the embodiments of the present application are only used to distinguish different steps, devices or modules, and do not represent any specific technical meaning, nor represent the logical order between them.

[0089] It should also be understood that in the present embodiment, "a plurality of" can mean two or more, and "at least one" can mean one, two or more.

[0090] It should also be understood that, with respect to any part, data or structure mentioned in the embodiments of the present application, one or more can be generally understood without explicit limitation or in the context of the opposite implication.

[0091] In addition, the term "and / or" in the present application is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. In addition, the character " / " in the present application generally represents that the front and rear associated objects are in an "or" relationship.

[0092] It should also be understood that the description of the embodiments of the present application emphasizes the differences between the embodiments, and the same or similar parts can be referred to each other, and for the sake of brevity, will not be repeated.

[0093] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way limiting of the application or its use.

[0094] The techniques, methods, and devices known to those of ordinary skill in the relevant art can not be discussed in detail, but in appropriate cases, the above-mentioned techniques, methods and devices should be regarded as part of the specification.

[0095] It should be noted that: similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0096] It should be noted that the embodiments and features in the embodiments in the present application can be combined with each other without conflict. For the understanding of the embodiments of the present application, the present application will be described in detail below with reference to the drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor are within the scope of protection of the present application.

[0097] In order to solve the technical problem of how to improve the contrast of image projection in the prior art, the present application provides an image projection method, device and electronic equipment, which can improve the contrast of image projection.

[0098] Figure 1A flowchart of an image projection method provided by an embodiment of the present application is shown. The method can be applied to one or more electronic devices such as a projector, a smart phone, a notebook computer, a desktop computer, a portable computer, a server, etc. In addition, the execution subject of the method can be hardware or software. When the execution subject is hardware, the execution subject can be one or more of the electronic devices. For example, a single electronic device can execute the method, or multiple electronic devices can execute the method in cooperation with each other. When the execution subject is software, the method can be implemented as one or more software or software modules, or as a single software or software module. No specific limitation is imposed herein.

[0099] As shown in Figure 1 , the method specifically includes:

[0100] Step 101: determining luminance information of an image to be projected.

[0101] In this embodiment, the image to be projected can be an image to be projected. As an example, the image to be projected can be a video frame in a video.

[0102] The luminance information can represent the luminance of the image to be projected. As an example, the luminance information can include the gray scale of the image to be projected, the luminance histogram (gray scale histogram) of the image to be projected, the weighted average luminance, the average luminance, the median luminance, etc.

[0103] Step 102: determining a gamma coefficient matching the luminance information and meeting a first color difference condition, wherein the gamma coefficient represents a parameter value of a luminance response characteristic, and the first color difference condition includes that a color difference between an actual projection color and a target projection color is less than a preset first value.

[0104] In this embodiment, the luminance represented by different luminance information can (but not necessarily) match different gamma coefficients meeting the first color difference condition.

[0105] Here, a matching relationship between the luminance information and the gamma coefficients meeting the first color difference condition can be established in advance, so that the gamma coefficient matching the luminance information and meeting the first color difference condition can be determined based on the matching relationship.

[0106] The color difference between the actual projection color and the target projection color can be determined based on a DE2000 color difference formula. DE2000 is a color difference formula proposed and recommended by the International Commission on Illumination (CIE) in 2000. In this case, the first color difference condition can be that the color difference value determined by the DE2000 color difference formula is less than a preset first value (e.g., 1).

[0107] In addition, the color difference between the target projection color and the actual projection color can also be determined based on a CIELAB (International Commission on Illumination LAB color space) color difference formula. In this case, the first color difference condition can be that the color difference value determined using the CIELAB color difference formula is less than a preset second numerical value. In "CIELAB", "L" represents luminance, "A" represents a color component from green to red, and "B" represents a color component from blue to yellow. Together, they form a three-dimensional space for describing and quantifying colors.

[0108] In step 103, the gamma coefficient is used to correct the to-be-projected image to obtain a corrected image.

[0109] In this embodiment, different gamma coefficients can correspond to different gamma curves. Thus, the gamma curve corresponding to the gamma coefficient determined in step 102 can be used to correct the pixels in the to-be-projected image.

[0110] In addition, for each gamma coefficient, a corresponding relationship between a plurality of different gray scales and luminances corresponding to the gamma coefficient can also be stored, and the corresponding relationship can be used to correct the pixels in the to-be-projected image.

[0111] In step 104, the corrected image is projected.

[0112] In this embodiment, after the corrected image is obtained, the corrected image can be further projected.

[0113] In some optional implementations of this embodiment, before the corrected image is projected, the backlight luminance can also be determined based on the luminance information.

[0114] As an example, the backlight luminance can be determined based on the luminance information by using a preset formula, a corresponding relationship table, or the like, where the backlight luminance is positively correlated with the luminance represented by the luminance information.

[0115] The preset formula and the corresponding relationship table can represent the corresponding relationship between the luminance information and the backlight luminance.

[0116] On this basis, the corrected image can be projected in the following manner:

[0117] The corrected image is projected according to the backlight luminance.

[0118] The backlight luminance can be the luminance of the projector backlight.

[0119] It can be understood that, in the optional implementation manner above, the backlight brightness can be dynamically determined and projected based on the brightness information of the image to be projected, so that in some cases different images can (but not necessarily) be projected with different backlight brightness, thereby the contrast of image projection can be further improved. Moreover, the lower the brightness of the image to be projected is, the darker the backlight is, and the higher the brightness of the image to be projected is, the brighter the backlight is, so that the measured brightness of the image to be projected with high brightness after projection is brighter, and the measured brightness of the image to be projected with low brightness after projection is darker.

[0120] In some optional implementation manners of the embodiment, the gamma coefficient that matches the brightness information and meets the first chromatic aberration condition can be determined in the following manner:

[0121] Firstly, a brightness trend that the brightness information meets is determined from a set of predetermined brightness trends, and the determined brightness trend is taken as a target brightness trend.

[0122] Each brightness trend in the set of brightness trends corresponds to a gamma coefficient that meets the first chromatic aberration condition.

[0123] The number of brightness trends in the set of brightness trends can be a preset value, such as 3, 4, or 5. In some cases, the number of brightness trends in the set of brightness trends can be determined according to the performance of the CPU (Central Processing Unit) and / or GPU (Graphics Processing Unit) in the execution subject (for example, the projector) of the method. For example, the better the performance of the CPU is, the more the number of brightness trends in the set of brightness trends can be.

[0124] Here, each brightness trend in the set of brightness trends above can correspond to an image under different brightness.

[0125] The target brightness trend above can be a brightness trend in the set of brightness trends that represents the trend of the brightness histogram.

[0126] Secondly, the gamma coefficient that meets the first chromatic aberration condition and corresponds to the target brightness trend is determined as the gamma coefficient that matches the brightness information and meets the first chromatic aberration condition.

[0127] It can be understood that, in the optional implementation manner above, the corresponding gamma coefficient can be dynamically determined in different brightness scenarios by determining the corresponding gamma coefficient for each brightness trend in the set of brightness trends, thereby the contrast of image projection can be further improved.

[0128] In some optional implementations of the embodiment, the luminance information of the image to be projected can be determined in the following manner: a luminance histogram of the image to be projected is determined, and the luminance histogram is taken as the luminance information of the image to be projected.

[0129] The luminance histogram is also referred to as a grayscale histogram. The grayscale histogram is a function of a grayscale level, and describes the number of pixels in the image having the grayscale level. The abscissa is the grayscale level, and the ordinate is the frequency of the grayscale level, which describes the grayscale distribution in the image and can show how much each grayscale level accounts for in the image.

[0130] On this basis, the gamma coefficient that matches the luminance information and meets the first chromatic aberration condition can be determined in the following manner:

[0131] First, a luminance trend of the luminance histogram is determined from a set of predetermined luminance trends, and the determined luminance trend is taken as a target luminance trend.

[0132] Each luminance trend in the set of luminance trends corresponds to a gamma coefficient that meets the first chromatic aberration condition.

[0133] The number of luminance trends in the set of luminance trends can be a preset value, such as 3, 4, or 5. In some cases, the number of luminance trends in the set of luminance trends can be determined according to the performance of the CPU (Central Processing Unit) and / or GPU (Graphics Processing Unit) in the execution subject (for example, a projector) of the method. For example, if the performance of the CPU is better, the number of luminance trends in the set of luminance trends can be greater.

[0134] Here, each luminance trend in the set of luminance trends described above can correspond to an image under different luminance.

[0135] The target luminance trend described above can be a luminance trend in the set of luminance trends that represents the trend of the luminance histogram.

[0136] Second, the gamma coefficient that meets the first chromatic aberration condition and corresponds to the target luminance trend is determined as the gamma coefficient that matches the luminance information and meets the first chromatic aberration condition.

[0137] It can be understood that in the optional implementation described above, the corresponding gamma coefficient can be dynamically determined under different luminance scenarios by determining the corresponding gamma coefficient for each luminance trend in the set of luminance trends, and thus the contrast of image projection can be further improved.

[0138] In some application scenarios of the optional implementation, the correspondence between the brightness trend and the gamma coefficient is established in the following manner:

[0139] First, the projection measured brightness of the target image under the projection size and the ambient light brightness is determined.

[0140] The brightness information of the target image conforms to the brightness trend.

[0141] Second, the gamma coefficient conforming to the first color difference condition is determined based on the projection measured brightness.

[0142] Third, the correspondence between the brightness trend and the gamma coefficient conforming to the first color difference condition is established.

[0143] Specifically, the gray scale histogram of an image (for example, an image in a video M) can be counted first, and 32 points are divided. Each image can form a curve according to the 32 points. Different images form different curve trends, and it is assumed that there are N trends. N is the number of brightness trends in the brightness trend set. M must be greater than N, and it is assumed that one of the brightness trends in the brightness trend set is N1, and there must be an image belonging to N1, which is referred to as M1 here. Here, in some cases (for example, in the case of determining the projection brightness based on the projection size and the ambient light brightness), the projection brightness can be dynamically changed. Since the projection brightness is changing, M1 will also correspond to a projection brightness, which is referred to as brightness_lightsensor1. The gray scale distribution of a picture and whether the brightness mapping is correct can be measured by DE2000<1. DE2000 is determined by x, y, lv and GAMMA (gamma) coefficients. x and y represent the positions of the pixels in the image, and lv represents the measured brightness. Through a large number of user tests and experiences, the data of x, y and GAMMA coefficients can be obtained. A GAMMA1' conforming to DE2000<1 (that is, the first color difference condition) can be adjusted by brightness_contrast1. Because DE2000<1 GAMMA1', the GAMMA1' is the gamma coefficient conforming to the first color difference condition.

[0144] It can be understood that in the above application scenarios, the correspondence between each brightness trend in the brightness trend set and the gamma coefficient conforming to the first color difference condition can be established. Thus, for a to-be-projected image, a gamma coefficient conforming to the first color difference condition and matching the to-be-projected image can be determined according to the brightness trend of the to-be-projected image. In this way, the first color difference condition can be met when the to-be-projected image is projected, and thus the contrast of the image projection is further improved.

[0145] In some optional implementations of the embodiment, the luminance information includes a projection luminance and an ambient light luminance.

[0146] On this basis, the gamma coefficient that matches the luminance information and meets the first color difference condition can be determined in the following manner:

[0147] First, a first gamma coefficient corresponding to the projection luminance is determined from a first gamma coefficient set.

[0148] Each first gamma coefficient in the first gamma coefficient set corresponds to a projection luminance. The first gamma coefficient set can include multiple first gamma coefficients, and each first gamma coefficient can have a corresponding relationship with a projection luminance.

[0149] As an example, the corresponding relationship between the projection luminance and the first gamma coefficient can be established in the following manner:

[0150] First, multiple different projection luminances are determined to obtain a projection luminance set.

[0151] Then, for each projection luminance in the projection luminance set, a gamma coefficient that meets the first color difference condition (e.g., DE2000<1) corresponding to the projection luminance is determined to obtain a first gamma coefficient corresponding to the projection luminance.

[0152] Second, a second gamma coefficient corresponding to the ambient light luminance is determined from a second gamma coefficient set.

[0153] Each second gamma coefficient in the second gamma coefficient set corresponds to an ambient light luminance. The second gamma coefficient set can include multiple second gamma coefficients, and each second gamma coefficient can have a corresponding relationship with an ambient light luminance.

[0154] As an example, the corresponding relationship between the ambient light luminance and the second gamma coefficient can be established in the following manner:

[0155] First, multiple different ambient light luminances are determined to obtain an ambient light luminance set.

[0156] Then, for each ambient light luminance in the ambient light luminance set, a gamma coefficient that meets the first color difference condition (e.g., DE2000<1) corresponding to the ambient light luminance is determined to obtain a second gamma coefficient corresponding to the ambient light luminance.

[0157] Third, a gamma coefficient that meets a second color difference condition is determined from the determined first gamma coefficient and the determined second gamma coefficient, and the gamma coefficient that meets the second color difference condition is taken as the gamma coefficient that matches the luminance information.

[0158] The second color difference can represent a color difference corresponding to a smaller gamma coefficient. For example, if the color difference corresponding to the first gamma coefficient is A, and the color difference corresponding to the second gamma coefficient is B. If A is less than B, the first gamma coefficient can be determined as the gamma coefficient meeting the second color difference condition; if A is greater than B, the second gamma coefficient can be determined as the gamma coefficient meeting the second color difference condition.

[0159] It can be understood that in the optional implementation, the image projection can be performed in a manner with smaller color difference.

[0160] The image projection method provided by the embodiment of the present application can determine the brightness information of the image to be projected, then determine the gamma coefficient matching the brightness information and meeting the first color difference condition, wherein the gamma coefficient represents a parameter value of the brightness response characteristic, and the first color difference condition includes that the color difference between the actual projection color and the target projection color is less than a preset first value, then correct the image to be projected by using the gamma coefficient to obtain a corrected image, and subsequently project the corrected image. In this way, the gamma coefficient matching the brightness information of each image and meeting the first color difference condition can be dynamically determined before the image is projected, and the image is corrected and projected by using the gamma coefficient. In this way, in some cases, different images can be processed by using different gamma coefficients meeting the first color difference condition, thereby improving the contrast of image projection.

[0161] Figure 2 The flowchart of another image projection method provided by the embodiment of the present application is shown.

[0162] As shown in the Figure 2 , the method specifically includes:

[0163] Step 201, determining the brightness information of the image to be projected.

[0164] In the embodiment, step 201 is basically the same as step 101 in the corresponding embodiment, which will not be repeated here. Figure 1

[0165] Step 202, determining the gamma coefficient matching the brightness information and meeting the first color difference condition, wherein the gamma coefficient represents a parameter value of the brightness response characteristic, and the first color difference condition includes that the color difference between the actual projection color and the target projection color is less than a preset first value.

[0166] In the embodiment, step 202 is basically the same as step 102 in the corresponding embodiment, which will not be repeated here. Figure 1

[0167] Step 203, correcting the image to be projected by using the gamma coefficient to obtain a corrected image.​​

[0168] In the embodiment, step 203 is substantially the same as step 103 in the corresponding embodiment, which will not be described herein. Figure 1

[0169] In step 204, the projection size and the ambient light brightness of the image to be projected are determined.

[0170] In the embodiment, the projection size can be determined according to the parameters of the projector, or can be calculated by the projection distance collected by the distance sensor.

[0171] The ambient light brightness can be collected by the light brightness sensor.

[0172] In step 205, the projection brightness of the image to be projected is determined based on the projection size and the ambient light brightness.

[0173] In the embodiment, the projection brightness of the image to be projected can be determined in various ways based on the projection size and the ambient light brightness.

[0174] As an example, a set of projection sizes and a set of ambient light brightnesses can be preset. Then, one projection size is selected from the set of preset projection sizes, and one ambient light brightness is selected from the set of ambient light brightnesses, so as to obtain one combination of projection size and ambient light brightness. In this way, a plurality of combinations of projection size and ambient light brightness can be obtained. Then, for each combination of projection size and ambient light brightness, the corresponding projection brightness is determined from a set of preset projection brightnesses by means of artificial observation, preset contrast standard, preset brightness standard, etc., and the determined projection brightness is associated with the projection size and the ambient light brightness in the combination. In this way, based on the association, the projection brightness associated with the projection size and the ambient light brightness determined in step 204 can be determined, and then the projection brightness can be determined as the projection brightness of the image to be projected.

[0175] In addition, the projection brightness of the image to be projected can also be determined in other ways based on the projection size and the ambient light brightness, which will be described later and will not be described herein.

[0176] In step 206, the corrected image is projected according to the projection brightness.

[0177] In the embodiment, after the projection brightness is dynamically determined, the corrected image can be projected according to the projection brightness.

[0178] In some optional implementation manners of the embodiment, the projection brightness of the image to be projected can be determined based on the projection size and the ambient light brightness in the following way: ​

[0179] Based on the preset corresponding relationship, a projection brightness corresponding to the projection size and the ambient light brightness is determined, and the determined projection brightness is taken as the projection brightness of the image to be projected.

[0180] The preset corresponding relationship represents a corresponding relationship among the projection size, the ambient light brightness and the projection brightness. The smaller the projection size belonging to a preset projection size range in the preset corresponding relationship is, the greater the corresponding projection brightness is.

[0181] Here, the preset corresponding relationship can be established in various ways.

[0182] As an example, a projection size sequence and a projection brightness sequence can be preset. Each projection size in the projection size sequence is arranged according to the projection size, and each projection brightness in the projection brightness sequence is arranged according to the projection brightness. In the case where the projection size sequence is arranged in the order of projection size from large to small, the projection brightness sequence is arranged in the order of projection brightness from large to small; in the case where the projection size sequence is arranged in the order of projection size from small to large, the projection brightness sequence is arranged in the order of projection brightness from small to large. Then, a projection size and a projection brightness are selected from the preset projection size sequence and the preset projection brightness sequence in a preset order (for example, from front to back or from back to front), thereby obtaining a projection size and projection brightness combination. In this way, multiple projection size and projection brightness combinations can be obtained. Then, for each projection size and projection brightness combination, the corresponding ambient light brightness is determined from the preset ambient light brightness set by means of artificial observation, a preset contrast standard, a preset brightness standard, and the like, and the determined ambient light brightness is associated with the projection size and the projection brightness in the combination.

[0183] In addition, the preset corresponding relationship can also be established in other ways, which will be described later and will not be described here.

[0184] It can be understood that in the above optional implementation, since the larger the projection size is, the greater the projection brightness is, the contrast of the image projection can be further improved.

[0185] In some application scenarios of the above optional implementation, the preset corresponding relationship is determined in the following way:

[0186] For each brightness level in the preset brightness level set, the following way is used to establish the association relationship among the ambient light brightness, the projection size and the projection brightness corresponding to the brightness level:

[0187] Firstly, a projection size and a projection brightness conforming to a preset brightness contrast standard under an ambient light brightness belonging to the brightness level are determined to obtain the projection size and the projection brightness corresponding to the brightness level.

[0188] The preset brightness contrast standard can include a standard related to brightness and contrast of a projection system in a Society of Motion Picture and Television Engineers, a broadcast film and television industry standard.

[0189] The projection size corresponding to the brightness level can be the projection size conforming to the preset brightness contrast standard. The projection brightness corresponding to the brightness level can be the projection brightness conforming to the preset brightness contrast standard.

[0190] Then, the ambient light brightness belonging to the brightness level is taken as the ambient light brightness corresponding to the brightness level, and a corresponding relationship among the ambient light brightness corresponding to the brightness level, the projection size and the projection brightness is established.

[0191] For example, according to some brightness and contrast standards, combined with a large amount of user test and experience collected data, the brightness is set to brightness1 (for example, 200 nits) in a dark room, and the contrast is kept to contrast1 (for example, 200:1) in a non-dark room to achieve the best brightness viewing effect of the human eye. Thus, a mapping relationship of the projection size and the best brightness (that is, the projection brightness) can be obtained.

[0192] The ambient light can be divided into multiple levels through brightness1 and contrast1. For example, the ambient light can be divided into the following five levels: a dark room, a dim room, a bright room, a light room and a semi-outdoor. The five levels can be mapped to five brightnesses. Thus, the projection size, the ambient light brightness and the projection brightness (determined by the projector current) form a three-dimensional table, and the current best brightness, that is, the projection brightness of the image to be projected, can be obtained through the ambient light brightness and the projection size.

[0193] It can be understood that, in the application scenario, since the corresponding relationship among the ambient light brightness, the projection size and the projection brightness conforming to the preset brightness contrast standard is established, the problem of dark field detail loss in the case of dynamically determining the backlight brightness of projection can be solved.

[0194] It should be noted that, in addition to the above-mentioned content, the present embodiment can also include Figure 1 the corresponding technical features described in the corresponding embodiments, and thus the technical effects of the image projection method are achieved. For details, please refer to Figure 1 the related description, which will not be repeated here for brevity. Figure 1

[0195] ​The image projection method provided by the embodiments of the present application can dynamically determine the projection brightness of each image based on the projection size of the image and the ambient brightness before projecting each image, and project the corresponding image according to the dynamically determined projection brightness. In this way, different projection brightnesses can be used to process different images in some cases, thereby improving the contrast of image projection.

[0196] The embodiments of the present application are exemplarily described below, but it should be noted that the embodiments of the present application can have the features described below, but the following description does not constitute a limitation on the protection scope of the embodiments of the present application.

[0197] In the conventional image display contrast enhancement method of a projector, the transparency of a picture is enhanced by brightness and contrast to achieve a strong contrast effect. The existing projector can adjust the projection laser or LED (Light Emitting Diode) backlight brightness level according to the ambient light. For example, in order to obtain a good visual effect in the daytime, the backlight brightness can be automatically increased to ensure image color restoration; in the evening, the brightness can be appropriately reduced to avoid glare and also to compensate for the lack of black projection. However, the current solution of light sensor only simply changes the projection backlight brightness according to the ambient light, and when the image data changes, simply changing the backlight will cause a certain loss of picture effect. For example, when a dark picture is currently played and the ambient light is also dark, the dark details cannot be seen, and for example, when a bright picture is currently played and the ambient light is also dark, the overall picture is gray and dim. In some technologies, the dark details are improved by adjusting GAMMA or dynamic contrast curve. Modifying GAMMA usually prepares a GAMMA coefficient according to the brightness of the projector, such as 2.2, so that GAMMA does not change all the time. When scenes outside the standard brightness range are played, since GAMMA does not accurately adapt to the high or low brightness of the image, the projector light brightness does not match, the dark field is white when it is too bright, and the contrast is poor, and the dark details are lost when it is too dark. In some other solutions, a dynamic contrast curve is used. For example, three curves are used, corresponding to bright scenes, medium bright scenes and dark scenes. According to the different projection content scenes, the three curves are mixed and then a curve is output that conforms to the current scene. The horizontal coordinate of the curve can represent the gray scale, and the vertical coordinate can represent the physically measured brightness. However, although this can dynamically change the brightness of the current picture, in the projector product affected by the surrounding ambient light, some details and contrast are still lost. It can be seen that the biggest pain point of the projector is that the dark field is not dark enough and the contrast is poor.

[0198] Therefore, the present scheme adds a lightsensor to change the backlight brightness according to the ambient light brightness. The projection backlight brightness is changed according to the projection size and the projection distance to keep the projection at a fixed contrast ratio. The projection backlight brightness is changed according to the image brightness. Different scene models are distinguished by AI learning to dynamically change the GAMMA curve.

[0199] Firstly, the present scheme can determine the relationship among the ambient light brightness, the projection size, and the projection brightness, i.e., the above-mentioned preset corresponding relationship.

[0200] According to the standards of brightness and contrast ratio of the projection system in the Society of Motion Picture and Television Engineers and the China Radio Film and Television Industry Standard, i.e., the above-mentioned preset brightness and contrast ratio standards, and combined with a large amount of user test and experience data collected, the brightness is set at brightness1 (e.g., 200 nits) in a completely dark room, and the contrast ratio is kept at contrast1 (e.g., 200:1) in a non-completely dark room to achieve the best brightness viewing effect of the human eye.

[0201] Therefore, according to the above-mentioned proportional relationship, a curve as shown in FIG. 2 can be obtained, where the horizontal coordinate X represents the projection size, and the vertical coordinate Y represents the best brightness, i.e., the above-mentioned projection brightness. Figure 3

[0202] The brightness1 and contrast1 can divide the ambient light into five levels. For example, a dark room, a dim room, a bright room, a light room, and a semi-outdoor room. The five levels can map five brightnesses.

[0203] Therefore, the projection size, the ambient light brightness, and the projection brightness form a three-dimensional table (i.e., the above-mentioned preset corresponding relationship), and the current best brightness (i.e., the projection brightness) can be obtained through the ambient light brightness and the projection size, which is referred to as brightness_lightsensor.

[0204] In addition, the present scheme can dynamically determine the backlight brightness.

[0205] ​The average brightness and maximum brightness of the image (which can be any image) are used to adjust the backlight brightness of the projector. Here, there is a mapping curve of the average gray scale of the image and the backlight brightness. Here, different gray scales and backlights also correspond to a brightness, which is called brightness_contrast (i.e., the above-mentioned measured brightness of the projection). For example, the lower the image gray scale, the darker the backlight, and the higher the image gray scale, the brighter the backlight. This has the advantage that the bright is brighter and the dark is darker. Here, the dark is the measured physical brightness, so the contrast is high. However, in some cases, there is a problem in determining the backlight brightness only by using this scheme: the lower the image gray scale, the lower the brightness_contrast, thereby causing the dark field details to be lost.

[0206] To solve the above problem, the contrast can be dynamically adjusted.

[0207] Specifically, the image gray scale histogram, i.e., the above-mentioned brightness histogram, can be counted, and 32 points can be divided. Each image can form a curve according to the 32 points. Different images form different curve trends, and it is assumed that there are N trends (i.e., the above-mentioned brightness trend set). The number of images is assumed to be M images in the video. M must be greater than N. It is assumed that a trend is called N1, and there must be an image belonging to N1. Here, this image is called M1. Because brightness_lightsensor is variable, M1 will also correspond to a brightness of brightness_lightsensor, which is called brightness_lightsensor1 here.

[0208] Here, artificial intelligence can be used to determine which trend the image to be projected belongs to among the N trends.

[0209] For the gray scale distribution of a picture, whether the brightness mapping is correct can be measured by DE2000<1 (i.e., the above-mentioned first color difference condition). DE2000 is determined by x, y (color point coordinates), lv, and the coefficient of GAMMA. Among them, x and y represent the coordinates of the pixel color point, and lv represents the measured brightness of the luminance meter. Through a large number of user tests and experiences, the data of x, y, and the coefficient of GAMMA can be obtained.

[0210] Therefore, N1 of a picture can debug a GAMMA1 that meets DE2000<1 through brightness_lightsensor1. Similarly, brightness_contrast1 can also debug a GAMMA1' that meets DE2000<1. Because DE2000<1 GAMMA1' exists, the above-mentioned dynamic backlight causes the problem of dark field details being lost to be solved.

[0211] It should be noted that in addition to the above, the present embodiment can also include the technical features described in the above embodiments, and further achieve the technical effects of the above image projection method. For details, please refer to the above description. For brevity, no further description is given here.

[0212] The image projection method provided by the embodiment of the present application changes the backlight brightness and the picture brightness at the same time. The picture brightness is increased while the backlight is reduced, and the picture brightness is reduced while the backlight is increased, and the two interact to achieve a perfect balance, solving the problem of poor dynamic contrast. In addition, the AI dynamic contrast method is added to optimize the image contrast in different scenes through scene learning, and the number of scenes can be increased according to the CPU or GPU capability. The present solution not only changes the brightness by changing the ambient light, but also changes the image brightness GAMMA, so that the backlight brightness and the image brightness meet the best brightness ratio. The light sensitivity not only changes the backlight, but also changes the image brightness, and meets the condition of DE2000 less than 1. Therefore, a three-dimensional LUT (Lookup Table) of ambient light, backlight brightness and projection size is established. The AI scene algorithm is applied in the present solution, which not only increases the scene model, but also sets the parameters to meet the DE2000<1 standard. Moreover, through machine learning, the brightness trend can be judged, and the set curve GAMMA can realize better viewing brightness and better contrast under different ambient light and different image modes.

[0213] Figure 4 A structural schematic diagram of an image projection device provided by the embodiment of the present application is shown. Specifically, it includes:

[0214] The first determination unit 401 is configured to determine the brightness information of the image to be projected.

[0215] The second determination unit 402 is configured to determine a gamma coefficient that matches the brightness information and meets a first color difference condition, wherein the gamma coefficient represents a parameter value of a brightness response characteristic, and the first color difference condition includes that a color difference between an actual projection color and a target projection color is less than a preset first value.

[0216] The correction unit 403 is configured to correct the image to be projected by using the gamma coefficient to obtain a corrected image.

[0217] The projection unit 404 is configured to project the corrected image.

[0218] In one possible implementation, the device further includes:

[0219] The third determination unit (not shown in the figure) is configured to determine the projection size and the ambient light brightness of the image to be projected.

[0220] a fourth determining unit (not shown in the figure) configured to determine a projection brightness of the image to be projected based on the projection size and the ambient light brightness; and

[0221] the projecting the corrected image comprises:

[0222] the projecting the corrected image comprises:

[0223] In one possible implementation, the determining the projection brightness of the image to be projected based on the projection size and the ambient light brightness comprises:

[0224] determining the projection brightness corresponding to the projection size and the ambient light brightness based on a preset correspondence relationship, and taking the determined projection brightness as the projection brightness of the image to be projected;

[0225] wherein the preset correspondence relationship represents a correspondence relationship among the projection size, the ambient light brightness and the projection brightness, and the smaller the projection size belonging to a preset projection size range in the preset correspondence relationship is, the greater the corresponding projection brightness is.

[0226] In one possible implementation, the preset correspondence relationship is determined in the following manner:

[0227] for each brightness level in a set of brightness levels divided in advance, an association relationship among the ambient light brightness, the projection size and the projection brightness corresponding to the brightness level is established in the following manner:

[0228] determining the projection size and the projection brightness that meet a preset brightness contrast standard under the ambient light brightness belonging to the brightness level, to obtain the projection size and the projection brightness corresponding to the brightness level;

[0229] taking the ambient light brightness belonging to the brightness level as the ambient light brightness corresponding to the brightness level, and establishing a correspondence relationship among the ambient light brightness, the projection size and the projection brightness corresponding to the brightness level.

[0230] In one possible implementation, the apparatus further comprises:

[0231] a fifth determining unit (not shown in the figure) configured to determine a backlight brightness based on the brightness information, wherein the backlight brightness is positively correlated with the brightness represented by the brightness information; and

[0232] the projecting the corrected image comprises:

[0233] the projecting the corrected image comprises:

[0234] In a possible implementation, the determining the gamma coefficient that matches the luminance information and meets the first color difference condition comprises:

[0235] From a set of predetermined luminance trends, a luminance trend that the luminance information meets is determined, and the determined luminance trend is taken as a target luminance trend, wherein each luminance trend in the set of luminance trends corresponds to a gamma coefficient that meets the first color difference condition;

[0236] The gamma coefficient that meets the first color difference condition and corresponds to the target luminance trend is determined as the gamma coefficient that matches the luminance information and meets the first color difference condition.

[0237] In a possible implementation, the correspondence between the luminance trend and the gamma coefficient is established in the following manner:

[0238] A projection measured luminance of the target image under the projection size and the ambient light luminance is determined, wherein the luminance information of the target image meets the luminance trend;

[0239] Based on the projection measured luminance, a gamma coefficient that meets the first color difference condition is determined;

[0240] The correspondence between the luminance trend and the gamma coefficient that meets the first color difference condition is established.

[0241] In a possible implementation, the first color difference condition comprises: DE2000 is less than a preset first numerical value.

[0242] In a possible implementation, the luminance information comprises a projection luminance and an ambient light luminance; and

[0243] The determining the gamma coefficient that matches the luminance information and meets the first color difference condition comprises:

[0244] From a set of first gamma coefficients, a first gamma coefficient corresponding to the projection luminance is determined, wherein each first gamma coefficient in the set of first gamma coefficients corresponds to a projection luminance;

[0245] From a set of second gamma coefficients, a second gamma coefficient corresponding to the ambient light luminance is determined, wherein each second gamma coefficient in the set of second gamma coefficients corresponds to an ambient light luminance;

[0246] From the determined first gamma coefficient and the determined second gamma coefficient, a gamma coefficient that meets a second color difference condition is determined, and the gamma coefficient that meets the second color difference condition is taken as the gamma coefficient that matches the luminance information.

[0247] The image projection device provided in the embodiment can be as followsFigure 4 The image projection device shown in the embodiment of the present application can perform all steps of the above-described image projection method, and further realize the technical effects of the above-described image projection method. For brevity, the related description is not repeated here.

[0248] Figure 5 A structural schematic diagram of an electronic device provided by the embodiment of the present application is shown in the figure, Figure 5 The electronic device 500 shown in the figure includes at least one processor 501, a memory 502, at least one network interface 504 and other user interfaces 503. The various components in the electronic device 500 are coupled together through a bus system 505. It can be understood that the bus system 505 is used to realize the connection communication between the components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the purpose of clear illustration, all kinds of buses are marked as the bus system 505 in the Figure 5

[0249] The user interface 503 can include a display, a keyboard or a clicking device (for example, a mouse, a trackball, a touchpad or a touch screen, etc.).

[0250] ​It is to be understood that the memory 502 in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. The volatile memory can be a random access memory (Random Access Memory, RAM) used as an external cache. By way of example, but not by way of limitation, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 502 described herein is intended to include, but not limited to, these and any other suitable types of memory.

[0251] In some embodiments, the memory 502 stores elements, executable units or data structures, or a subset of them, or an extended set of them: an operating system 5021 and an application program 5022.

[0252] The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The program for implementing the method of the embodiments of the present application can be included in the application program 5022.

[0253] In the present embodiment, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application program 5022, the processor 501 is used to execute the method steps provided by each method embodiment, for example, including:

[0254] determining the brightness information of the image to be projected;

[0255] determine a gamma coefficient matching the luminance information and meeting a first color difference condition, wherein the gamma coefficient represents a parameter value of a luminance response characteristic, and the first color difference condition comprises that a color difference between an actual projection color and a target projection color is less than a preset first value;

[0256] correct the image to be projected by using the gamma coefficient, to obtain a corrected image;

[0257] project the corrected image.

[0258] The method disclosed in the embodiments of the present application can be applied to the processor 501 or implemented by the processor 501. The processor 501 can be an integrated circuit chip having a signal processing capability. In the implementation process, the steps of the above method can be completed by the integrated logic circuits or the software form instructions in the processor 501. The processor 501 can be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware code processor for execution, or a combination of hardware and software units in the code processor for execution. The software unit can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory, an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502, and combines the hardware to complete the steps of the above method.

[0259] It can be understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSP Devices, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described in the above other electronic units, or a combination thereof.

[0260] For software implementation, the technologies described herein can be implemented by units performing the functions described herein. The software code can be stored in the memory and executed by the processor. The memory can be implemented in the processor or outside the processor.

[0261] The electronic device provided by the embodiments can be an electronic device as shown in Figure 5 The electronic device provided by the embodiments can be an electronic device as shown in

[0262] The embodiments of the present application also provide a storage medium (computer readable storage medium). The storage medium stores one or more programs. The storage medium can include a volatile memory, such as a random access memory; the storage medium can also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk, or a solid state disk; the storage medium can also include a combination of the above kinds of memories.

[0263] When the one or more programs in the storage medium are executed by the one or more processors, the image projection method executed at the electronic device side described above can be implemented.

[0264] The processor is configured to execute the image projection program stored in the memory, so as to implement the steps of the image projection method executed at the electronic device side described above.

[0265] determining the brightness information of the image to be projected;

[0266] determining a gamma coefficient matched with the brightness information and meeting a first color difference condition, wherein the gamma coefficient represents a parameter value of a brightness response characteristic, and the first color difference condition includes that a color difference between an actual projection color and a target projection color is less than a preset first value.

[0267] The gamma coefficient is used to correct the image to be projected, to obtain a corrected image.

[0268] The corrected image is projected.

[0269] Those skilled in the art will further appreciate that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or both. The disclosure is not limited to any specific combination of hardware and software, unless specifically claimed. The described examples are to be considered merely exemplary, and the disclosure is not limited to any particular embodiments, unless specifically claimed. The disclosure is not limited to the described examples, unless specifically claimed.

[0270] The steps of a method or algorithm described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in random access memory (RAM), flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0271] It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises", "comprising", "includes", "including" and "has" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order in which they are described unless specifically identified as an order dependent step. It is also to be understood that additional or alternative steps can be employed.

[0272] The above description is that of current embodiments of the application. Various modifications and changes can be made thereto without departing from the spirit and scope of the application as set forth. The disclosure is not to be limited to the exact details shown and described, for purposes of illustrating the embodiments described herein, the disclosure is made with reference to the attached drawings and description.

Claims

1. An image projection method, characterized in that, The method includes: Determine the brightness information of the image to be projected; Determine a gamma coefficient that matches the brightness information and meets the first color difference condition, wherein the gamma coefficient represents a parameter value of the brightness response characteristics, and the first color difference condition includes that the color difference between the actual projected color and the target projected color is less than a preset first value; The gamma coefficients are used to correct the image to be projected, resulting in a corrected image. Project the corrected image.

2. The method according to claim 1, characterized in that, Before projecting the corrected image, the method further includes: Determine the projection size and ambient light brightness of the image to be projected; Based on the projection size and the ambient light intensity, determine the projection brightness of the image to be projected; and The projection of the corrected image includes: The corrected image is projected according to the projected brightness.

3. The method according to claim 2, characterized in that, Determining the projection brightness of the image to be projected based on the projection size and the ambient light brightness includes: Based on a preset correspondence, the projection brightness corresponding to the projection size and the ambient light brightness is determined, and the determined projection brightness is used as the projection brightness of the image to be projected. The preset correspondence represents the relationship between projection size, ambient light brightness, and projection brightness. In the preset correspondence, the smaller the projection size within the preset projection size range, the greater the corresponding projection brightness.

4. The method according to claim 3, characterized in that, The preset correspondence is determined in the following way: For each brightness level in the predefined set of brightness levels, the relationship between ambient light brightness, projection size, and projection brightness corresponding to that brightness level is established in the following manner: Determine the projection size and projection brightness that meet the preset brightness contrast standard under ambient light brightness of the brightness level, and obtain the projection size and projection brightness corresponding to the brightness level. The ambient light brightness belonging to the brightness level is taken as the ambient light brightness corresponding to the brightness level, and the correspondence between the ambient light brightness, projection size and projection brightness corresponding to the brightness level is established.

5. The method according to claim 1, characterized in that, Before projecting the corrected image, the method further includes: Based on the brightness information, the backlight brightness is determined, wherein the backlight brightness is positively correlated with the brightness represented by the brightness information; and The projection of the corrected image includes: The corrected image is projected according to the backlight brightness.

6. The method according to any one of claims 1-5, characterized in that, Determining the gamma coefficient that matches the brightness information and meets the first color difference condition includes: From a predetermined set of brightness trends, determine the brightness trend that the brightness information conforms to, and take the determined brightness trend as the target brightness trend, wherein each brightness trend in the set of brightness trends corresponds to a gamma coefficient that conforms to the first color difference condition; The gamma coefficient that matches the target brightness trend and meets the first color difference condition is determined as the gamma coefficient that matches the brightness information and meets the first color difference condition.

7. The method according to claim 6, characterized in that, The correlation between brightness trends and gamma coefficients was established as follows: Determine the measured projection brightness of the target image under the given projection size and ambient light brightness; wherein the brightness information of the target image conforms to the brightness trend; Based on the measured brightness of the projection, the gamma coefficient that meets the first color difference condition is determined; Establish the correspondence between the brightness trend and the gamma coefficient that meets the first color difference condition.

8. The method according to claim 1, characterized in that, The brightness information includes projection brightness and ambient light brightness; as well as Determining the gamma coefficient that matches the brightness information and meets the first color difference condition includes: From the first set of gamma coefficients, determine the first gamma coefficient corresponding to the projected brightness, wherein each first gamma coefficient in the first set of gamma coefficients corresponds to a projected brightness; From the second set of gamma coefficients, determine the second gamma coefficient corresponding to the ambient light intensity, wherein each second gamma coefficient in the second set of gamma coefficients corresponds to an ambient light intensity; From the determined first gamma coefficient and the determined second gamma coefficient, a gamma coefficient that meets the second color difference condition is determined, and the gamma coefficient that meets the second color difference condition is taken as the gamma coefficient that matches the brightness information.

9. An image projection device, characterized in that, The device includes: The first determining unit is used to determine the brightness information of the image to be projected; The second determining unit is used to determine a gamma coefficient that matches the brightness information and meets the first color difference condition, wherein the gamma coefficient represents a parameter value of the brightness response characteristics, and the first color difference condition includes that the color difference between the actual projected color and the target projected color is less than a preset first value. The correction unit is used to correct the image to be projected using the gamma coefficients to obtain the corrected image. A projection unit is used to project the corrected image.

10. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor is configured to execute a computer program stored in the memory, wherein when the computer program is executed, it implements the image projection method according to any one of claims 1-8.