WO2020224390A1 - 图像亮度的调整方法、装置、存储介质及电子装置 - Google Patents

图像亮度的调整方法、装置、存储介质及电子装置 Download PDF

Info

Publication number
WO2020224390A1
WO2020224390A1 PCT/CN2020/084581 CN2020084581W WO2020224390A1 WO 2020224390 A1 WO2020224390 A1 WO 2020224390A1 CN 2020084581 W CN2020084581 W CN 2020084581W WO 2020224390 A1 WO2020224390 A1 WO 2020224390A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
image
target
intensity
original image
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.)
Ceased
Application number
PCT/CN2020/084581
Other languages
English (en)
French (fr)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to EP20801932.3A priority Critical patent/EP3968268A4/en
Priority to KR1020217021752A priority patent/KR102548745B1/ko
Priority to SG11202105754RA priority patent/SG11202105754RA/en
Priority to JP2021547520A priority patent/JP7226893B2/ja
Publication of WO2020224390A1 publication Critical patent/WO2020224390A1/zh
Priority to US17/343,544 priority patent/US11587530B2/en
Anticipated expiration legal-status Critical
Priority to US18/101,007 priority patent/US12062350B2/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/28Indexing scheme for image data processing or generation, in general involving image processing hardware
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0233Improving the luminance or brightness uniformity across the screen
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • This application relates to the field of computers, and specifically to an image brightness adjustment technology.
  • the traditional method of adjusting the dark part of the image is to re-enhance the brightness of all pixels in the image that are less than a certain brightness threshold to achieve the visibility of the details of the dark part of the overall image.
  • this adjustment method will produce an important problem, that is, because the relative brightness changes with the surrounding pixels are not taken into account, the pixel brightness of the entire screen is adjusted to increase the brightness as long as it is less than an absolute threshold, which will cause the pixels The contrast and detail changes in the neighboring areas are sacrificed.
  • the embodiments of the present application provide a method, device, storage medium, and electronic device for adjusting the brightness of an image, so that the adjustment of the brightness is more in line with the brightness distribution of the original image, and the technical effect of improving the adjustment effect when adjusting the brightness of the image is realized.
  • a method for adjusting image brightness including:
  • a target pixel with a brightness lower than a brightness threshold in the original image Determining a target pixel with a brightness lower than a brightness threshold in the original image, where the brightness threshold is a threshold determined according to the brightness of the pixel in the original image;
  • the target pixel is adjusted to a corresponding target brightness.
  • an image brightness adjustment device including:
  • the first determining module is configured to determine a target pixel with a brightness lower than a brightness threshold in the original image, wherein the brightness threshold is a threshold determined according to the brightness of the pixel in the original image;
  • An obtaining module configured to obtain the brightness distribution intensity of adjacent pixels adjacent to the target pixel in the original image
  • a second determining module configured to determine the difference between the brightness threshold and the brightness distribution intensity of the adjacent pixel
  • the adjustment module is configured to adjust the target pixel to a corresponding target brightness according to the difference value and the original brightness of the target pixel.
  • the device further includes:
  • the canceling module is configured to cancel the brightness adjustment of the target pixel when the intensity of the brightness distribution is higher than the brightness threshold.
  • a storage medium characterized in that a computer program is stored in the storage medium, wherein the computer program is configured to execute any of the above items when running. The method described.
  • an electronic device including a memory and a processor, characterized in that a computer program is stored in the memory, and the processor is configured to execute through the computer program The method described in any of the above.
  • a computer program product including instructions, which when run on a computer, causes the computer to execute the method described in any one of the above.
  • the target pixel point whose brightness is lower than the brightness threshold value is determined in the original image, wherein the brightness threshold value is a threshold value determined according to the brightness of the pixel point in the original image; and the target pixel point in the original image is obtained.
  • the brightness distribution intensity of adjacent adjacent pixels determine the difference between the brightness threshold and the brightness distribution intensity of adjacent pixels; according to the difference and the original brightness of the target pixel, the target pixel Adjust the point to the corresponding target brightness.
  • Fig. 1 is a schematic diagram of an optional image brightness adjustment method according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an application environment of an optional image brightness adjustment method according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an optional image brightness adjustment method according to an optional embodiment of the present application.
  • FIG. 4 is a schematic diagram 1 of another optional method for adjusting image brightness according to an optional embodiment of the present application.
  • FIG. 5 is a second schematic diagram of another optional method for adjusting image brightness according to an optional embodiment of the present application.
  • FIG. 6 is a third schematic diagram of another optional method for adjusting image brightness according to an optional embodiment of the present application.
  • Fig. 7a is a first schematic diagram of an optional image brightness adjustment device according to an embodiment of the present application.
  • Fig. 7b is a first schematic diagram of an optional image brightness adjustment device according to an embodiment of the present application.
  • FIG. 8 is a second schematic diagram of an optional image brightness adjustment device according to an embodiment of the present application.
  • Fig. 9 is a third schematic diagram of an optional image brightness adjustment device according to an embodiment of the present application.
  • FIG. 10 is a fourth schematic diagram of an optional image brightness adjustment device according to an embodiment of the present application.
  • FIG. 11 is a fifth schematic diagram of an optional image brightness adjustment device according to an embodiment of the present application.
  • FIG. 12 is a sixth schematic diagram of an optional adjusting device for image brightness according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram 1 of an application scenario of an optional image brightness adjustment method according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram 2 of an application scenario of an optional image brightness adjustment method according to an embodiment of the present application.
  • Fig. 15 is a schematic diagram of an optional electronic device according to an embodiment of the present application.
  • the method includes:
  • S102 Determine a target pixel with a brightness lower than a brightness threshold in the original image, where the brightness threshold is a threshold determined according to the brightness of the pixel in the original image;
  • S104 Acquire the brightness distribution intensity of adjacent pixels adjacent to the target pixel in the original image
  • S106 Determine the difference between the brightness threshold and the brightness distribution intensity of the neighboring pixels
  • S108 Adjust the target pixel to a corresponding target brightness according to the difference value and the original brightness of the target pixel.
  • the foregoing image brightness adjustment method can be applied to the hardware environment formed by the terminal 202 shown in FIG. 2.
  • the terminal 202 determines the target pixel point whose brightness is lower than the brightness threshold value in the original image, where the brightness threshold value is a threshold value determined according to the brightness of the pixel point in the original image;
  • the intensity of the brightness distribution of adjacent pixels may reflect the brightness of the neighboring pixels of the target pixel.
  • the brightness The distribution intensity can be the average value of the brightness of the multiple adjacent pixels to comprehensively reflect the brightness of the adjacent pixels.
  • the foregoing image brightness adjustment method may be, but not limited to, applied to a scene where an image is displayed on a terminal.
  • the aforementioned terminal may include, but is not limited to: mobile phones, tablet computers, personal computers, smart wearable devices, smart home devices, and so on.
  • the above-mentioned image brightness adjustment method can be, but is not limited to, applied to the client installed on the terminal.
  • the client can be, but is not limited to, various types of applications, such as online education applications, instant messaging applications, community space applications, and games.
  • the above image brightness adjustment method can also be applied to a server.
  • the server can be used to provide a brightness adjustment service for the terminal.
  • the server can determine the target brightness for the brightness adjustment of the target pixel by executing the method, and send the target brightness To the terminal, so that the terminal adjusts the brightness of the target pixel according to the target brightness.
  • the server may be an independent server, or a server in a cluster or a cloud server.
  • adjacent pixels adjacent to the target pixel may be, but not limited to, pixels within a predetermined range around the target pixel.
  • the predetermined range may be, but is not limited to, a distance value, and pixels whose distance from the target pixel point is less than the distance value are determined to be adjacent pixels adjacent to the target pixel point.
  • adjacent pixels adjacent to the target pixel may, but are not limited to, points located in a predetermined direction of the target pixel.
  • adjacent pixels adjacent to the target pixel are 8 points located above, below, left, right, top left, bottom left, top right, and bottom right of the target pixel.
  • the brightness threshold is determined according to the brightness of pixels in the original image.
  • the brightness threshold can be determined according to the average value of the pixel point brightness in the original image. If the average value of the pixel point brightness in the original image is higher, the image itself may be brighter, and a lower value can be determined. High brightness threshold. If the average brightness of the pixels in the original image is low, the image itself may be darker, and a lower brightness threshold can be determined. This way of dynamically determining the brightness threshold can make the adjustment of the brightness more flexible and more in line with the true contrast of the original image.
  • the difference between the brightness threshold and the brightness distribution intensity of adjacent pixels is determined in S106.
  • Ways can include:
  • the difference between the brightness threshold and the intensity of the brightness distribution of the adjacent pixel points is determined. That is, when it is determined that the brightness of the surrounding pixels of the target pixel is dark, the difference between the brightness threshold and the brightness distribution intensity of the neighboring pixel can be determined to adjust the brightness of the target pixel.
  • the target pixel may not be adjusted for brightness to preserve the pixel contrast of the original image at the target pixel.
  • the terminal may cancel the brightness adjustment of the target pixel.
  • the original image that needs to be displayed on the terminal is Figure A, where the average brightness of the pixels in Figure A is P, and the terminal determines according to the average brightness P
  • the brightness threshold is M.
  • the terminal determines the target pixels with brightness lower than M in Figure A as points B and C.
  • the terminal obtains the brightness distribution intensity of adjacent pixels adjacent to point B in Figure A as N, and
  • the intensity of the luminance distribution of the adjacent pixel point adjacent to the point C is Q.
  • the manner of adjusting the target pixel to the corresponding target brightness according to the difference and the original brightness of the target pixel in S108 may include:
  • the target brightness adjustment curve can reflect the relative brightness changes of the brightness distribution intensity of different target pixels and adjacent pixels, and the target brightness needs to be adjusted to achieve the target pixel points.
  • the original brightness of the target pixel point is adjusted to the target brightness shown on the target brightness adjustment curve according to the target brightness adjustment curve.
  • the brightness threshold is determined according to the brightness of the pixels in the original image, and the target pixels whose brightness is lower than the brightness threshold are determined from the original image, and the difference between the brightness threshold and the intensity of the brightness distribution is determined as The original brightness of the target pixel is adjusted. Because the brightness threshold is dynamically determined according to the brightness of the pixels in the original image, the brightness threshold is more in line with the brightness distribution of the pixels in the original image.
  • the brightness adjustment of the target pixel can refer to the brightness of its surrounding pixels, retaining the characteristics of relative brightness changes between the target pixel and the surrounding pixels, and the brightness adjustment is more consistent
  • the brightness distribution of the original image realizes the technical effect of improving the adjustment effect when adjusting the brightness of the image.
  • determining the target brightness adjustment curve corresponding to the difference includes:
  • S11 Determine the adjustment intensity corresponding to the target pixel according to the difference, where the greater the difference, the greater the adjustment intensity;
  • S12 Determine the target brightness adjustment curve according to the adjustment intensity and the brightness threshold.
  • the above adjustment intensity can reflect the intensity of the brightness adjustment of the target pixel.
  • the adjustment intensity is greater, the target pixel after the adjustment is larger, and when the adjustment intensity is smaller, the target pixel is adjusted. The lower the target brightness is.
  • multiple brightness adjustment curves can be preset, so that the brightness threshold can be determined from the brightness adjustment curves based on the adjustment intensity determined by the difference and the average brightness of the pixels in the original image.
  • a corresponding brightness adjustment curve is used as the target brightness adjustment curve.
  • the basis for brightness adjustment can be achieved by the relationship between the brightness distribution intensity of adjacent pixels around the pixel and the brightness threshold.
  • S represents the adjustment intensity of the brightness of the target pixel.
  • the basis is that when the brightness distribution intensity value of the neighboring pixels around the target pixel is far below the brightness threshold T, the brightness of the pixel needs to be enhanced a little more.
  • the brightness distribution intensity of the neighboring pixels around the target pixel is slightly lower than the brightness threshold T, the brightness of this pixel only needs to be slightly enhanced. This approach will ensure that when the pixel falls on a large dark area, the brightness of this dark area will be greatly enhanced. Conversely, when the pixel falls in a small dark area but the brightness of the surrounding pixels is too high, the dark area will only be slightly enhanced to ensure the uniqueness of this dark area.
  • the adjusted brightness intensity converges between the brightness value 0 and the brightness threshold T according to the above-mentioned context result.
  • the curvature of the target brightness adjustment curve will be adjusted according to the previously described adjustment intensity S. For example, the original brightness value of 0.15 will increase the brightness to different values according to the influence of different adjustment intensities S (1.0, 2.0, 3.0) Target brightness (0.165, 0.185, 0.215).
  • the adjustment intensity can be determined but not limited to the following formula:
  • S is the adjustment intensity
  • T is the brightness threshold
  • La is the intensity of the brightness distribution of adjacent pixels
  • k is a constant factor
  • the target brightness adjustment curve can be determined but not limited to the following formula:
  • L' is the target brightness adjustment curve
  • Lc is the original brightness
  • PI is the constant ⁇ .
  • the above-mentioned brightness adjustment formula does not need to apply a large number of time-consuming mathematical operation functions, and the entire mathematical operation logic is also very suitable for directly running on a graphics processor (Graphics Processing Unit, GPU).
  • the pipeline is implemented and run with (Shader). This not only can be connected with the function of Mipmap, but also to ensure that the overall operating cost is minimized, and the requirements for the computing efficiency and memory usage of the device are lower, so that the high-quality shadow adjustment and rendering mechanism can improve the computing efficiency and memory. It can be realized on smart phones with poor demand.
  • the method further includes:
  • S21 Determine the average brightness of pixels in the original image through the Mipmap function of the GPU drawing pipeline
  • S22 Determine a brightness threshold according to the average brightness of the pixels in the original image, where the larger the average brightness, the greater the brightness threshold.
  • the average brightness of the entire image it is necessary to refer to the average brightness of the entire image to dynamically generate a brightness threshold, and use this threshold to measure which pixels in the image need brightness adjustment.
  • a brightness threshold it is also necessary to first calculate the intensity of the brightness distribution around the pixel, that is, the adjacent pixel points, and determine the intensity of the brightness adjustment required through the intensity of the brightness distribution. In this part, if you use a traditional CPU to perform calculations, you must first poll the pixels of the entire image to calculate the average brightness. When the brightness threshold is generated from the brightness average, you have to poll the entire image again to compare the pixel brightness with The difference in the brightness threshold determines the pixels whose brightness needs to be adjusted.
  • current smart phones are equipped with a high-performance GPU graphics pipeline architecture.
  • GPU graphics pipelines are all formulated following the same standard (OpenGL ES), so if the calculation of the average brightness and the intensity of the surrounding brightness distribution can be achieved through the GPU graphics pipeline, it will not only greatly reduce the required calculation time, but also It also ensures that this method can run on most smartphones.
  • the Mipmap function of the GPU drawing pipeline may be used to determine the brightness average value and the brightness distribution intensity.
  • determining the average brightness of pixels in the original image through the Mipmap function of the GPU drawing pipeline includes:
  • S31 Generate a first image corresponding to the original image through the Mipmap function, where the resolution of the first image is 1 ⁇ 1;
  • S32 Determine the brightness of the first image as the average brightness of the pixels in the original image.
  • the GPU when the Mipmap command is issued to the GPU drawing pipeline, the GPU will generate images with a lower resolution than the original image according to the power of 2 attenuation method, and the resolution can be distinguished.
  • the brightness of the first image with a rate of 1 ⁇ 1 is determined as the average brightness of the pixels in the original image.
  • the leftmost original image is a 128x128 resolution original image.
  • the GPU will generate 64x64, Reduced images with different resolutions such as 32x32, 16x16, 8x8, 4x4, 2x2, 1x1, etc.
  • the color of each pixel in each level of the small image in between is the color value produced by averaging the colors of 4 pixels in the relative position of the previous level of the large image. In other words, each small image can be regarded as the color average result of the previous large image.
  • the color value of a pixel in 1x1 resolution can be regarded as the color value of the original 128x128 resolution after the total average of all pixel colors. Since the function of Mipmap is directly generated by the hardware in the GPU drawing pipeline, its efficiency is very fast, and it can be regarded as a weapon with almost no additional computing cost.
  • the 1 ⁇ 1 pixel brightness value can be used as the brightness threshold value, which can be used as a judgment basis for the dark part whose brightness needs to be adjusted later.
  • obtaining the brightness distribution intensity of adjacent pixels adjacent to the target pixel in the original image includes:
  • S41 Generate a second image corresponding to the original image through the Mipmap function of the GPU drawing pipeline, where the resolution of the second image is smaller than the resolution of the original image;
  • S44 Determine the brightness of the pixel at the second position on the second image as the brightness distribution intensity of the adjacent pixel.
  • the Mipmap function can be used to accelerate the process of calculating the intensity distribution of adjacent pixels.
  • the middle-level low resolution of a Mipmap for example: 64x64
  • the color brightness value of each pixel in the 64x64 resolution image can be regarded as the original image (image width divided by Take 64) and (image height divided by 64) the average of the color brightness of the block.
  • the pixel brightness value of the original image is less than the brightness threshold, that is, when the brightness needs to be adjusted, you can directly query the same image coordinate position of this image at the 64x64 resolution, such as the target If the pixel point is at the original image coordinate position (0.3, 0.5), you can query the pixel brightness of the corresponding 64x64 resolution image at the image coordinate position (0.3, 0.5).
  • the internal difference mechanism of computer graphics it will return a block color average brightness data representing the surrounding (image width divided by 64) and (image height divided by 64) of the pixel in the original image.
  • the average brightness data can be used as the brightness distribution intensity of the surrounding pixels, that is, as the basis for adjusting the brightness of the pixel.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present application.
  • an image brightness adjustment device for implementing the foregoing image brightness adjustment method. As shown in FIG. 7a, the device includes:
  • the first determining module 702 is configured to determine a target pixel point whose brightness is lower than a brightness threshold value in the original image, where the brightness threshold value is a threshold value determined according to the brightness of the pixel points in the original image;
  • the obtaining module 704 is configured to obtain the intensity distribution of the brightness of adjacent pixels adjacent to the target pixel in the original image
  • the second determining module 706 is configured to determine the difference between the brightness threshold and the brightness distribution intensity of adjacent pixels
  • the adjustment module 710 is configured to adjust the target pixel to a corresponding target brightness according to the difference value and the original brightness of the target pixel.
  • the device further includes:
  • the third determining module 708 is configured to determine the target brightness adjustment curve corresponding to the difference
  • the adjustment module 710 is specifically configured to adjust the original brightness of the target pixel to the target brightness shown on the target brightness adjustment curve according to the target brightness adjustment curve.
  • the second determining module is specifically used for:
  • the difference between the brightness threshold and the intensity of the brightness distribution of the adjacent pixel points is determined.
  • adjacent pixels adjacent to the target pixel may be, but not limited to, pixels within a predetermined range around the target pixel.
  • the predetermined range may be, but is not limited to, a distance value, and pixels whose distance from the target pixel point is less than the distance value are determined to be adjacent pixels adjacent to the target pixel point.
  • adjacent pixels adjacent to the target pixel may, but are not limited to, points located in a predetermined direction of the target pixel.
  • adjacent pixels adjacent to the target pixel are 8 points located above, below, left, right, top left, bottom left, top right, and bottom right of the target pixel.
  • the brightness threshold is determined according to the brightness of pixels in the original image.
  • the brightness threshold can be determined according to the average value of the brightness of the pixels in the original image. For example, if the average value of the brightness of the pixels in the original image is higher, then the image itself may be brighter, you can determine A higher brightness threshold. If the average brightness of the pixels in the original image is low, the image itself may be darker, and a lower brightness threshold can be determined. This way of dynamically determining the brightness threshold can make the adjustment of the brightness more flexible and more in line with the true contrast of the original image.
  • the brightness threshold is determined according to the brightness of the pixel in the original image
  • the target pixel with the brightness lower than the brightness threshold is determined from the original image
  • the target pixel is determined according to the difference between the brightness threshold and the intensity of the brightness distribution.
  • Adjust the original brightness of the original image because the brightness threshold is dynamically determined according to the brightness of the pixels in the original image, so that the brightness threshold is more in line with the brightness distribution of the pixels in the original image, by according to the difference between the brightness threshold and the intensity of the brightness distribution Value is dynamically adjusted to adjust the brightness, so that the brightness adjustment of the target pixel can refer to the brightness of its surrounding pixels, retaining the characteristics of the relative brightness changes between the target pixel and the surrounding pixels, and the brightness adjustment is more in line with the original image Brightness distribution, thereby achieving the technical effect of improving the adjustment effect when adjusting the brightness of the image.
  • Fig. 8 is a second schematic diagram of a device for adjusting image brightness according to an embodiment of the present application.
  • the foregoing device further includes:
  • the canceling module 802 is used to cancel the brightness adjustment of the target pixel when the intensity of the brightness distribution is higher than the brightness threshold.
  • FIG. 9 is a third schematic diagram of an apparatus for adjusting image brightness according to an embodiment of the present application.
  • the third determining module 708 includes:
  • the first determining unit 902 is configured to determine the adjustment intensity corresponding to the target pixel according to the difference value, where the greater the difference value, the greater the adjustment intensity;
  • the second determining unit 904 is configured to determine the target brightness adjustment curve according to the adjustment intensity and the brightness threshold.
  • multiple brightness adjustment curves can be preset, so that the adjustment intensity determined according to the difference and the average brightness of the pixels in the original image can be used to determine the brightness threshold corresponding to these brightness adjustment curves.
  • a brightness adjustment curve of is used as the target brightness adjustment curve.
  • the first determining unit is used to determine the adjustment intensity by the following formula:
  • S is the adjustment intensity
  • T is the brightness threshold
  • La is the intensity of the brightness distribution of adjacent pixels
  • k is a constant factor
  • the second determining unit is used to determine the target brightness adjustment curve through the following formula:
  • L' is the target brightness adjustment curve
  • Lc is the original brightness
  • PI is the constant ⁇ .
  • Fig. 10 is a fourth schematic diagram of a device for adjusting image brightness according to an embodiment of the present application.
  • the foregoing device further includes:
  • the fourth determining module 1002 is used to determine the average brightness of pixels in the original image through the Mipmap function of the graphics processor GPU drawing pipeline;
  • the fifth determining module 1004 is configured to determine the brightness threshold according to the average brightness of the pixels in the original image, where the greater the average brightness, the greater the brightness threshold.
  • current smart phones are equipped with a high-performance GPU graphics pipeline architecture.
  • GPU graphics pipelines are all formulated following the same standard (OpenGL ES), so if the calculation of the average brightness and the intensity of the surrounding brightness distribution can be achieved through the GPU graphics pipeline, it will not only greatly reduce the required calculation time, but also It also ensures that this method can run on most smartphones.
  • the Mipmap function of the GPU drawing pipeline may be used to determine the brightness average value and the brightness distribution intensity.
  • Fig. 11 is a schematic diagram 5 of an image brightness adjustment apparatus provided according to an embodiment of the present application.
  • the fourth determining module 1002 includes:
  • the first generating unit 1102 is configured to generate a first image corresponding to the original image through the Mipmap function, where the resolution of the first image is 1 ⁇ 1;
  • the third determining unit 1104 is configured to determine the brightness of the first image as the average brightness of the pixels in the original image.
  • the GPU when the Mipmap command is issued to the GPU drawing pipeline, the GPU will generate images with a lower resolution than the original image according to the power of 2 attenuation method, and the resolution can be distinguished.
  • the brightness of the first image with a rate of 1 ⁇ 1 is determined as the average brightness of the pixels in the original image.
  • FIG. 12 is a sixth schematic diagram of an apparatus for adjusting image brightness according to an embodiment of the present application.
  • the acquiring module 704 includes:
  • the second generating unit 1202 is configured to generate a second image corresponding to the original image through the Mipmap function of the GPU drawing pipeline, where the resolution of the second image is smaller than the resolution of the original image;
  • the acquiring unit 1204 is configured to acquire the first position of the target pixel on the original image
  • the fourth determining unit 1206 is configured to determine the second position corresponding to the first position on the second image
  • the fifth determining unit 1208 is configured to determine the brightness of the pixel at the second position on the second image as the brightness distribution intensity of the adjacent pixel.
  • the Mipmap function can be used to accelerate the process of calculating the intensity distribution of adjacent pixels.
  • the middle-level low resolution of a Mipmap for example: 64x64
  • the color brightness value of each pixel in the 64x64 resolution image can be regarded as the original image (image width divided by Take 64) and (image height divided by 64) the average of the color brightness of the block.
  • the application environment of the embodiment of the present application may, but is not limited to, refer to the application environment in the foregoing embodiment, which will not be repeated in this embodiment.
  • the embodiment of the present application provides an optional specific application example for implementing the foregoing real-time communication connection method.
  • the foregoing image brightness adjustment method may be, but is not limited to, applied to a scene where an image is displayed on a terminal as shown in FIG. 13.
  • an image brightness adjustment system is provided, which includes the following modules:
  • Luminance Propagation Map Generator module The meaning of Luminance Propagation Map is to record the intensity of the brightness distribution of other pixels around the pixels in the image, which is used to determine if the pixel brightness needs to be enhanced. The curvature of the target brightness adjustment curve. This image can be directly represented by a small image of a certain order of low resolution in Mipmap.
  • Luminance Average Map is the average brightness result of the entire screen. This image can be directly represented by a small image with the lowest resolution of 1x1 in Mipmap.
  • the function of the Luminance Propagation Map Generator module is mainly to produce Luminance Propagation Map and Luminance Average Map. According to the previous explanation, the entire module function only needs to call the Mipmap function of the GPU drawing pipeline, and select one of the lower resolution levels. The small image of and the small image of 1x1 resolution can be obtained. And because the entire module uses the Mipmap function, the entire required computing cost is extremely reduced.
  • Bright-Threshold Generator is the brightness threshold, which is used to determine whether the pixels in the image need brightness adjustment. Because this brightness threshold is based on the average brightness value of the entire image, it can directly accept the 1x1 resolution small image result in the Mipmap generated by the Luminance Propagation Map Generator in the previous step, and it can be obtained directly without additional computational cost.
  • Luminance Curve Adjustor module a curve generator module used to adjust pixel brightness. It is mainly through the difference between the intensity of the brightness distribution around the pixel and the brightness threshold to generate a target brightness adjustment curve that meets the curvature of the difference value, and the target brightness is determined by this curve.
  • the mathematical formula of this curve generator is a combination of extremely inexpensive mathematical expressions as shown before.
  • the curve generation process can be integrated into the Fragment Shader in the GPU graphics pipeline along with the subsequent processing of pixel tuning. Through the multi-threaded synchronization processing mechanism in the GPU native, the cost of the entire calculation becomes very low, which ensures The dark part tuning mechanism can operate effectively.
  • the original image is passed through the Luminance Propagation Map module, using the function of Mipmap to generate a Luminance Propagation Map representing the intensity of the brightness distribution around each pixel and a 1x1 resolution The overall brightness average map.
  • Each pixel in the image will run the Fragment Shader in the GPU graphics pipeline, where the average brightness of the overall image is obtained from the 1x1 resolution brightness average map, and the brightness threshold is generated through the Dark-Threshold Generator.
  • Each pixel in the image obtains the intensity distribution of brightness around the pixel by querying the Luminance Propagation Map. Compare the intensity of the brightness distribution around the pixel with the brightness threshold: if the intensity of the brightness distribution around the pixel is higher than the brightness threshold, no brightness adjustment action will be performed. If the intensity value of the brightness distribution around the pixel is lower than the brightness threshold, the difference between the intensity value of the brightness distribution around the pixel and the brightness threshold is calculated. The brightness difference value is obtained through Luminance Curve Adjustor to obtain a query curve that meets this difference value. Then use the curve to determine and adjust the target brightness of this pixel.
  • the necessary GPU drawing pipeline process mechanism in smart phones can be used to realize the regional dynamic image brightness enhancement technology that originally required a lot of computing costs and system resources. Because this method is implemented purely through the necessary GPU graphics pipeline unit in the hardware, it can run on most of the smart phone products on the market. As the performance of mobile phones is optimized year by year, the performance of GPU graphics pipeline units will also be updated year by year, and this technology can also benefit from it to reduce more computing performance costs.
  • an electronic device for implementing the above adjustment of image brightness.
  • the electronic device includes: one or more (only one is shown in the figure) A processor 1502, a memory 1504, a sensor 1506, an encoder 1508, and a transmission device 1510.
  • a computer program is stored in the memory, and the processor is configured to execute the steps in any of the foregoing method embodiments through the computer program.
  • the above-mentioned electronic device may be located in at least one network electronic device among a plurality of network electronic devices in a computer network.
  • the foregoing processor may be configured to execute the following steps through a computer program:
  • S51 Determine a target pixel with a brightness lower than a brightness threshold in the original image, where the brightness threshold is a threshold determined according to the brightness of the pixel in the original image;
  • S53 Determine the difference between the brightness threshold and the brightness distribution intensity of the neighboring pixels
  • S54 Adjust the target pixel to a corresponding target brightness according to the difference value and the original brightness of the target pixel. .
  • the structure shown in FIG. 15 is only for illustration, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal devices.
  • FIG. 15 does not limit the structure of the above electronic device.
  • the electronic device may also include more or fewer components (such as a network interface, a display device, etc.) than shown in FIG. 15 or have a different configuration from that shown in FIG. 15.
  • the memory 1504 can be used to store software programs and modules, such as the image brightness adjustment method and device corresponding program instructions/modules in the embodiments of the present application.
  • the processor 1502 runs the software programs and modules stored in the memory 1504 to thereby Perform various functional applications and data processing, that is, achieve the above-mentioned control method of the target component.
  • the memory 1504 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 1504 may further include a memory remotely provided with respect to the processor 1502, and these remote memories may be connected to the terminal through a network. Examples of the aforementioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the aforementioned transmission device 1510 is used to receive or transmit data via a network.
  • the above-mentioned specific examples of networks may include wired networks and wireless networks.
  • the transmission device 1510 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network.
  • the transmission device 1510 is a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
  • RF radio frequency
  • the memory 1504 is used to store application programs.
  • the embodiment of the present application also provides a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any of the foregoing method embodiments when running.
  • the foregoing storage medium may be configured to store a computer program for executing the following steps:
  • S61 Determine a target pixel with a brightness lower than a brightness threshold in the original image, where the brightness threshold is a threshold determined according to the brightness of the pixel in the original image;
  • the storage medium is further configured to store a computer program used to execute the steps included in the method in the foregoing embodiment, which is not repeated in this embodiment.
  • the storage medium may include a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk or an optical disk, etc.
  • the embodiments of the present application also provide a computer program product including instructions, which when run on a computer, cause the computer to execute the method described in any one of the above.
  • the integrated unit in the foregoing embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in the foregoing computer-readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, A number of instructions are included to enable one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the disclosed client can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of units or modules, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Picture Signal Circuits (AREA)

Abstract

一种图像亮度的调整方法、装置、存储介质及电子装置。其中,该方法包括:在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,亮度阈值是根据原始图像中像素点的亮度确定得到的阈值(S102);获取原始图像中与目标像素点相邻的相邻像素点的亮度分布强度(S104);确定亮度阈值与相邻像素点的亮度分布强度之间的差值(S106);根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度(S108)。该方法保留了目标像素点与周围像素点的相对亮度变化特点,亮度的调整更加符合原始图像的亮度分布,从而实现了提高对图像进行亮度调整时的调整效果的技术效果。

Description

图像亮度的调整方法、装置、存储介质及电子装置
本申请要求于2019年05月05日提交中国专利局、申请号为201910368934.3、申请名称为“图像亮度的调整方法、装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机领域,具体而言,涉及一种图像亮度的调整技术。
背景技术
传统对影像暗部调整的作法,主要是透过对影像中小于某个亮度阈值的所有像素重新对亮度做增强调整,达到整体影像对偏暗部分的细节可视度。然而,这样的调整作法会产生一个重要的问题,就是因没有考虑到与周遭像素的相对亮度变化,进而让整个画面的像素亮度只要小于某个绝对阀值就被调整增强亮度,这会导致像素邻近区域的对比细节变化被牺牲掉。
针对上述的问题,目前尚未提出有效的解决方案。
发明内容
本申请实施例提供了一种图像亮度的调整方法、装置、存储介质及电子装置,使得亮度的调整更加符合原始图像的亮度分布,实现了提高对图像进行亮度调整时的调整效果的技术效果。
根据本申请实施例的一个方面,提供了一种图像亮度的调整方法,包括:
在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,所述亮度阈值是根据所述原始图像中像素点的亮度确定得到的阈值;
获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度;
确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值;
根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。
根据本申请实施例的另一方面,还提供了一种图像亮度的调整装置,包括:
第一确定模块,用于在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,所述亮度阈值是根据所述原始图像中像素点的亮度确定得到的阈值;
获取模块,用于获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度;
第二确定模块,用于确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值;
调整模块,用于根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。
可选地,所述装置还包括:
取消模块,用于在所述亮度分布强度高于所述亮度阈值的情况下,取消对所述目标像素点进行亮度调整。
根据本申请实施例的另一方面,还提供了一种存储介质,其特征在于,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项中所述的方法。
根据本申请实施例的另一方面,还提供了一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行上述任一项中所述的方法。
根据本申请实施例的另一方面,还提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行上述任一项中所述的方法。
在本申请实施例中,采用在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,亮度阈值是根据原始图像中像素点的亮度确定得到的阈值;获取原始图像中与目标像素点相邻的相邻像素点的亮度分布强度;确定亮度阈值与相邻像素点的亮度分布强度之间的差值;根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。根据原始图像中像素点的亮度确定亮度阈值,从原始图像中确定出亮度低于该亮度阈值的目标像素点,并根据亮度阈值与亮度分布强度之间的差值来为目标像素点的原始亮度进行调整,由于亮度阈值是根据原始图像中像素点的亮度动态确定的,从而使得亮度阈值更加符合原始图像中像素点的亮度分布情况,通过根据亮度阈值与亮度分布强度之间的差值进行动态的亮度调整,从而使得对目标像素点的亮度调整 能够参考到其周围像素点的亮度情况,保留了目标像素点与周围像素点的相对亮度变化特点,亮度的调整更加符合原始图像的亮度分布,从而实现了提高对图像进行亮度调整时的调整效果的技术效果。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请实施例的一种可选的图像亮度的调整方法的示意图;
图2是根据本申请实施例的一种可选的图像亮度的调整方法的应用环境示意图;
图3是根据本申请可选的实施方式的一种可选的图像亮度的调整方法的示意图;
图4是根据本申请可选的实施方式的另一种可选的图像亮度的调整方法的示意图一;
图5是根据本申请可选的实施方式的另一种可选的图像亮度的调整方法的示意图二;
图6是根据本申请可选的实施方式的另一种可选的图像亮度的调整方法的示意图三;
图7a是根据本申请实施例的一种可选的图像亮度的调整装置的示意图一;
图7b是根据本申请实施例的一种可选的图像亮度的调整装置的示意图一;
图8是根据本申请实施例的一种可选的图像亮度的调整装置的示意图二;
图9是根据本申请实施例的一种可选的图像亮度的调整装置的示意图三;
图10是根据本申请实施例的一种可选的图像亮度的调整装置的示意图四;
图11是根据本申请实施例的一种可选的图像亮度的调整装置的示意图五;
图12是根据本申请实施例的一种可选的图像亮度的调整装置的示意图六;
图13是根据本申请实施例的一种可选的图像亮度的调整方法的应用场景示意图一;
图14是根据本申请实施例的一种可选的图像亮度的调整方法的应用场景示意图二;以及
图15是根据本申请实施例的一种可选的电子装置的示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或电子装置不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或电子装置固有的其它步骤或单元。
根据本申请实施例的一个方面,提供了一种图像亮度的调整方法,如图1所示,该方法包括:
S102,在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,所述亮度阈值是根据所述原始图像中像素点的亮度确定得到的阈值;
S104,获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度;
S106,确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值;
S108,根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。
可选地,在本实施例中,上述图像亮度的调整方法可以应用于如图2所示的终端202所构成的硬件环境中。如图2所示,终端202在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,亮度阈值是根据原始图像中像素点的亮度确定得到的阈值;获取原始图像中与目标像素点相邻的相邻像素点的亮度分布强度。这里所述的相邻像素点的亮度分布强度可以体现该目标像素点的相邻像素点的亮度情况,在一些实施例中,针对与目标像素点相邻的多个相邻像素点,该亮度分布强度可以是该多个相邻像素点的亮度平均值,以综合体现这些相邻像素点的亮度情况。
确定亮度阈值与相邻像素点的亮度分布强度之间的差值;从而,根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。可选地,在本实施例中,上述图像亮度的调整方法可以但不限于应用于在终端上显示图像的场景中。其中,上述终端可以但不限于包括:手机、平板电脑、个人计算机、智能穿戴设备、智能家居设备等等。上述图像亮度的调整方法可以但不限于应用于上述终端上安装的客户端中,该客户端可以但不限于为各种类型的应用,例如,在线教育应用、即时通讯应用、社区空间应用、游戏应用、购物应用、浏览器应用、金融应用、多媒体应用、直播应用等。具体的,可以但不限于应用于在上述手机上安装的多媒体应用中显示图像的场景中,或还可以但不限于应用于在上述智能穿戴设备上安装的即时通信应用上显示图像的场景中,以提高对图像进行亮度调整时的调整效果。上述仅是一种示例,本实施例中对此不做任何限定。
上述图像亮度的调整方法还可以应用于服务器中,该服务器可以用于为终端提供亮度调整服务,服务器通过执行该方法,可以确定对目标像素点进行亮度调整的目标亮度,并将该目标亮度发送至终端,以使终端根据该目标亮度对目标像素点进行亮度调整。其中,该服务器可以是独立的服务器、也可以是集群中的服务器或云服务器等。
可选地,在本实施例中,目标像素点相邻的相邻像素点可以但不限于是目标像素点周围预定范围内的像素点。该预定范围可以但不限于为一个距离值, 与目标像素点之间的距离小于该距离值的像素点均被确定为目标像素点相邻的相邻像素点。
可选地,在本实施例中,目标像素点相邻的相邻像素点可以但不限于为位于目标像素点的预定方向上的点。比如:目标像素点相邻的相邻像素点为位于目标像素点的上方、下方、左边、右边、左上方、左下方、右上方和右下方的8个点。
可选地,在本实施例中,亮度阈值是根据原始图像中像素点的亮度确定的。在一种可能的实现方式中,可以根据原始图像中像素点亮度的平均值确定该亮度阈值,如果原始图像中像素点的亮度平均值较高,那么图像本身可能较明亮,则可以确定一个较高的亮度阈值。如果原始图像中像素点的亮度平均值较低,那么图像本身可能较暗,则可以确定一个较低的亮度阈值。通过这种动态确定亮度阈值的方式可以使得亮度的调整更加灵活,更加符合原始图像的真实对比度。
可选地,在本实施例中,为了提高针对原始图像的亮度调整的效率,在一种可能的实现方式中,上述S106中确定亮度阈值与相邻像素点的亮度分布强度之间的差值的方式可以包括:
在所述亮度分布强度低于所述亮度阈值的情况下,确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值。也就是说,当确定目标像素点的周围像素点的亮度较暗时,可以确定亮度阈值与相邻像素点的亮度分布强度之间的差值,以对该目标像素点进行亮度调整。
可选地,在本实施例中,如果亮度分布强度高于亮度阈值,则可以不对目标像素点进行亮度调整,以保留原始图像在该目标像素点处的像素对比度。例如:在上述步骤S104之后,在亮度分布强度高于亮度阈值的情况下,终端可以取消对目标像素点进行亮度调整。
该方式中,通过在相邻像素点的亮度相对较低的情况下对目标像素点进行亮度调整,在相邻像素点的亮度相对较高的情况下取消对目标像素点的亮度调整,可以有效减少进行亮度调整的像素点数量,提高了对图像的亮度调整的效率。
在一个可选的实施方式中,如图3所示,需要在终端上显示的原始图像为 图A,其中,图A中像素点的亮度平均值为P,终端根据该亮度平均值P确定的亮度阈值为M,终端在图A中确定出亮度低于M的目标像素点为点B和点C,终端获取图A中与点B相邻的相邻像素点的亮度分布强度为N,与点C相邻的相邻像素点的亮度分布强度为Q。在点B对应的亮度分布强度N低于M的情况下,确定M与N之间的差值,即M-N,确定出与M-N对应的目标亮度调整曲线为S1,则按照目标亮度调整曲线S1将对点B的原始亮度L调整到目标亮度调整曲线上示出的目标亮度L’。在点C对应的亮度分布强度Q高于M的情况下,取消对点C进行亮度调整。
在本申请实施例中,S108中根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度的方式可以包括:
确定出与所述差值对应的目标亮度调整曲线。其中,该目标亮度调整曲线可以体现针对不同的目标像素点与相邻像素点的亮度分布强度的相对亮度变化,需要对目标像素点进行调整达到的目标亮度。
从而,按照所述目标亮度调整曲线将所述目标像素点的原始亮度调整到所述目标亮度调整曲线上示出的目标亮度。
通过该种基于目标亮度调整曲线进行亮度调整的方式,实现对目标像素点的亮度的动态调整。
可见,通过上述步骤,根据原始图像中像素点的亮度确定亮度阈值,从原始图像中确定出亮度低于该亮度阈值的目标像素点,并根据亮度阈值与亮度分布强度之间的差值来为目标像素点的原始亮度进行调整,由于亮度阈值是根据原始图像中像素点的亮度动态确定的,从而使得亮度阈值更加符合原始图像中像素点的亮度分布情况,通过根据亮度阈值与亮度分布强度之间的差值进行动态的亮度调整,从而使得对目标像素点的亮度调整能够参考到其周围像素点的亮度情况,保留了目标像素点与周围像素点的相对亮度变化特点,亮度的调整更加符合原始图像的亮度分布,从而实现了提高对图像进行亮度调整时的调整效果的技术效果。
作为一种可选的方案,确定出与差值对应的目标亮度调整曲线,包括:
S11,根据差值确定目标像素点所对应的调整强度,其中,差值越大调整强度越大;
S12,根据调整强度和亮度阈值确定目标亮度调整曲线。
其中,上述调整强度可以体现对目标像素点进行亮度调整的强度大小,当调整强度越大时,对目标像素点进行调整后的目标亮度越大,当调整强度越小时,对目标像素点进行调整后的目标亮度越小。
可选地,在本实施例中,可以预先设置多条亮度调整曲线,从而可以根据差值确定的调整强度和根据原始图像中像素点的亮度平均值,从这些亮度调整曲线中确定出亮度阈值对应的一条亮度调整曲线,作为目标亮度调整曲线。
例如,当图像中的像素亮度低于亮度阈值时,可以藉由像素点周遭相邻像素点的亮度分布强度与亮度阈值的关系来达到亮度调整的依据。S所代表的是该目标像素点的亮度的调整强度,其依据是当目标像素点周遭相邻像素点的亮度分布强度值远低于亮度阈值T时,此像素的亮度需要被增强多一点。反之,当目标像素点周遭相邻像素点的亮度分布强度略低于亮度阈值T时,此像素的亮度仅需要被稍微增强。这样的做法会确保当像素落在一大片暗部区域时,这片暗部区域的亮度皆会被大幅增强。反之,当像素落在一小块暗部但周遭相邻像素点的亮度偏高时,其暗部仅会被微幅增强藉此确保此暗部的独特性。
在一个可选的实施方式中,如图4所示,当目标像素点需调整亮度时,按照上述的情境结果会确保调整的亮度强度收敛在亮度值0和亮度阈值T之间。会按照之前所述的调整强度S,来调整目标亮度调整曲线的曲率,例如原本是0.15的亮度值,按照不同的调整强度S(1.0、2.0、3.0)的影响,会让亮度增强为不同的目标亮度(0.165、0.185、0.215)。
可选地,在本实施例中,可以但不限于通过以下公式确定调整强度:
S=(T-La)*k;
其中,S为调整强度,T为亮度阈值,La为相邻像素点的亮度分布强度,k为常数因子;
可选地,在本实施例中,可以但不限于通过以下公式确定目标亮度调整曲线:
L’=Lc+S*sin(PI*Lc/T);
其中,L’为目标亮度调整曲线,Lc为原始亮度,PI为常数π。
可选地,在本实施例中,上述的亮度调整公式,并不需要运用到大量且耗 时的数学运算函数,而且整个数学运算逻辑也很适合直接在图形处理器(Graphics Processing Unit,GPU)管线中用(着色器Shader)实作并运行。这不仅可与Mipmap的功能衔接在一起,同时也确保整个运行的成本降到最低,对设备的运算效率及内存使用需求的要求较低,让高质量的暗部调整渲染机制在对运算效率及内存使用需求较差的智能型手机上得以实现。
作为一种可选的方案,在原始图像中确定出亮度低于亮度阈值的目标像素点之前,还包括:
S21,通过GPU绘图管线的Mipmap功能确定原始图像中像素点的亮度平均值;
S22,根据原始图像中像素点的亮度平均值,确定亮度阈值,其中,亮度平均值越大亮度阈值越大。
整个亮度调整的流程中,需要参考整个图像的亮度平均值,动态生成亮度阈值,并藉由此阈值来衡量图像中的哪些像素是需要进行亮度调整。而在调整像素亮度时,也需要先计算该像素的周遭即相邻像素点的亮度分布强度,透过此亮度分布强度来决定亮度所需调整的强度。这部分如果用传统的CPU进行运算时,首先必须先轮巡整个图像的像素以计算出亮度平均值,当从亮度平均值生成亮度阈值时,还得再次轮巡整张图像去比较像素亮度与该亮度阈值的差异进而决定需调整亮度的像素。其次再调整该像素亮度时,也还得需要轮巡此像素周遭即相邻像素点的亮度藉此计算出周遭的亮度分布强度,作为稍后像素亮度调整的依据。这种种的计算不仅耗时甚巨,在大屏幕分辨率的图像结果时几乎是不可能达到时时调整暗部亮度的需求。
可选地,在本实施例中,目前的智能型手机皆配备有高性能的GPU绘图管线的架构。这些GPU绘图管线都是跟随相同的标准所制定(OpenGL ES),所以如果可以把对平均亮度和周遭亮度分布强度的计算透过GPU绘图管线来达成,那不仅可以大幅压低所需的计算时间,同时也能确保此方法能够在绝大部分的智能型手机上运行。
可选地,在本实施例中,透过GPU绘图管线计算平均亮度和周遭即相邻像素点的亮度分布强度有几种方式可以达成,例如可以撰写Compute Shader程序进行计算,或是透过多次的贴图降维渲染来达成。
可选地,在本实施例中,可以使用GPU绘图管线的Mipmap功能确定亮度平均值和亮度分布强度。
作为一种可选的方案,通过GPU绘图管线的Mipmap功能确定原始图像中像素点的亮度平均值包括:
S31,通过Mipmap功能生成原始图像所对应的第一图像,其中,第一图像的分辨率为1×1;
S32,将第一图像的亮度确定为原始图像中像素点的亮度平均值。
可选地,在本实施例中,当对GPU绘图管线下达生成Mipmap指令时,GPU内部会按照2的幂次方衰减的方式分别产出分辨率低于原始图像的图像,可以将其中的分辨率为1×1的第一图像的亮度确定为原始图像中像素点的亮度平均值。
例如:如图5所示,最左边的原图是一个128x128分辨率的原图,当对GPU绘图管线下达生成Mipmap指令时,GPU内部会按照2的幂次方衰减的方式分别产出64x64、32x32、16x16、8x8、4x4、2x2、1x1等不同分辨率的缩小图。这之间每一阶小图中的每个像素颜色,都是经由上一阶大图中相对位置的4个像素颜色平均后产生的颜色值。也就是说每一阶小图都可以视为上一阶大图的颜色平均结果。经由上述的过程,一个1x1分辨率中的像素颜色值,可以视为原本128x128分辨率中所有像素颜色总平均后的颜色值。由于Mipmap的功能是在GPU绘图管线中由硬件直接生成,其产生的效率非常迅速,可视为几乎没有额外的运算成本的一种利器。
透过这个Mipmap的功能,可以得到用极低的成本从1x1的像素图中取得整张画面所有颜色的平均值。据此,可以取用此1x1的像素亮度值作为亮度阈值,来做为后续需要调整亮度的暗部的判断依据。
作为一种可选的方案,获取原始图像中与目标像素点相邻的相邻像素点的亮度分布强度包括:
S41,通过GPU绘图管线的Mipmap功能生成原始图像所对应的第二图像,其中,第二图像的分辨率小于原始图像的分辨率;
S42,获取目标像素点在上述原始图像上的第一位置;
S43,确定第一位置在第二图像上所对应的第二位置;
S44,将第二图像上位于第二位置上的像素点的亮度确定为相邻像素点的亮度分布强度。
可选地,在本实施例中,可以通过Mipmap的功能来加速相邻像素点的亮度分布强度运算的流程。假设取一个Mipmap的中间阶层的低分辨率(例如:64x64)来做参考使用,那么,在64x64这个分辨率的图像中的每一个像素的颜色亮度值,可以视为原始图像中(图像宽度除以64)和(图像高度除以64)的区块颜色亮度平均值。
在一个可选的实施方式中,如图6所示,当原始图像的像素亮度值小于亮度阈值即需要调整亮度时,可以直接去查询在64x64分辨率这张图像相同的图像坐标位置,例如目标像素点在原始图像坐标位置为(0.3,0.5)处,可以去查询对应的64x64分辨率图像在图像坐标位置为(0.3,0.5)的像素亮度。其中,透过计算机图学贴图内差的机制,会返回一个代表原始图像中此像素周遭(图像宽度除以64)和(图像高度除以64)的区块颜色平均亮度数据。可以透过此平均亮度数据作为周遭即相邻像素点的亮度分布强度,作为调整此像素亮度的依据。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
根据本申请实施例的另一个方面,还提供了一种用于实施上述图像亮度的调整方法的图像亮度的调整装置,如图7a所示,该装置包括:
第一确定模块702,用于在原始图像中确定出亮度低于亮度阈值的目标像 素点,其中,亮度阈值是根据原始图像中像素点的亮度确定得到的阈值;
获取模块704,用于获取原始图像中与目标像素点相邻的相邻像素点的亮度分布强度;
第二确定模块706,用于确定亮度阈值与相邻像素点的亮度分布强度之间的差值;
调整模块710,用于根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。
可选地,在本实施例中,如图7b所示,所述装置还包括:
第三确定模块708,用于确定出与差值对应的目标亮度调整曲线;
调整模块710,具体用于按照目标亮度调整曲线将目标像素点的原始亮度调整到目标亮度调整曲线上示出的目标亮度。
可选地,在本实施例中,第二确定模块,具体用于:
在所述亮度分布强度低于所述亮度阈值的情况下,确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值。
可选地,在本实施例中,目标像素点相邻的相邻像素点可以但不限于是目标像素点周围预定范围内的像素点。该预定范围可以但不限于为一个距离值,与目标像素点之间的距离小于该距离值的像素点均被确定为目标像素点相邻的相邻像素点。
可选地,在本实施例中,目标像素点相邻的相邻像素点可以但不限于为位于目标像素点的预定方向上的点。比如:目标像素点相邻的相邻像素点为位于目标像素点的上方、下方、左边、右边、左上方、左下方、右上方和右下方的8个点。
可选地,在本实施例中,亮度阈值是根据原始图像中像素点的亮度确定的。在一种可能的实现方式中,可以根据原始图像中像素点亮度的平均值确定该亮度阈值,比如:如果原始图像中像素点的亮度平均值较高,那么图像本身可能较明亮,则可以确定一个较高的亮度阈值。如果原始图像中像素点的亮度平均值较低,那么图像本身可能较暗,则可以确定一个较低的亮度阈值。通过这种动态确定亮度阈值的方式可以使得亮度的调整更加灵活,更加符合原始图像的真实对比度。
通过上述装置,根据原始图像中像素点的亮度确定亮度阈值,从原始图像中确定出亮度低于该亮度阈值的目标像素点,根据亮度阈值与亮度分布强度之间的差值来对目标像素点的原始亮度进行调整,由于亮度阈值是根据原始图像中像素点的亮度动态确定的,从而使得亮度阈值更加符合原始图像中像素点的亮度分布情况,通过根据亮度阈值与亮度分布强度之间的差值进行动态的亮度调整,从而使得对目标像素点的亮度调整能够参考到其周围像素点的亮度情况,保留了目标像素点与周围像素点的相对亮度变化特点,亮度的调整更加符合原始图像的亮度分布,从而实现了提高对图像进行亮度调整时的调整效果的技术效果。
图8是根据本申请实施例提供的图像亮度的调整装置的示意图二,可选地,上述装置还包括:
取消模块802,用于在亮度分布强度高于亮度阈值的情况下,取消对目标像素点进行亮度调整。
图9是根据本申请实施例提供的图像亮度的调整装置的示意图三,可选地,第三确定模块708包括:
第一确定单元902,用于根据差值确定目标像素点所对应的调整强度,其中,差值越大调整强度越大;
第二确定单元904,用于根据调整强度和亮度阈值确定目标亮度调整曲线。
可选地,在本实施例中,可以预先设置多条亮度调整曲线,从而可以根据差值确定的调整强度和根据原始图像中像素点的亮度平均值,从这些亮度调整曲线中确定亮度阈值对应的一条亮度调整曲线,作为目标亮度调整曲线。
可选地,第一确定单元用于:通过以下公式确定调整强度:
S=(T–La)*k;
其中,S为调整强度,T为亮度阈值,La为相邻像素点的亮度分布强度,k为常数因子;
第二确定单元用于:通过以下公式确定目标亮度调整曲线:
L’=Lc+S*sin(PI*Lc/T);
其中,L’为目标亮度调整曲线,Lc为原始亮度,PI为常数π。
图10是根据本申请实施例提供的图像亮度的调整装置的示意图四,可选地,上述装置还包括:
第四确定模块1002,用于通过图形处理器GPU绘图管线的Mipmap功能确定原始图像中像素点的亮度平均值;
第五确定模块1004,用于根据原始图像中像素点的亮度平均值,确定亮度阈值,其中,亮度平均值越大亮度阈值越大。
可选地,在本实施例中,目前的智能型手机皆配备有高性能的GPU绘图管线的架构。这些GPU绘图管线都是跟随相同的标准所制定(OpenGL ES),所以如果可以把对平均亮度和周遭亮度分布强度的计算透过GPU绘图管线来达成,那不仅可以大幅压低所需的计算时间,同时也能确保此方法能够在绝大部分的智能型手机上运行。
可选地,在本实施例中,可以使用GPU绘图管线的Mipmap功能确定亮度平均值和亮度分布强度。
图11是根据本申请实施例提供的图像亮度的调整装置的示意图五,可选地,第四确定模块1002包括:
第一生成单元1102,用于通过Mipmap功能生成原始图像所对应的第一图像,其中,第一图像的分辨率为1×1;
第三确定单元1104,用于将第一图像的亮度确定为原始图像中像素点的亮度平均值。
可选地,在本实施例中,当对GPU绘图管线下达生成Mipmap指令时,GPU内部会按照2的幂次方衰减的方式分别产出分辨率低于原始图像的图像,可以将其中的分辨率为1×1的第一图像的亮度确定为原始图像中像素点的亮度平均值。
图12是根据本申请实施例提供的图像亮度的调整装置的示意图六,可选地,获取模块704包括:
第二生成单元1202,用于通过GPU绘图管线的Mipmap功能生成原始图像所对应的第二图像,其中,第二图像的分辨率小于原始图像的分辨率;
获取单元1204,用于获取目标像素点在上述原始图像上的第一位置;
第四确定单元1206,用于确定第一位置在第二图像上所对应的第二位置;
第五确定单元1208,用于将第二图像上位于第二位置上的像素点的亮度确定为相邻像素点的亮度分布强度。
可选地,在本实施例中,可以通过Mipmap的功能来加速相邻像素点的亮度分布强度运算的流程。假设取一个Mipmap的中间阶层的低分辨率(例如:64x64)来做参考使用,那么,在64x64这个分辨率的图像中的每一个像素的颜色亮度值,可以视为原始图像中(图像宽度除以64)和(图像高度除以64)的区块颜色亮度平均值。
本申请实施例的应用环境可以但不限于参照上述实施例中的应用环境,本实施例中对此不再赘述。本申请实施例提供了用于实施上述实时通信的连接方法的一种可选的具体应用示例。
作为一种可选的实施例,上述图像亮度的调整方法可以但不限于应用于如图13所示的在终端上显示图像的场景中。在本场景中,提供了一个图像的亮度调整系统,该系统包括以下模块:
亮度分布映射生成器(Luminance Propagation Map Generator)模块:其中亮度分布映射(Luminance Propagation Map)的意义是纪录图像内像素周遭的其他像素的亮度分布强度情况,用来判断如果像素亮度需要增强时参考的目标亮度调整曲线的曲率。这个图像可以用Mipmap中的某一阶低分辨率的小图来直接代表。
亮度平均值映射(Luminance Average Map)的意义是整个画面的平均亮度结果。这个图像可以用Mipmap中的最低阶分辨率1x1的小图来直接代表。
Luminance Propagation Map Generator模块的功能主要是要产出Luminance Propagation Map和Luminance Average Map,按照之前的解释,整个模块功能仅需调用GPU绘图管线的Mipmap功能后,取其中一分辨率较低的某一阶层的小图及1x1这个分辨率的小图即可获得。而整个模块因为用了Mipmap功能,因此极度压低了整个需要的运算成本。
亮度阈值生成器(Dark-Threshold Generator)模块:Dark-Threshold即为亮度阈值,用来判断图像中的像素是否需要进行亮度调优。因为这个亮度阈值的依据是整个图像的平均亮度值,所以可以直接承接前一步Luminance Propagation Map Generator所生成的Mipmap中的1x1分辨率的小图结果,直 接获得而不需要额外的运算成本。
亮度曲线调整器(Luminance Curve Adjustor)模块:用来调优像素亮度的曲线产生器模块。主要是通过像素周遭亮度分布强度与亮度阈值的差异,来生成符合此差异值曲率的目标亮度调整曲线,并通过此曲线决定目标亮度。这个曲线产生器的数学式如之前所示,都是极为低廉的数学表达式的组合。加上曲线生成的流程可以跟像素是否调优的后续处理一起整合至GPU绘图管线中的Fragment Shader里,透过GPU原生中的多线程同步处理机制,整个运算的成本变得十分低廉,这确保暗部调优的机制能在有效的运作。
在一个可选的实施方式中,如图14所示,原始图像经由Luminance Propagation Map模块,利用Mipmap的功能,产生一张代表每个像素周遭亮度分布强度的Luminance Propagation Map及一张1x1分辨率的整体亮度平均图。
图像中的每个像素会运行GPU绘图管线中的Fragment Shader,其中:从1x1分辨率的亮度平均图中取得整体图像的亮度平均值,并藉此经由Dark-Threshold Generator,生成亮度阈值。图像中的每个像素透过查询Luminance Propagation Map,得到像素周遭亮度分布强度。将此像素周遭亮度分布强度与亮度阈值比较:如果像素周遭亮度分布强度高于亮度阈值,则不做任何亮度调优动作。如果像素周遭亮度分布强度值低于亮度阈值,则计算像素周遭亮度分布强度值与亮度阈值的差异值。亮度差异值经由Luminance Curve Adjustor得到符合此差异值的查询曲线。后续藉此曲线判定并调优此像素的目标亮度。
通过上述方式,可以用智能型手机中必备的GPU绘图管线流程的机制,实现原本需要大量运算成本与系统资源才得以实现的区域性动态增强影像亮度技术。因为本方式纯粹透过硬件中必备的GPU绘图管线单元来实现,所以可以运行在市售上的大部分智能型手机产品上。随着手机的性能逐年优化,GPU绘图管线单元的效能也会逐年被更新,本技术也可以从中受益藉此压低更多的运算效能成本。
根据本申请实施例的又一个方面,还提供了一种用于实施上述图像亮度的调整的电子装置,如图15所示,该电子装置包括:一个或多个(图中仅示出一个)处理器1502、存储器1504、传感器1506、编码器1508以及传输装置 1510,该存储器中存储有计算机程序,该处理器被设置为通过计算机程序执行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述电子装置可以位于计算机网络的多个网络电子装置中的至少一个网络电子装置。
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:
S51,在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,所述亮度阈值是根据所述原始图像中像素点的亮度确定得到的阈值;
S52,获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度;
S53,确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值;
S54,根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。。
可选地,本领域普通技术人员可以理解,图15所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图15其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图15中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图15所示不同的配置。
其中,存储器1504可用于存储软件程序以及模块,如本申请实施例中的图像亮度的调整方法和装置对应的程序指令/模块,处理器1502通过运行存储在存储器1504内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的目标组件的控制方法。存储器1504可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1504可进一步包括相对于处理器1502远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
上述的传输装置1510用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置1510包括一 个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置1510为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
其中,具体地,存储器1504用于存储应用程序。
本申请的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S61,在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,所述亮度阈值是根据所述原始图像中像素点的亮度确定得到的阈值;
S62,获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度;
S63,确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值;
S64,根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。
可选地,存储介质还被设置为存储用于执行上述实施例中的方法中所包括的步骤的计算机程序,本实施例中对此不再赘述。
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
本申请的实施例还提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行上述任一项中所述的方法。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技 术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (22)

  1. 一种图像亮度的调整方法,包括:
    在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,所述亮度阈值是根据所述原始图像中像素点的亮度确定得到的阈值;
    获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度;
    确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值;
    根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。
  2. 根据权利要求1所述的方法,所述根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度,包括:
    确定出与所述差值对应的目标亮度调整曲线;
    按照所述目标亮度调整曲线将所述目标像素点的原始亮度调整到所述目标亮度调整曲线上示出的目标亮度。
  3. 根据权利要求1所述的方法,所述确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值,包括:
    在所述亮度分布强度低于所述亮度阈值的情况下,确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值。
  4. 根据权利要求3所述的方法,在所述获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度之后,所述方法还包括:
    在所述亮度分布强度高于所述亮度阈值的情况下,取消对所述目标像素点进行亮度调整。
  5. 根据权利要求2所述的方法,所述确定出与所述差值对应的目标亮度调整曲线,包括:
    根据所述差值确定所述目标像素点所对应的调整强度,其中,所述差值越大所述调整强度越大;
    根据所述调整强度和所述亮度阈值确定所述目标亮度调整曲线。
  6. 根据权利要求5所述的方法,所述根据所述差值确定所述目标像素点所对应的调整强度,包括:通过以下公式确定所述调整强度:
    S=(T–La)*k;
    其中,S为所述调整强度,T为所述亮度阈值,La为所述相邻像素点的亮度分布强度,k为常数因子;
    所述根据所述调整强度和所述亮度阈值确定所述目标亮度调整曲线,包括:通过以下公式确定所述目标亮度调整曲线:
    L’=Lc+S*sin(PI*Lc/T);
    其中,L’为所述目标亮度调整曲线,Lc为所述原始亮度,PI为常数π。
  7. 根据权利要求1-6任意一项所述的方法,所述亮度阈值是根据所述原始图像中像素点的亮度平均值确定得到的阈值。
  8. 根据权利要求7所述的方法,在所述在原始图像中确定出亮度低于亮度阈值的目标像素点之前,所述方法还包括:
    通过图形处理器GPU绘图管线的Mipmap功能确定所述原始图像中像素点的亮度平均值;
    根据所述原始图像中像素点的亮度平均值,确定所述亮度阈值,其中,所述亮度平均值越大所述亮度阈值越大。
  9. 根据权利要求8所述的方法,所述通过图形处理器GPU绘图管线的Mipmap功能确定所述原始图像中像素点的亮度平均值,包括:
    通过所述Mipmap功能生成所述原始图像所对应的第一图像,其中,所述第一图像的分辨率为1×1;
    将所述第一图像的亮度确定为所述原始图像中像素点的亮度平均值。
  10. 根据权利要求1所述的方法,所述获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度,包括:
    通过图形处理器GPU绘图管线的Mipmap功能生成所述原始图像所对应的第二图像,其中,所述第二图像的分辨率小于所述原始图像的分辨率;
    获取所述目标像素点在所述原始图像上的第一位置;
    确定所述第一位置在所述第二图像上所对应的第二位置;
    将所述第二图像上位于所述第二位置上的像素点的亮度确定为所述相邻像素点的亮度分布强度。
  11. 一种图像亮度的调整装置,包括:
    第一确定模块,用于在原始图像中确定出亮度低于亮度阈值的目标像素点,其中,所述亮度阈值是根据所述原始图像中像素点的亮度确定得到的阈值;
    获取模块,用于获取所述原始图像中与所述目标像素点相邻的相邻像素点的亮度分布强度;
    第二确定模块,用于确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值;
    调整模块,用于根据所述差值和所述目标像素点的原始亮度,将所述目标像素点调整至对应的目标亮度。
  12. 根据权利要求11所述的装置,所述装置还包括:
    第三确定模块,用于确定出与所述差值对应的目标亮度调整曲线;
    调整模块,具体用于按照所述目标亮度调整曲线将所述目标像素点的原始亮度调整到所述目标亮度调整曲线上示出的目标亮度。
  13. 根据权利要求11所述的装置,所述第二确定模块,具体用于:
    在所述亮度分布强度低于所述亮度阈值的情况下,确定所述亮度阈值与所述相邻像素点的亮度分布强度之间的差值。
  14. 根据权利要求12所述的装置,所述第三确定模块包括:
    第一确定单元,用于根据所述差值确定所述目标像素点所对应的调整强度,其中,所述差值越大所述调整强度越大;
    第二确定单元,用于根据所述调整强度和所述亮度阈值确定所述目标亮度调整曲线。
  15. 根据权利要求14所述的装置,
    所述第一确定单元用于:通过以下公式确定所述调整强度:
    S=(T–La)*k;
    其中,S为所述调整强度,T为所述亮度阈值,La为所述相邻像素点的亮度分布强度,k为常数因子;
    所述第二确定单元用于:通过以下公式确定所述目标亮度调整曲线:
    L’=Lc+S*sin(PI*Lc/T);
    其中,L’为所述目标亮度调整曲线,Lc为所述原始亮度,PI为常数π。
  16. 根据权利要求11-15任意一项所述的装置,所述亮度阈值是根据所述原 始图像中像素点的亮度平均值确定得到的阈值。
  17. 根据权利要求16所述的装置,所述装置还包括:
    第四确定模块,用于通过图形处理器GPU绘图管线的Mipmap功能确定所述原始图像中像素点的亮度平均值;
    第五确定模块,用于根据所述原始图像中像素点的亮度平均值,确定所述亮度阈值,其中,所述亮度平均值越大所述亮度阈值越大。
  18. 根据权利要求17所述的装置,所述第四确定模块包括:
    第一生成单元,用于通过所述Mipmap功能生成所述原始图像所对应的第一图像,其中,所述第一图像的分辨率为1×1;
    第三确定单元,用于将所述第一图像的亮度确定为所述原始图像中像素点的亮度平均值。
  19. 根据权利要求11所述的装置,所述获取模块包括:
    第二生成单元,用于通过图形处理器GPU绘图管线的Mipmap功能生成所述原始图像所对应的第二图像,其中,所述第二图像的分辨率小于所述原始图像的分辨率;
    获取单元,用于获取所述目标像素点在所述原始图像上的第一位置;
    第四确定单元,用于确定所述第一位置在所述第二图像上所对应的第二位置;
    第五确定单元,用于将所述第二图像上位于所述第二位置上的像素点的亮度确定为所述相邻像素点的亮度分布强度。
  20. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至10任一项中所述的方法。
  21. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至10任一项中所述的方法。
  22. 一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行权利要求1至10任一项中所述的方法。
PCT/CN2020/084581 2019-05-05 2020-04-14 图像亮度的调整方法、装置、存储介质及电子装置 Ceased WO2020224390A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
EP20801932.3A EP3968268A4 (en) 2019-05-05 2020-04-14 IMAGE BRIGHTNESS ADJUSTMENT METHOD AND DEVICE, STORAGE MEDIA AND ELECTRONIC DEVICE
KR1020217021752A KR102548745B1 (ko) 2019-05-05 2020-04-14 이미지 휘도 조정 방법 및 장치, 저장 매체, 그리고 전자 장치
SG11202105754RA SG11202105754RA (en) 2019-05-05 2020-04-14 Image brightness adjustment method and device, storage medium and electronic device
JP2021547520A JP7226893B2 (ja) 2019-05-05 2020-04-14 画像輝度の調整方法及び装置、電子機器及びコンピュータプログラム
US17/343,544 US11587530B2 (en) 2019-05-05 2021-06-09 Method and apparatus for adjusting image luminance, storage medium, and electronic device
US18/101,007 US12062350B2 (en) 2019-05-05 2023-01-24 Method and apparatus for adjusting image luminance, storage medium, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910368934.3A CN110120021B (zh) 2019-05-05 2019-05-05 图像亮度的调整方法、装置、存储介质及电子装置
CN201910368934.3 2019-05-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/343,544 Continuation US11587530B2 (en) 2019-05-05 2021-06-09 Method and apparatus for adjusting image luminance, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2020224390A1 true WO2020224390A1 (zh) 2020-11-12

Family

ID=67520359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084581 Ceased WO2020224390A1 (zh) 2019-05-05 2020-04-14 图像亮度的调整方法、装置、存储介质及电子装置

Country Status (7)

Country Link
US (2) US11587530B2 (zh)
EP (1) EP3968268A4 (zh)
JP (1) JP7226893B2 (zh)
KR (1) KR102548745B1 (zh)
CN (1) CN110120021B (zh)
SG (1) SG11202105754RA (zh)
WO (1) WO2020224390A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20240062530A1 (en) * 2020-12-17 2024-02-22 Trustees Of Tufts College Deep perceptual image enhancement

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120021B (zh) 2019-05-05 2021-04-09 腾讯科技(深圳)有限公司 图像亮度的调整方法、装置、存储介质及电子装置
CN110766703A (zh) * 2019-10-21 2020-02-07 合肥成方信息技术有限公司 基于GPU的Compute Shader的智能图像识别方法
CN110910333B (zh) * 2019-12-12 2023-03-14 腾讯科技(深圳)有限公司 图像处理方法和图像处理设备
CN112750086B (zh) * 2020-08-31 2024-10-15 腾讯科技(深圳)有限公司 一种图像处理方法、装置、电子设备及存储介质
CN112669227B (zh) * 2020-12-16 2023-10-17 Tcl华星光电技术有限公司 图标边缘处理方法、装置和计算机可读存储介质
CN112383719B (zh) * 2021-01-13 2022-02-01 腾讯科技(深圳)有限公司 图像亮度的调整方法、装置、设备及可读存储介质
CN113920239B (zh) * 2021-10-09 2026-02-27 网易(杭州)网络有限公司 贴图亮度的调整方法、装置、设备及存储介质
CN114387186A (zh) * 2022-01-12 2022-04-22 Tcl通讯科技(成都)有限公司 可见度调整方法、装置、电子设备和计算机可读存储介质
US20230317023A1 (en) * 2022-04-05 2023-10-05 Meta Platforms Technologies, Llc Local dimming for artificial reality systems
CN117392244A (zh) * 2022-06-30 2024-01-12 宜宾市极米光电有限公司 图像处理方法、装置、电子设备和存储介质
CN115578291B (zh) * 2022-11-01 2026-04-03 深圳理工大学 图像的亮度校正方法、存储介质及电子设备
CN116366985B (zh) * 2023-02-23 2025-09-30 深圳因赛德思医疗科技有限公司 图像测光曝光处理方法、系统、终端设备以及存储介质
US12288531B2 (en) 2023-04-17 2025-04-29 Meta Platforms Technologies, Llc Systems and methods for performing global dimming in artificial reality systems
US20240062436A1 (en) * 2023-10-09 2024-02-22 Sony Interactive Entertainment LLC Using stable diffusion to produce images conforming to color palette

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100590529B1 (ko) * 2003-11-04 2006-06-15 삼성전자주식회사 영상의 국부적 휘도 향상 방법 및 장치와 컴퓨터프로그램을 저장하는 컴퓨터로 읽을 수 있는 기록 매체
CN104301624A (zh) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 一种图像拍摄亮度控制方法及装置
CN104517268A (zh) * 2014-12-24 2015-04-15 小米科技有限责任公司 调整图像亮度的方法及装置
CN109672829A (zh) * 2019-01-04 2019-04-23 Oppo广东移动通信有限公司 图像亮度的调整方法、装置、存储介质及终端
CN110120021A (zh) * 2019-05-05 2019-08-13 腾讯科技(深圳)有限公司 图像亮度的调整方法、装置、存储介质及电子装置

Family Cites Families (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101089394B1 (ko) * 2003-09-11 2011-12-07 파나소닉 주식회사 시각 처리 장치, 시각 처리 방법, 시각 처리 프로그램 및 반도체 장치
JP4414307B2 (ja) * 2003-09-11 2010-02-10 パナソニック株式会社 視覚処理装置、視覚処理方法、視覚処理プログラムおよび半導体装置
TWI292138B (en) * 2004-03-11 2008-01-01 Mstar Semiconductor Inc Device for adaptively adjusting video's luminance and related method
JP4577621B2 (ja) * 2004-09-01 2010-11-10 日本電気株式会社 画像補正処理システム及び画像補正処理方法
JP4683994B2 (ja) * 2005-04-28 2011-05-18 オリンパス株式会社 画像処理装置、画像処理方法、電子カメラ、スキャナ
JP4440245B2 (ja) * 2005-10-12 2010-03-24 パナソニック株式会社 視覚処理装置、表示装置および集積回路
JP4094652B2 (ja) * 2006-04-28 2008-06-04 松下電器産業株式会社 視覚処理装置、視覚処理方法、プログラム、記録媒体、表示装置および集積回路
KR100809347B1 (ko) * 2006-07-31 2008-03-05 삼성전자주식회사 쉐도우 영역 보상 방법 및 장치
JP5004717B2 (ja) * 2006-08-28 2012-08-22 パナソニック株式会社 描画装置、描画方法、および描画プログラム
JP4221434B2 (ja) * 2006-10-04 2009-02-12 株式会社ナナオ 輪郭補正方法、画像処理装置及び表示装置
KR100977396B1 (ko) * 2008-08-08 2010-08-24 팅크웨어(주) 밉맵 이미지 처리 장치 및 그 방법
TWI464706B (zh) * 2009-03-13 2014-12-11 Micro Star Int Co Ltd 以單張影像模擬高動態範圍之暗部曝光補償方法及其應用該方法的影像處理裝置
WO2010116522A1 (ja) * 2009-04-10 2010-10-14 パイオニア株式会社 画像処理装置、その方法、そのプログラム、そのプログラムを記録した記録媒体、および表示装置
JP4803284B2 (ja) * 2009-07-08 2011-10-26 カシオ計算機株式会社 画像処理装置、及び画像処理プログラム
JP5495025B2 (ja) * 2009-12-22 2014-05-21 ソニー株式会社 画像処理装置および方法、並びにプログラム
JP5410378B2 (ja) * 2010-07-21 2014-02-05 日本放送協会 映像信号補正装置および映像信号補正プログラム
US8559059B2 (en) * 2010-07-29 2013-10-15 Brother Kogyo Kabushiki Kaisha Image processing device superimposing supplemental image to encompass area of original based on luminance difference between nearby pixels
US9105078B2 (en) * 2012-05-31 2015-08-11 Apple Inc. Systems and methods for local tone mapping
KR101981573B1 (ko) * 2012-11-22 2019-05-23 삼성전자주식회사 이미지 신호 프로세서 및 이미지 신호 프로세서를 포함하는 모바일 촬영 장치
CN103971330B (zh) * 2013-02-05 2017-10-20 腾讯科技(深圳)有限公司 图像增强方法及装置
TWI536341B (zh) * 2014-03-21 2016-06-01 緯創資通股份有限公司 顯示補償方法與顯示補償系統
JP6042030B2 (ja) 2014-03-28 2016-12-14 富士フイルム株式会社 画像処理装置、撮影装置、画像処理方法、及びプログラム
JP2015197473A (ja) * 2014-03-31 2015-11-09 ソニー株式会社 信号処理方法、表示装置、及び電子機器
CN104715735B (zh) * 2015-03-31 2017-08-25 福州瑞芯微电子股份有限公司 一种背光调整的方法和装置
WO2016165967A1 (en) * 2015-04-14 2016-10-20 Fotonation Limited Image acquisition method and apparatus
US10140953B2 (en) * 2015-10-22 2018-11-27 Dolby Laboratories Licensing Corporation Ambient-light-corrected display management for high dynamic range images
US20170178395A1 (en) * 2015-12-16 2017-06-22 Google Inc. Light field rendering of an image using variable computational complexity
JP6834383B2 (ja) * 2016-11-14 2021-02-24 ブラザー工業株式会社 画像読取装置及び決定方法
CN109145678B (zh) * 2017-06-15 2020-12-11 杭州海康威视数字技术股份有限公司 信号灯检测方法及装置和计算机设备及可读存储介质
CN107545871B (zh) * 2017-09-30 2020-03-24 青岛海信电器股份有限公司 图像亮度处理方法及装置
CN108307125B (zh) * 2018-02-08 2021-10-08 腾讯科技(深圳)有限公司 一种图像采集方法、装置和存储介质
CN108806616A (zh) * 2018-05-30 2018-11-13 深圳市零度智控科技有限公司 背光控制方法、装置及计算机可读存储介质
CN108924525B (zh) * 2018-06-06 2021-07-06 平安科技(深圳)有限公司 图像亮度调整方法、装置、计算机设备及存储介质
CN109064998A (zh) * 2018-06-28 2018-12-21 努比亚技术有限公司 一种屏幕亮度调节方法、终端及计算机可读存储介质
CN109064431B (zh) * 2018-08-23 2021-10-26 腾讯数码(天津)有限公司 一种图片亮度调节方法、设备及其存储介质
CN109587392B (zh) * 2018-10-18 2020-12-22 蒋涛 监控设备的调整方法及装置、存储介质、电子装置
CN109256077B (zh) * 2018-11-01 2021-12-14 京东方科技集团股份有限公司 显示面板的控制方法、装置及可读存储介质
CN109686342B (zh) * 2018-12-25 2021-04-06 海信视像科技股份有限公司 一种图像处理方法及装置
CN109697738B (zh) * 2018-12-28 2024-09-10 Oppo广东移动通信有限公司 图像处理方法、装置、终端设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100590529B1 (ko) * 2003-11-04 2006-06-15 삼성전자주식회사 영상의 국부적 휘도 향상 방법 및 장치와 컴퓨터프로그램을 저장하는 컴퓨터로 읽을 수 있는 기록 매체
CN104301624A (zh) * 2014-10-30 2015-01-21 青岛海信移动通信技术股份有限公司 一种图像拍摄亮度控制方法及装置
CN104517268A (zh) * 2014-12-24 2015-04-15 小米科技有限责任公司 调整图像亮度的方法及装置
CN109672829A (zh) * 2019-01-04 2019-04-23 Oppo广东移动通信有限公司 图像亮度的调整方法、装置、存储介质及终端
CN110120021A (zh) * 2019-05-05 2019-08-13 腾讯科技(深圳)有限公司 图像亮度的调整方法、装置、存储介质及电子装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3968268A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20240062530A1 (en) * 2020-12-17 2024-02-22 Trustees Of Tufts College Deep perceptual image enhancement

Also Published As

Publication number Publication date
CN110120021B (zh) 2021-04-09
US11587530B2 (en) 2023-02-21
US20210295801A1 (en) 2021-09-23
US20230169935A1 (en) 2023-06-01
CN110120021A (zh) 2019-08-13
KR102548745B1 (ko) 2023-06-27
SG11202105754RA (en) 2021-06-29
JP2022520264A (ja) 2022-03-29
EP3968268A4 (en) 2022-07-13
KR20210102382A (ko) 2021-08-19
US12062350B2 (en) 2024-08-13
EP3968268A1 (en) 2022-03-16
JP7226893B2 (ja) 2023-02-21

Similar Documents

Publication Publication Date Title
US12062350B2 (en) Method and apparatus for adjusting image luminance, storage medium, and electronic device
JP7612700B2 (ja) 分散システムにおける動き平滑化
CN112791399B (zh) 云游戏画面的显示方法及装置、系统、介质、电子设备
WO2022100522A1 (zh) 一种视频编码方法、视频解码方法、装置、电子设备、存储介质及计算机程序产品
US20200234490A1 (en) Dynamic lighting for objects in images
WO2019085838A1 (zh) 对象渲染方法和装置、存储介质及电子装置
JP7703675B2 (ja) ゲーム画面の表示方法及び装置、電子機器、並びにコンピュータプログラム
CN114419234B (zh) 三维场景渲染方法、装置、电子设备及存储介质
CN108389241A (zh) 游戏场景中生成贴图的方法、装置和系统
CN108898644A (zh) 一种栅格数据动态渲染方法、系统和存储介质
TWI829350B (zh) 增強幀序列的質量的方法及系統
US12198244B1 (en) Systems and methods for true three-dimensional streaming
CN108769662B (zh) 一种多视点裸眼3d图像空洞填补方法、装置及电子设备
CN114820348B (zh) 一种图像处理方法、装置、电子设备及存储介质
TWI868478B (zh) 增強幀序列質量的方法以及系統
CN107452045B (zh) 基于虚拟现实应用反畸变网格的空间点映射方法
US9952821B2 (en) Screen position sensing method in multi display system, content configuring method, watermark image generating method for sensing screen position server, and display terminal
EP2586191A2 (en) Techniques for robust color transfer
CN116962656A (zh) 色域转换方法、装置及电子设备
HK40043495B (zh) 云游戏画面的显示方法及装置、系统、介质、电子设备
HK40043495A (zh) 云游戏画面的显示方法及装置、系统、介质、电子设备
HK40092257A (zh) 视频编码方法、实时通信方法、装置、设备及存储介质
CN117237249A (zh) 一种无人机探测图像的透雾增强方法、装置以及电子设备
CN121099203A (zh) 视频的影调处理方法、装置、电子设备及介质
CN120238641A (zh) 数据处理方法、图像显示方法、装置、设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20801932

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20217021752

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021547520

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020801932

Country of ref document: EP

Effective date: 20211206