WO2024251062A1 - 增益图的生成方法、装置、电子设备及介质 - Google Patents

增益图的生成方法、装置、电子设备及介质 Download PDF

Info

Publication number
WO2024251062A1
WO2024251062A1 PCT/CN2024/096982 CN2024096982W WO2024251062A1 WO 2024251062 A1 WO2024251062 A1 WO 2024251062A1 CN 2024096982 W CN2024096982 W CN 2024096982W WO 2024251062 A1 WO2024251062 A1 WO 2024251062A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness
pixel
gain
original image
pixel point
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/CN2024/096982
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2024251062A1 publication Critical patent/WO2024251062A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20208High dynamic range [HDR] image processing

Definitions

  • the present application belongs to the field of image processing technology, and specifically relates to a method, device, electronic device and medium for generating a gain map.
  • a gain map is an image that describes the brightness gain of different regions of an image. It is usually a grayscale image of the same size as the original image, where each pixel represents the brightness gain of the corresponding region.
  • the original image is usually stored as a standard dynamic range (SDR) image.
  • SDR standard dynamic range
  • 8bit the actual scene appearance cannot be accurately displayed when viewing the image through the device, including brightness and color perception.
  • the gain map can be used to enhance the dynamic range of the image.
  • the image is stored in the format of SDR image + gain map, so that in the subsequent image processing and display process, the dynamically adjusted brightness range of the SDR image can be adjusted based on the gain map to restore or enhance the details and color information of the original image.
  • the purpose of the embodiments of the present application is to provide a method, device, electronic device and medium for generating a gain map, which can solve the technical problem that a gain map cannot be obtained in existing scene information that cannot be tone mapped.
  • an embodiment of the present application provides a method for generating a gain map, the method comprising:
  • the first brightness information includes a first brightness of at least one pixel in the original image, and each pixel in the at least one pixel corresponds to a first brightness;
  • a gain map is generated according to the brightness gain of the at least one pixel and the original image.
  • an embodiment of the present application provides a device for generating a gain map, the device comprising:
  • An acquisition module configured to acquire first brightness information of an original image, wherein the first brightness information includes a first brightness of at least one pixel in the original image, and each pixel in the at least one pixel corresponds to a first brightness;
  • a determination module configured to determine a brightness gain of at least one pixel in the original image according to a first brightness of the at least one pixel
  • a generating module is used to generate a gain map according to the brightness gain of the at least one pixel point and the original image.
  • an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method provided in the first aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method provided in the first aspect are implemented.
  • an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method provided in the first aspect.
  • an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method provided in the first aspect.
  • an embodiment of the present application provides an electronic device, which is configured to execute the method described in the first aspect.
  • the brightness gain of each pixel can be determined based on the first brightness of at least one pixel, and a gain map can be generated from the brightness gain of each pixel and the original image.
  • the present application does not need to obtain the image data of the SDR image, and can determine the corresponding gain map only through a single frame of the original image. This method of generating a gain map can be applied to a wider range of application scenarios.
  • FIG1 is a schematic flow chart of a method for generating a gain map according to an embodiment of the present application
  • FIG2 is a schematic diagram of the structure of a gain map generating device provided by another embodiment of the present application.
  • FIG3 is a schematic diagram of the structure of an electronic device provided by another embodiment of the present application.
  • FIG. 4 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application.
  • first, second, etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
  • the original image is usually stored as a standard dynamic range (SDR) image, and the original image needs to be converted into an SDR image through tone mapping, and then the gain map is determined based on the image data of the original image and the image data of the SDR image.
  • SDR standard dynamic range
  • the present application provides a method for generating a gain map.
  • the following is a detailed description of the method for generating a gain map provided in the embodiment of the present application through specific embodiments and scenario information in conjunction with the accompanying drawings.
  • FIG. 1 is a flow chart of a method for generating a gain map provided by an embodiment of the present application.
  • the embodiment of the present application provides a method for generating a gain map, which may include:
  • the original image may be a high dynamic range image obtained by fusion of multiple frames, or a high dynamic range image that has not undergone any image processing or compression. Compared with a standard image, the original image has a wider brightness range.
  • the original image includes at least one pixel, and the first image information includes a first brightness of each pixel in the at least one pixel.
  • the first brightness of the pixel refers to the brightness or grayscale level of the pixel, which reflects the light intensity or color brightness represented by the pixel.
  • the first brightness of the pixel may be determined based on each color channel of the pixel. For example, it may be calculated using the following formula:
  • Y represents the first brightness of the pixel
  • R represents the red channel
  • Gr represents the green (red difference) channel
  • Gb represents the green (blue difference) channel
  • B represents the blue channel
  • a, b, c and d represent the weighting coefficients of each color channel, each weighting coefficient is greater than 0, and the sum of each weighting coefficient is 1.
  • the original image is usually a high dynamic range image
  • the original image is usually stored as a standard dynamic range (Standard Dynamic Range, SDR) image.
  • SDR Standard Dynamic Range
  • the standard white of the current SDR display is generally 100nit, and the peak brightness of the current latest display can be as high as 2000nit, if the SDR standard display is used directly, it will be impossible to restore the human eye's true perception of the actual scene due to the limited display brightness range (specifically, the brightness of the highlight area is not bright enough, which is quite different from the actual scene). Therefore, it is considered to combine the peak brightness of the display and the gain image to restore the details and colors of the highlight area of the SDR image to restore the human eye's true perception of the scene.
  • the SDR image can be brightened based on the brightness gain of each pixel in the original image.
  • the brightness gain is used to represent the degree of brightening of the brightness of the pixel in the SDR image. The larger the brightness gain, the higher the degree of brightening of the pixel.
  • the brightness gain of the pixel can be determined based on the first brightness of the pixel in the original image, so that the brightness gain of the pixel is positively correlated with the first brightness to ensure the display effect of the displayed image.
  • S103 Generate a gain map according to the brightness gain of the at least one pixel and the original image.
  • the gain map refers to a grayscale image with the same size and the same outline as the original image.
  • the pixel value of each pixel on the gain map is used to represent the brightness gain of the pixel in the SDR image. Therefore, after determining the original image and the brightness gain of each pixel, an image with the same size outline as the original image and each pixel as the brightness gain can be generated, which is the gain map.
  • the gain map can be applied to perform different degrees of brightness adjustment on different areas of the SDR image to obtain a display image and enhance the display effect of the display image.
  • the brightness gain of each pixel can be determined based on the first brightness of at least one pixel, and a gain map can be generated by the brightness gain of each pixel and the original image.
  • the present application does not need to obtain the image data of the SDR image, and can determine the corresponding gain map only through a single frame of the original image. This method of generating a gain map can be applied to a wider range of application scenarios.
  • S102 includes:
  • the brightness gain of the at least one pixel point is determined according to the first brightness of the at least one pixel point and the second brightness of the at least one pixel point.
  • the compression degree of the first brightness of each pixel in the original image can be estimated in the process of obtaining the SDR image by compressing the dynamic range of the original image, so as to obtain the second brightness of each pixel in the original image, and determine the brightness gain of these pixels based on the first brightness and the second brightness of each pixel. Since the brightness gain reflects the difference between the first brightness and the second brightness, the greater the difference between the first brightness and the second brightness, the greater the brightness gain.
  • the compression coefficient is used to indicate the compression degree of the first brightness of each pixel point.
  • the compression coefficient of each pixel point in the original image can be determined according to the scene information in the original image.
  • a basic coefficient may be determined, and the image area to which each pixel in the original image belongs may be identified, and then the scene information corresponding to the image area may be identified, and the basic coefficient may be adjusted based on the scene information to obtain a compression coefficient of each pixel, and the first brightness of each pixel may be compressed based on the compression coefficient to obtain a compressed second brightness.
  • the original image may be divided into at least one image area based on the scene information of the original image in advance, and each image area corresponds to a type of scene information.
  • dynamic range compression can be power exponential compression.
  • the exponential value of the compression function is the compression coefficient.
  • the first exponent can be determined as the basic coefficient. If the scene information of the original image to be compressed is identified as a scene with a portrait, in this case, if the background of the portrait is brightened to a high degree, the background will be too prominent, making the picture appear less coordinated. Therefore, the first exponent can be reduced to obtain a second exponent, and the second exponent is used as the final compression coefficient. In this way, a larger second brightness and a smaller brightness gain can be obtained, thereby reducing the brightening degree of the SDR image.
  • dynamic range compression can be log function compression.
  • the base value of the log function is the compression coefficient.
  • the first base can be determined as the base coefficient. If the scene information of the original image to be compressed is identified as a scene with a portrait, then the brightness gain of the pixel needs to be reduced. Therefore, the first base can be reduced to obtain a second base, and the second base is used as the final compression coefficient. In this way, a larger second brightness and a smaller brightness gain can be obtained, thereby reducing the brightening degree of the SDR image.
  • the compression coefficient of the SDR image obtained by dynamic range compression of the original image can be estimated in combination with the scene information of the original image, thereby determining the second brightness of each pixel after compression, and determining the brightness gain of the pixel based on the first brightness before compression and the second brightness after compression, thereby accurately controlling the brightening degree of different areas according to the scenes to which different areas belong.
  • determining the brightness gain of the at least one pixel point according to the first brightness of the at least one pixel point and the second brightness of the at least one pixel point includes:
  • the target pixel point is any one of the at least one pixel point.
  • the gain reference refers to a reference standard or reference point of brightness gain.
  • the gain reference of a pixel point can be directly determined as the brightness gain of the pixel point, or it can be optimized based on the gain reference to obtain the final brightness gain.
  • the gain reference is calculated as follows:
  • Y represents the first brightness of the target pixel
  • Y GTM represents the second brightness of the target pixel
  • eps is a first value
  • eps is a very small value, such as 1e-6, which is set to avoid Y GTM being 0
  • T represents the gain reference of the target pixel.
  • determining the brightness gain of the target pixel point according to the gain reference includes:
  • a first product of the adjustment ratio corresponding to the target scene information and the gain reference is determined as the brightness gain of the target pixel.
  • the scene information in the original image can be identified, and the original image can be segmented based on different scene information, and the gain reference of the pixel in the image area corresponding to the different scene information can be adjusted in different ways.
  • each scene information has a corresponding adjustment ratio, and the gain reference of all the pixel in the image area corresponding to the scene information can be adjusted based on the adjustment ratio corresponding to the scene information to obtain the final brightness gain.
  • the target scene information corresponding to the target pixel is a yin-yang face, that is, a face in which half of the face is illuminated very brightly and the other half is not illuminated and is therefore darker.
  • the brightness gain of the bright part is usually greater than that of the dark part, the bright half of the face will be brighter, which seriously affects the perception of the displayed image. Therefore, it is necessary to reduce the value of the gain reference to obtain a smaller brightness gain. Then, the adjustment ratio corresponding to the yin-yang face can be obtained, and the value of the gain reference can be reduced based on the adjustment ratio to obtain a smaller brightness gain.
  • the brightness gain can be further adjusted based on the brightness gain and combined with specific scene information, so as to more accurately achieve differentiated control of the brightness gains of different areas on the image.
  • determining the brightness gain of the target pixel point by multiplying the adjustment ratio corresponding to the target scene information by the first product of the gain reference includes:
  • a first product of the adjustment ratio corresponding to the target scene information and the gain reference is determined as the brightness gain of the target pixel.
  • each pixel in the original image may be traversed to determine whether these pixel points correspond to the target scene information, and based on the determination result, the gain reference of these pixel points may be adjusted to the brightness gain.
  • GainMap represents the brightness gain of the pixel
  • Ratio represents the adjustment ratio
  • Mask is used to characterize whether the pixel corresponds to the target scene information. If it corresponds to the target scene information, the Mask of the pixel is 1, otherwise it is 0, and T represents the gain reference of the pixel.
  • the brightness gain of the pixel point is the first product of the adjustment ratio corresponding to the target scene information and the gain benchmark; if the pixel point corresponds to the target scene information, the brightness gain of the pixel point is the gain benchmark of the pixel point.
  • determining the brightness gain of at least one pixel in the original image according to the first brightness of the at least one pixel includes:
  • the brightness gain of the at least one pixel is determined according to the first brightness of the at least one pixel and the brightness threshold.
  • the brightness threshold refers to the highest brightness that the standard dynamic range image can display. If the first brightness of a pixel in the original image is higher than the brightness threshold, then in the process of converting the original image into the standard dynamic range image, the first brightness of the pixel will definitely be compressed. Therefore, it is necessary to set a corresponding brightness gain for the pixel so that the standard dynamic range image can restore the brightness during the brightening process, thereby obtaining a better display effect. Therefore, the brightness gain of each pixel can be determined based on the first brightness and the brightness threshold. Specifically, the greater the difference between the first brightness and the brightness threshold, the greater the degree of compression, that is, a larger brightness gain needs to be determined.
  • the above method directly determines the brightness gain through the first brightness of the pixel point of the original image and the brightness threshold of the SDR image. Then, during the brightening process, the brightening multiple is related to the actual brightness of different areas in the original image, so that accurate brightening control can be performed on different areas.
  • determining the brightness gain of the at least one pixel point according to the first brightness of the at least one pixel point and the brightness threshold comprises:
  • the sum of the first difference and the fourth value is determined as the brightness gain of the target pixel.
  • determining the brightness gain of the at least one pixel point according to the first brightness of the at least one pixel point and the brightness threshold comprises:
  • the brightness gain of the target pixel is determined to be 1.
  • the brightness gain of the target pixel can be determined by an interval function.
  • the third value can be any constant greater than 1 set in advance, which is used to convert the brightness into a log domain value for subsequent calculations.
  • interval function is as follows:
  • GainMap represents the brightness gain of the target pixel
  • sdr_threshold represents a fixed brightness threshold
  • YLog is the log domain expression of the first brightness of the target pixel
  • log 2 (sdr threshold ) is the log domain expression of the brightness threshold
  • the third value in the above interval function is 2 and the fourth value is 1.
  • YLog is the log domain expression of the first brightness of the target pixel
  • Y is the first brightness
  • the second value is 1.
  • the brightness gain of the target pixel can be directly determined as 1.
  • the brightness gain of the target pixel can be determined as the value obtained by adding the difference between the log domain expression of the first brightness and the log domain expression of the brightness threshold and 1.
  • the brightness threshold is 4096
  • the brightness gain of the target pixel is 1; if the first brightness is 16384, then the brightness gain of the target pixel is 3.
  • the method further includes:
  • the product of the third ratio and the sixth value is normalized and stored.
  • the gain map and the SDR image can be stored together.
  • the numerical range of the pixel gain of each pixel point in the gain map can be mapped to an integer range of 0 to 255, and stored as an 8-bit grayscale image.
  • mapping process is shown in the following formula:
  • maxGain is the maximum brightness gain in the gain map
  • max(GainMap) means the pixel with the largest brightness gain is screened out from all pixels.
  • the maximum brightness gain can be substituted into the following formula:
  • GM is the value to be normalized
  • maxGain is the maximum brightness gain in the gain map
  • GainMap represents the brightness gain of the target pixel
  • the fifth value is 1
  • the sixth value is 255.
  • each brightness gain can be converted into a normalized value between 0 and 255, and then the normalized value is normalized to the nearest integer and stored as an 8-bit grayscale image.
  • the gain map is normalized to 0-255 for storage, so that it can be represented as a grayscale image, and an 8-bit integer value is used in each pixel to represent the gain information.
  • This representation form can facilitate the storage and processing of the gain map, and is convenient for continued use in subsequent image processing.
  • the maximum value plus normalization method is used to facilitate the retention of the accuracy of the gain map and improve the display fault problem of the displayed image caused by the accuracy problem of the gain map.
  • FIG. 2 is a schematic diagram of the structure of a gain map generation device provided by another embodiment of the present application. As shown in FIG. 2 , the gain map generation device may include:
  • An acquisition module 201 is used to acquire first brightness information of an original image, wherein the first brightness information includes a first brightness of at least one pixel in the original image, and each pixel in the at least one pixel corresponds to a first brightness;
  • a determination module 202 configured to determine a brightness gain of at least one pixel in the original image according to a first brightness of the at least one pixel;
  • the generating module 203 is configured to generate a gain map according to the brightness gain of the at least one pixel point and the original image.
  • the brightness gain of each pixel can be determined based on the first brightness of at least one pixel, and a gain map can be generated by the brightness gain of each pixel and the original image.
  • the present application does not need to obtain the image data of the SDR image, and can determine the corresponding gain map only through a single frame of the original image. This method of generating a gain map can be applied to a wider range of application scenarios.
  • the determining module 202 includes:
  • a first determining unit configured to determine a compression coefficient of each pixel in the original image according to an image region to which each pixel in the original image belongs, wherein the original image includes at least one image region divided based on scene information, and each image region in the at least one image region corresponds to a type of scene information of the original image;
  • a first compression unit configured to compress the first brightness of the at least one pixel based on the compression coefficient to obtain a second brightness of the at least one pixel
  • the second determining unit is used to determine the brightness gain of the at least one pixel point according to the first brightness of the at least one pixel point and the second brightness of the at least one pixel point.
  • the second determining unit is further used to calculate the sum of the second brightness of the target pixel and the first value to obtain a first sum value
  • the second determining unit is further used to determine a first ratio of the first brightness of the target pixel point and the first sum value as a gain reference of the target pixel point;
  • the second determining unit is further used to determine the brightness gain of the target pixel point according to the gain reference;
  • the target pixel point is any one of the at least one pixel point.
  • the second determining unit is further configured to:
  • a first product of the adjustment ratio corresponding to the target scene information and the gain reference is determined as the brightness gain of the target pixel.
  • the second determination unit is further configured to determine a first product of an adjustment ratio corresponding to the target scene information and the gain reference as a brightness gain of the target pixel.
  • the determining module 202 further includes:
  • a threshold value acquisition unit used to acquire a brightness threshold value of a standard dynamic range image corresponding to the original image
  • a third determining unit is used to determine the brightness gain of the at least one pixel point according to the first brightness of the at least one pixel point and the brightness threshold.
  • the first determination subunit is also used to determine a first logarithmic value with the sum of the first brightness of the target pixel and the second value as a true number and a third value as a base, and determine a second logarithmic value with the brightness threshold as a true number and the third value as a base; determine a first difference between the first logarithmic value and the second logarithmic value; and determine the sum of the first difference and the fourth value as the brightness gain of the target pixel.
  • the first determining subunit is further configured to determine the brightness gain of the target pixel point to be 1 when the first brightness of the target pixel point is less than or equal to the brightness threshold.
  • the gain map generating device further includes:
  • a screening module 204 configured to determine a maximum brightness gain in the gain map from the brightness gain of the at least one pixel point
  • a first calculation module 205 used to determine a second difference between the maximum brightness gain and the fifth value, and a third difference between the brightness gain of the target pixel and the fifth value;
  • a second calculation module 206 configured to determine a third ratio of the third difference to the second difference
  • the storage module 207 is used to normalize and store the product of the third ratio and the sixth value.
  • the generating device of the gain graph in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal or other devices other than a terminal.
  • the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and can also be a server, a network attached storage (Net
  • the gain map generation device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the gain map generation device provided in the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 1 , and will not be described again here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 100, including a processor 110 and a memory 119, wherein the processor 110 includes a central processing unit CPU 1101 and a GPU compression processing unit 1102.
  • the program or instruction stored in the memory 119 and executable on the processor 110 implements each process of the embodiment of the method for generating the gain graph described above when the program or instruction is executed by the processor 110, and can achieve the same technical effect, and will not be described here to avoid repetition.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 121, a network module 122, an audio output unit 123, an input unit 124, a sensor 125, a display unit 126, a user input unit 127, an interface unit 128, a memory 129, and a processor 120 and other components.
  • the electronic device 120 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 120 through a power management system, so that the power management system can manage charging, discharging, and power consumption management.
  • a power source such as a battery
  • the electronic device structure shown in FIG4 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
  • the input unit 124 is used to obtain first brightness information of the original image, wherein the first brightness information includes a first brightness of at least one pixel in the original image, and each pixel in the at least one pixel corresponds to a first brightness;
  • the processor 120 is configured to determine a brightness gain of at least one pixel in the original image according to the first brightness of the at least one pixel;
  • the processor 120 is configured to generate a gain map according to the brightness gain of the at least one pixel point and the original image.
  • the brightness gain of each pixel can be determined based on the first brightness of at least one pixel, and a gain map can be generated by the brightness gain of each pixel and the original image.
  • the present application does not need to obtain the image data of the SDR image, and can determine the corresponding gain map only through a single frame of the original image. This method of generating a gain map can be applied to a wider range of application scenarios.
  • the processor 120 includes:
  • a first determining unit configured to determine a compression coefficient of each pixel in the original image according to an image region to which each pixel in the original image belongs, wherein the original image includes at least one image region divided based on scene information, and each image region in the at least one image region corresponds to a type of scene information of the original image;
  • a first compression unit configured to compress the first brightness of the at least one pixel based on the compression coefficient to obtain a second brightness of the at least one pixel
  • the second determining unit is used to determine the brightness gain of the at least one pixel point according to the first brightness of the at least one pixel point and the second brightness of the at least one pixel point.
  • the second determining unit is further used to calculate the sum of the second brightness of the target pixel and the first value to obtain a first sum value
  • the second determining unit is further used to determine a first ratio of the first brightness of the target pixel point and the first sum value as a gain reference of the target pixel point;
  • the second determining unit is further used to determine the brightness gain of the target pixel point according to the gain reference;
  • the target pixel point is any one of the at least one pixel point.
  • the second determining unit is further configured to:
  • a first product of the adjustment ratio corresponding to the target scene information and the gain reference is determined as the brightness gain of the target pixel.
  • the second determination unit is further configured to determine a first product of an adjustment ratio corresponding to the target scene information and the gain reference as a brightness gain of the target pixel.
  • the determining module 202 further includes:
  • a threshold value acquisition unit used to acquire a brightness threshold value of a standard dynamic range image corresponding to the original image
  • a third determining unit is used to determine the brightness gain of the at least one pixel point according to the first brightness of the at least one pixel point and the brightness threshold.
  • the first determination subunit is also used to determine a first logarithmic value with the sum of the first brightness of the target pixel and the second value as a true number and a third value as a base, and determine a second logarithmic value with the brightness threshold as a true number and the third value as a base; determine a first difference between the first logarithmic value and the second logarithmic value; and determine the sum of the first difference and the fourth value as the brightness gain of the target pixel.
  • the first determining subunit is further configured to determine the brightness gain of the target pixel point to be 1 when the first brightness of the target pixel point is less than or equal to the brightness threshold.
  • the gain map generating device further includes:
  • the processor 120 is configured to determine a maximum brightness gain in the gain map among the brightness gains of the at least one pixel point;
  • the processor 120 is configured to determine a second difference between the maximum brightness gain and a fifth value, and a third difference between the brightness gain of a target pixel and the fifth value;
  • the processor 120 is configured to determine a third ratio of the third difference to the second difference
  • the memory 129 is used to normalize and store the product of the third ratio and the sixth value.
  • the input unit 124 may include a graphics processing unit (GPU) 1241 and a microphone 1242, and the graphics processor 1241 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the display unit 126 may include a display panel 1261, and the display panel 1261 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 127 includes a touch panel 1271 and at least one of other input devices 1272.
  • the touch panel 1271 is also called a touch screen.
  • the touch panel 1271 may include two parts: a touch detection device and a touch controller.
  • Other input devices 1272 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the memory 129 can be used to store software programs and various data.
  • the memory 129 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 129 may include a volatile memory or a non-volatile memory, or the memory 129 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
  • the memory 129 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 120 may include one or more processing units; optionally, the processor 120 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 120.
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • each process of the above-mentioned gain graph generation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned gain graph generation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned gain map generation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, a disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, or a network device, etc.

Landscapes

  • Image Processing (AREA)

Abstract

本申请公开了一种增益图的生成方法、装置、电子设备及介质,属于图像处理技术领域。该方法包括:获取原始图像的第一亮度信息,其中,第一亮度信息包括原始图像中至少一个像素点的第一亮度,至少一个像素点中每个像素点对应一个第一亮度,根据至少一个像素点的第一亮度确定原始图像中至少一个像素点的亮度增益,根据至少一个像素点的亮度增益和原始图像生成增益图。

Description

增益图的生成方法、装置、电子设备及介质
相关申请的交叉引用
本申请要求在2023年6月09日提交中国专利局、申请号为202310688228.3、名称为“增益图的生成方法、装置、电子设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于图像处理技术领域,具体涉及一种增益图的生成方法、装置、电子设备及介质。
背景技术
在图像处理中,增益图是一种描述图像不同区域亮度增益的图像。它通常是与原始图像的尺寸相同的灰度图像,其中每个像素代表相应区域的亮度增益。
当前技术中,在获取高动态范围的原始图像之后,通常会将原始图像以标准动态范围(Standard Dynamic Range,SDR)图像进行存储,然而受限于早期的屏幕显示能力以及当前主流的存储位宽(8bit),通过设备查看图像时无法准确的显示实际的场景观感,包括亮度观感和色彩观感。为了解决这个问题,随着屏幕显示能力的提升可以使用增益图来对图像进行动态范围增强。以SDR图像+增益图的格式存储图像,使得在后续的图像处理和显示过程中,可以基于增益图对SDR图像的动态调整亮度范围进行调整,还原或增强原始图像的细节和色彩信息。
然而,在相关技术中,需要通过色调映射将原始图像转换为SDR图像,然后基于原始图像的图像数据和SDR图像的图像数据确定增益图,然而有些应用场景并没有色调映射模块,这就导致无法获取SDR图像的图像数据,从而无法获取增益图。
发明内容
本申请实施例的目的是提供一种增益图的生成方法、装置、电子设备及介质,能够解决在现有的无法进行色调映射的场景信息中,无法获取增益图的技术问题。
第一方面,本申请实施例提供了一种增益图的生成方法,该方法包括:
获取原始图像的第一亮度信息,其中,所述第一亮度信息包括所述原始图像中至少一个像素点的第一亮度,所述至少一个像素点中每个像素点对应一个第一亮度;
根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益;
根据所述至少一个像素点的亮度增益和所述原始图像生成增益图。
第二方面,本申请实施例提供了一种增益图的生成装置,该装置包括:
获取模块,用于获取原始图像的第一亮度信息,其中,所述第一亮度信息包括所述原始图像中至少一个像素点的第一亮度,所述至少一个像素点中每个像素点对应一个第一亮度;
确定模块,用于根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益;
生成模块,用于根据所述至少一个像素点的亮度增益和所述原始图像生成增益图。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,存储器存储可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面提供的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面提供的方法的步骤。
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面提供的方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面提供的方法。
第七方面,本申请实施例提供一种电子设备,所述电子设备被配置成用于执行如第一方面所述的方法。
在本申请增益图的生成方法、装置、电子设备及介质中,可以在获取原始图像中各像素点的第一亮度之后,基于至少一个像素点的第一亮度确定各像素点的亮度增益,并由各像素点的亮度增益和原始图像生成增益图。和现有技术中需要对原始图像进行色调映射得到SDR图像才能确定增益图相比,本申请无需获取SDR图像的图像数据,可以仅通过单帧原始图像即确定对应的增益图,这种增益图的生成方式能适用于更广泛的应用场景。
附图说明
图1是本申请一个实施例提供的增益图的生成方法的流程示意图;
图2是本申请另一个实施例提供的增益图的生成装置的结构示意图;
图3是本申请又一个实施例提供的电子设备的结构示意图;
图4是本申请实施例中提供的电子设备的硬件结构示意图。
具体实施例
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
在相关技术中,当前技术中,在获取高动态范围的原始图像之后,通常会将原始图像以标准动态范围(Standard Dynamic Range,SDR)图像进行存储,需要通过色调映射将原始图像转换为SDR图像,然后基于原始图像的图像数据和SDR图像的图像数据确定增益图,然而有些应用场景下,不一定有色调映射模块,如待处理图像为ProRAW时,或当ISP通路中无法获取色调映射后的SDR图像时,这就导致无法获取SDR图像的图像数据,从而无法基于原始图像的图像数据和SDR图像的图像数据来获取增益图。
为解决上述技术问题,本申请提供了一种增益图的生成方法。下面结合附图,通过具体的实施例及其场景信息对本申请实施例提供的增益图的生成方法进行详细地说明。
如图1所示,图1是本申请一个实施例提供的增益图的生成方法的流程示意图,本申请实施例提供一种增益图的生成方法,该方法可以包括:
S101,获取原始图像的第一亮度信息,其中,所述第一亮度信息包括所述原始图像中至少一个像素点的第一亮度,所述至少一个像素点中每个像素点对应一个第一亮度;
在本实施例中,原始图像可以为多帧融合的高动态范围的图像,也可以是未经过任何图像处理或压缩的高动态范围的图像,和标准图像相比,原始图像具有更广泛的亮度范围。原始图像中包括至少一个像素点,第一图像信息则包括至少一个像素点当中每一个像素点的第一亮度,像素点的第一亮度指的是该像素点的明亮程度或者灰度级别,它反映了该像素点所代表的光强度或色彩亮度的大小。
对于每一个像素点,可以基于该像素点的各个颜色通道来确定该像素点的第一亮度,示例地,可以通过如下公式进行计算:
其中,Y表示该像素点的第一亮度,R表示红色通道,Gr表示绿色(红色差异)通道,Gb表示绿色(蓝色差异)通道,B表示蓝色通道,a、b、c和d表示各颜色通道的加权系数,各加权系数均大于0,且各加权系数的和值为1。
S102,根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益;
在本实施例中,由于原始图像通常为高动态范围的图像,在获取高动态范围的原始图像之后,通常会将原始图像以标准动态范围(Standard Dynamic Range,SDR)图像进行存储,由于当前SDR显示的标准白一般为100nit,而目前旗舰机显示屏的峰值亮度能高达2000nit,若直接使用SDR标准显示,则会由于显示的亮度区间有限从而无法还原人眼对实际场景的真实观感(具体表现为高亮区域的亮度不够亮,与实际场景差异较大),因此考虑结合显示屏的峰值亮度以及增益图像对SDR图像进行高亮区的细节和色彩的恢复,还原人眼对场景的真实观感。
可以基于原始图像中每一个像素点的亮度增益对SDR图像进行提亮处理。亮度增益用于表征将SDR图像中像素点的亮度进行提亮处理的提亮程度,亮度增益越大,则表征像素点的提亮程度越高。
由于SDR图像中各像素点都处于一个较低的亮度范围,因此对于原始图像中的像素点,像素点的第一亮度越大,其对应的亮度增益也需要越大,这样才能够尽可能的还原原始图像的显示效果。所以可以基于原始图像中像素点的第一亮度确定该像素点的亮度增益,使得像素点的亮度增益和第一亮度正相关,以确保显示图像的显示效果。
S103,根据所述至少一个像素点的亮度增益和所述原始图像生成增益图。
在本申请中,增益图指的是一个与原始图像具有相同大小以及相同轮廓的灰度图像,增益图上各像素点的像素值则用于表示SDR图像中像素点的亮度增益,因此在确定原始图像以及每一个像素点的亮度增益之后,即可生成一个尺寸轮廓与原始图像相同,每个像素点则为亮度增益的图像,即为增益图。
在得到增益图之后,可以通过应用增益图,对于SDR图像的不同区域进行不同程度的亮度调整,得到显示图像,增强显示图像的显示效果。
在本申请中,可以在获取原始图像中各像素点的第一亮度之后,基于至少一个像素点的第一亮度确定各像素点的亮度增益,并由各像素点的亮度增益和原始图像生成增益图。和现有技术中需要对原始图像进行色调映射得到SDR图像才能确定增益图相比,本申请无需获取SDR图像的图像数据,可以仅通过单帧原始图像即确定对应的增益图,这种增益图的生成方式能适用于更广泛的应用场景。
在一些实施例中,S102包括:
根据所述原始图像中各像素点所属的图像区域确定所述原始图像中各像素点的压缩系数,所述原始图像包括基于场景信息划分的至少一个图像区域,所述至少一个图像区域中每个图像区域对应所述原始图像的一种场景信息.;
基于所述压缩系数对所述至少一个像素点的第一亮度进行压缩处理,得到至少一个像素点的第二亮度;
根据所述至少一个像素点的第一亮度和至少一个像素点的第二亮度确定所述至少一个像素点的亮度增益。
在本实施例中,可以通过预估对原始图像进行动态范围压缩得到SDR图像的过程中,原始图像中各像素点的第一亮度的压缩程度,从而获取原始图像中各像素点的第二亮度,并基于每一个像素点的第一亮度和第二亮度来确定这些像素点的亮度增益。由于亮度增益体现的是第一亮度和第二亮度的差距,因此第一亮度和第二亮度的差值越大,亮度增益也就越大。
其中,压缩系数用于表示各像素点的第一亮度的压缩程度。可以根据原始图像中的场景信息确定原始图像中各像素点的压缩系数。
示例地,可以确定一个基础系数,并识别原始图像中各像素点所属的图像区域,然后识别该图像区域对应的场景信息,并基于场景信息对基础系数进行调整,得到各像素点的压缩系数,基于压缩系数对各像素点的第一亮度进行压缩处理,得到压缩后的第二亮度。此外,可以提前基于原始图像的场景信息将原始图像分割为至少一个图像区域,每个图像区域对应一种场景信息。
例如,动态范围压缩可以为幂指数压缩,这种情况下,压缩函数的指数值则为压缩系数,可以将第一指数确定为基础系数,如果识别到待压缩的原始图像的场景信息为有人像的场景,这种情况下如果人像的背景的提亮程度较高,会过于突出背景,显得画面不够协调,因此可以对第一指数进行减小得到第二指数,将第二指数作为最终的压缩系数,如此一来,可以得到更大的第二亮度,以及更小的亮度增益,从而减弱了SDR图像的提亮程度。
又例如,动态范围压缩可以为log函数压缩,这种情况下,log函数的基数值则为压缩系数,可以将第一基数确定为基础系数,如果识别到待压缩的原始图像的场景信息为有人像的场景,同样的,需要减小该像素点的亮度增益,因此可以对第一基数进行减小得到第二基数,将第二基数作为最终的压缩系数,如此一来,同样可以得到更大的第二亮度,以及更小的亮度增益,从而减弱了SDR图像的提亮程度。
本实施例中,可以结合原始图像的场景信息,对原始图像进行动态范围压缩得到SDR图像的压缩系数进行预估,从而确定每个像素点压缩后的第二亮度,并基于压缩前的第一亮度和压缩后的第二亮度,确定该像素点的亮度增益,从而精准的根据不同区域所属的场景来控制不同区域的提亮程度。
在一些实施例中,所述根据所述至少一个像素点的第一亮度和至少一个像素点的第二亮度确定所述至少一个像素点的亮度增益,包括:
计算目标像素点的第二亮度与第一数值之和,得到第一和值;
将所述目标像素点的第一亮度和所述第一和值的第一比值确定为所述目标像素点的增益基准;
根据所述增益基准确定所述目标像素点的亮度增益;
其中,所述目标像素点为所述至少一个像素点中的任意一个。
在本实施例中,增益基准指的是亮度增益的参考标准或者参考点,可以直接将像素点的增益基准确定为该像素点的亮度增益,也可以在增益基准的基础上进行优化,得到最终的亮度增益。
增益基准的计算公式如下所示:
其中,Y表示目标像素点的第一亮度,YGTM表示目标像素点的第二亮度,eps为第一数值,eps为一个很小的数值,如1e-6,为了避免YGTM为0而设置的,T则表示目标像素点的增益基准。
在一些实施例中,所述根据所述增益基准确定所述目标像素点的亮度增益,包括:
确定所述目标像素点所属的目标图像区域;
确定所述目标图像区域的目标场景信息对应的调整比率;
将所述目标场景信息对应的调整比率与所述增益基准的第一乘积确定为所述目标像素点的亮度增益。
在本实施例中,在得到原始图像中各像素点的增益基准之后,可以识别原始图像中的场景信息,并基于不同的场景信息对原始图像进行分割,对于不同场景信息所对应的图像区域中像素点的增益基准进行不同方式的调整。具体地,每一种场景信息存在一个对应的调整比率,可以基于场景信息对应的调整比率对该场景信息所对应的图像区域中所有像素点的增益基准进行调整,得到最终的亮度增益。
示例地,如果目标像素点对应的目标场景信息为阴阳脸,即脸部一半被光照到很亮,另一半没被光照到所以比较暗的人脸。这种情况下,在原始图像对应的SDR图像的提亮过程中,由于亮的部分的亮度增益通常大于暗的部分,因此亮的一半人脸会更亮,这就严重影响了显示图像的观感,因此需要减小增益基准的数值,从而得到更小的亮度增益。那么,可以获取阴阳脸对应的调整比率,并基于调整比率调小增益基准的数值,得到更小的亮度增益。
本实施例中,可以在亮度增益的基准上,结合具体的场景信息对亮度增益做进一步的调整,从而更准确的实现对图像上不同区域的亮度增益的差异化控制。
在一些实施例中,所述将所述目标场景信息对应的调整比率与所述增益基准的第一乘积确定为所述目标像素点的亮度增益,包括:
将所述目标场景信息对应的调整比率和所述增益基准的第一乘积确定为所述目标像素点的亮度增益。
在本实施例中,对于原始图像,可以遍历原始图像中每一个像素点,判断这些像素点是否对应目标场景信息,并基于判断结果将这些像素点的增益基准调整为亮度增益。
调整的公式如下所示:
GainMap=Ratio*T*Mask+T*(1-Mask)
其中,GainMap表示像素点的亮度增益,Ratio表示调整比率,Mask则用于表征该像素点是否对应目标场景信息,如果对应目标场景信息,则该像素点的Mask为1,否则即为0,T则表示像素点的增益基准。
也就是说,如果像素点对应目标场景信息,则该像素点的亮度增益即为标场景信息对应的调整比率和增益基准的第一乘积;如果像素点对应目标场景信息,则该像素点的亮度增益即为该像素点的增益基准。
在一些实施例中,所述根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益,包括:
获取所述原始图像对应的标准动态范围图像的亮度阈值;
根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益。
在本实施例中,亮度阈值指的是标准动态范围图像能够显示的最高亮度,如果原始图像中的像素点的第一亮度高于该亮度阈值,那么将原始图像转换为标准动态范围图像的过程中,该像素点的第一亮度一定会被压缩,因此需要给该像素点设置一个相应的亮度增益,以使该标准动态范围图像在提亮过程中能够恢复亮度,从而得到较好的显示效果。因此,可以根据第一亮度和亮度阈值来确定每个像素点的亮度增益。具体地,由于第一亮度和亮度阈值的差值越大,则压缩的程度相应的也会越大,即需要确定更大的亮度增益。
本实施例中,上述方式通过原始图像的像素点的第一亮度,以及SDR图像的亮度阈值来直接确定亮度增益,那么在提亮过程中提亮倍数和原始图像中不同区域的实际亮度相关,因而能够精确的对不同的区域进行精准的提亮控制。
在一些实施例中,所述根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益,包括:
在所述目标像素点的第一亮度大于所述亮度阈值的情况下,确定以所述目标像素点的第一亮度与第二数值的和值为真数,以第三数值为底数的第一对数值,并确定以所述亮度阈值为真数,以所述第三数值为底数的第二对数值;
确定所述第一对数值和所述第二对数值的第一差值;
将所述第一差值和第四数值的和值确定为所述目标像素点的亮度增益。
在一些实施例中,所述根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益,包括:
在目标像素点的第一亮度小于或等于所述亮度阈值的情况下,将所述目标像素点的亮度增益确定为1。
在本实施例中,在获知目标像素点的第一亮度,以及亮度阈值之后,可以通过一个区间函数来确定目标像素点的亮度增益。其中,第三数值可以为提前设置的任一大于1的常数,用于将亮度转换为log域数值,便于后续的计算。
具体地,区间函数如下所示:
其中,GainMap表示目标像素点的亮度增益,sdr_threshold表示固定的亮度阈值,YLog为目标像素点的第一亮度的log域表达式,log2(sdrthreshold)为亮度阈值的log域表达式,上述区间函数中第三数值为2,第四数值为1。
此外,还存在:
YLog=log2(Y+1)
其中,YLog为目标像素点的第一亮度的log域表达式,Y为第一亮度,第二数值为1。
由上可知,在目标像素点的第一亮度小于或等于亮度阈值的情况下,可以将该目标像素点的亮度增益直接确定为1,在目标像素点的第一亮度大于亮度阈值的情况下,可以将该目标像素点的亮度增益确定为第一亮度的log域表达式和亮度阈值的log域表达式的差值和1相加得到的数值。
例如,在亮度阈值为4096的情况下,如果第一亮度为4096,那么目标像素点的亮度增益为1,如果第一亮度为16384,那么目标像素点的亮度增益为3。
在一些实施例中,所述根据所述至少一个像素点的亮度增益和所述原始图像生成增益图之后,还包括:
在所述至少一个像素点的亮度增益中确定所述增益图中最大亮度增益;
确定所述最大亮度增益与第五数值的第二差值,以及目标像素点的亮度增益与所述第五数值的第三差值;
确定所述第三差值与所述第二差值的第三比值;
对所述第三比值与第六数值的乘积进行归一化存储。
在本实施例中,在生成增益图之后,可以将增益图和SDR图像共同进行存储。具体地,在对增益图进行存储的过程中,可以将增益图中各像素点的像素增益的数值范围映射到0到255的整数范围,并将其存储为8比特的灰度图像。
映射的过程如下公式所示:
maxGain=max(GainMap)
其中,maxGain为增益图中的最大亮度增益,max(GainMap)则表示在所有像素点中筛选得到亮度增益最大的像素点。
在得到最大亮度增益之后,可以将最大亮度增益代入下式:
其中,GM为待归一化值,maxGain为增益图中的最大亮度增益,GainMap表示目标像素点的亮度增益,第五数值为1,第六数值为255。
经过上式计算,每一个亮度增益都能够转换为0-255之间的待归一化值,再将待归一化值进行归一化为最接近的整数,并将其存储为8比特的灰度图像即可。
本实施例中,通过将增益图归一化到0~255进行存储,可以将其表示为灰度图像,并在每个像素中使用一个8比特的整数值来表示增益信息。这种表示形式可以方便地增益图的储存和处理,并便于在后续的图像处理过程中继续使用。此外,采用最大值加归一化方式,便于保留增益图的精度,改善由于增益图精度问题导致的显示图像的显示断层问题。
图2是本申请另一实施例提供的增益图的生成装置的结构示意图,如图2所示,该增益图的生成装置可以包括:
获取模块201,用于获取原始图像的第一亮度信息,其中,所述第一亮度信息包括所述原始图像中至少一个像素点的第一亮度,所述至少一个像素点中每个像素点对应一个第一亮度;
确定模块202,用于根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益;
生成模块203,用于根据所述至少一个像素点的亮度增益和所述原始图像生成增益图。
在本申请中,可以在获取原始图像中各像素点的第一亮度之后,基于至少一个像素点的第一亮度确定各像素点的亮度增益,并由各像素点的亮度增益和原始图像生成增益图。和现有技术中需要对原始图像进行色调映射得到SDR图像才能确定增益图相比,本申请无需获取SDR图像的图像数据,可以仅通过单帧原始图像即确定对应的增益图,这种增益图的生成方式能适用于更广泛的应用场景。
在另一可选地示例中,所述确定模块202包括:
第一确定单元,用于根据所述原始图像中各像素点所属的图像区域确定所述原始图像中各像素点的压缩系数,所述原始图像包括基于场景信息划分的至少一个图像区域,所述至少一个图像区域中每个图像区域对应所述原始图像的一种场景信息;
第一压缩单元,用于基于所述压缩系数对所述至少一个像素点的第一亮度进行压缩处理,得到至少一个像素点的第二亮度;
第二确定单元,用于根据所述至少一个像素点的第一亮度和至少一个像素点的第二亮度确定所述至少一个像素点的亮度增益。
在另一可选地示例中,第二确定单元还用于计算目标像素点的第二亮度与第一数值之和,得到第一和值;
第二确定单元还用于将所述目标像素点的第一亮度和所述第一和值的第一比值确定为所述目标像素点的增益基准;
第二确定单元还用于根据所述增益基准确定所述目标像素点的亮度增益;
其中,所述目标像素点为所述至少一个像素点中的任意一个。
在另一可选地示例中,所述第二确定单元还用于:
确定所述目标像素点所属的目标图像区域;
确定所述目标图像区域的目标场景信息对应的调整比率;
将所述目标场景信息对应的调整比率与所述增益基准的第一乘积确定为所述目标像素点的亮度增益。
在另一可选地示例中,所述第二确定单元还用于将所述目标场景信息对应的调整比率和所述增益基准的第一乘积确定为所述目标像素点的亮度增益。
所述确定模块202还包括:
阈值获取单元,用于获取所述原始图像对应的标准动态范围图像的亮度阈值;
第三确定单元,用于根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益。
在另一可选地示例中,第一确定子单元还用于在所述目标像素点的第一亮度大于所述亮度阈值的情况下,确定以所述目标像素点的第一亮度与第二数值的和值为真数,以第三数值为底数的第一对数值,并确定以所述亮度阈值为真数,以所述第三数值为底数的第二对数值;确定所述第一对数值和所述第二对数值的第一差值;将所述第一差值和第四数值的和值确定为所述目标像素点的亮度增益。
在另一可选地示例中,第一确定子单元还用于在目标像素点的第一亮度小于或等于所述亮度阈值的情况下,将所述目标像素点的亮度增益确定为1。
在另一可选地示例中,所述增益图的生成装置还包括:
筛选模块204,用于在所述至少一个像素点的亮度增益中确定所述增益图中最大亮度增益;
第一计算模块205,用于确定所述最大亮度增益与第五数值的第二差值,以及目标像素点的亮度增益与所述第五数值的第三差值;
第二计算模块206,用于确定所述第三差值与所述第二差值的第三比值;
存储模块207,用于对所述第三比值与第六数值的乘积进行归一化存储。
本申请实施例中的增益图的生成装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的增益图的生成装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的增益图的生成装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图3所示,本申请实施例还提供一种电子设备100,包括处理器110,存储器119,处理器110包括中央处理器CPU 1101和GPU压缩处理单元1102。存储在存储器119上并可在处理器110上运行的程序或指令,该程序或指令被处理器110执行时实现上述增益图的生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
请结合参阅图4,图4为实现本申请实施例的一种电子设备的硬件结构示意图。该电子设备100包括但不限于:射频单元121、网络模块122、音频输出单元123、输入单元124、传感器125、显示单元126、用户输入单元127、接口单元128、存储器129、以及处理器120等部件。
[根据细则91更正 20.06.2024]
本领域技术人员可以理解,电子设备120还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器120逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,输入单元124,用于获取原始图像的第一亮度信息,其中,所述第一亮度信息包括所述原始图像中至少一个像素点的第一亮度,所述至少一个像素点中每个像素点对应一个第一亮度;
处理器120,用于根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益;
处理器120,用于根据所述至少一个像素点的亮度增益和所述原始图像生成增益图。
在本申请中,可以在获取原始图像中各像素点的第一亮度之后,基于至少一个像素点的第一亮度确定各像素点的亮度增益,并由各像素点的亮度增益和原始图像生成增益图。和现有技术中需要对原始图像进行色调映射得到SDR图像才能确定增益图相比,本申请无需获取SDR图像的图像数据,可以仅通过单帧原始图像即确定对应的增益图,这种增益图的生成方式能适用于更广泛的应用场景。
在另一可选地示例中,所述处理器120包括:
第一确定单元,用于根据所述原始图像中各像素点所属的图像区域确定所述原始图像中各像素点的压缩系数,所述原始图像包括基于场景信息划分的至少一个图像区域,所述至少一个图像区域中每个图像区域对应所述原始图像的一种场景信息;
第一压缩单元,用于基于所述压缩系数对所述至少一个像素点的第一亮度进行压缩处理,得到至少一个像素点的第二亮度;
第二确定单元,用于根据所述至少一个像素点的第一亮度和至少一个像素点的第二亮度确定所述至少一个像素点的亮度增益。
在另一可选地示例中,第二确定单元还用于计算目标像素点的第二亮度与第一数值之和,得到第一和值;
第二确定单元还用于将所述目标像素点的第一亮度和所述第一和值的第一比值确定为所述目标像素点的增益基准;
第二确定单元还用于根据所述增益基准确定所述目标像素点的亮度增益;
其中,所述目标像素点为所述至少一个像素点中的任意一个。
在另一可选地示例中,所述第二确定单元还用于:
确定所述目标像素点所属的目标图像区域;
确定所述目标图像区域的目标场景信息对应的调整比率;
将所述目标场景信息对应的调整比率与所述增益基准的第一乘积确定为所述目标像素点的亮度增益。
在另一可选地示例中,所述第二确定单元还用于将所述目标场景信息对应的调整比率和所述增益基准的第一乘积确定为所述目标像素点的亮度增益。
所述确定模块202还包括:
阈值获取单元,用于获取所述原始图像对应的标准动态范围图像的亮度阈值;
第三确定单元,用于根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益。
在另一可选地示例中,第一确定子单元还用于在所述目标像素点的第一亮度大于所述亮度阈值的情况下,确定以所述目标像素点的第一亮度与第二数值的和值为真数,以第三数值为底数的第一对数值,并确定以所述亮度阈值为真数,以所述第三数值为底数的第二对数值;确定所述第一对数值和所述第二对数值的第一差值;将所述第一差值和第四数值的和值确定为所述目标像素点的亮度增益。
在另一可选地示例中,第一确定子单元还用于在目标像素点的第一亮度小于或等于所述亮度阈值的情况下,将所述目标像素点的亮度增益确定为1。
在另一可选地示例中,所述增益图的生成装置还包括:
处理器120,用于在所述至少一个像素点的亮度增益中确定所述增益图中最大亮度增益;
处理器120,用于确定所述最大亮度增益与第五数值的第二差值,以及目标像素点的亮度增益与所述第五数值的第三差值;
处理器120,用于确定所述第三差值与所述第二差值的第三比值;
存储器129,用于对所述第三比值与第六数值的乘积进行归一化存储。
应理解的是,本申请实施例中,输入单元124可以包括图形处理器(Graphics Processing Unit,GPU)1241和麦克风1242,图形处理器1241对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元126可包括显示面板1261,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1261。用户输入单元127包括触控面板1271以及其他输入设备1272中的至少一种。触控面板1271,也称为触摸屏。触控面板1271可包括触摸检测装置和触摸控制器两个部分。其他输入设备1272可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器129可用于存储软件程序以及各种数据。存储器129可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器129可以包括易失性存储器或非易失性存储器,或者,存储器129可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器129包括但不限于这些和任意其他适合类型的存储器。
处理器120可包括一个或多个处理单元;可选地,处理器120集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器120中。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述增益图的生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述增益图的生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述增益图的生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (16)

  1. 一种增益图生成方法,包括:
    获取原始图像的第一亮度信息,其中,所述第一亮度信息包括所述原始图像中至少一个像素点的第一亮度,所述至少一个像素点中每个像素点对应一个第一亮度;
    根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益;
    根据所述至少一个像素点的亮度增益和所述原始图像生成增益图。
  2. 根据权利要求1所述的方法,其中,所述根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益,包括:
    根据所述原始图像中各像素点所属的图像区域确定所述原始图像中各像素点的压缩系数,所述原始图像包括基于场景信息划分的至少一个图像区域,所述至少一个图像区域中每个图像区域对应所述原始图像的一种场景信息;
    基于所述压缩系数对所述至少一个像素点的第一亮度进行压缩处理,得到至少一个像素点的第二亮度;
    根据所述至少一个像素点的第一亮度和至少一个像素点的第二亮度确定所述至少一个像素点的亮度增益。
  3. 根据权利要求2所述的方法,其中,所述根据所述至少一个像素点的第一亮度和至少一个像素点的第二亮度确定所述至少一个像素点的亮度增益,包括:
    计算目标像素点的第二亮度与第一数值之和,得到第一和值;
    将所述目标像素点的第一亮度与所述第一和值的第一比值确定为所述目标像素点的增益基准;
    根据所述增益基准确定所述目标像素点的亮度增益;
    其中,所述目标像素点为所述至少一个像素点中的任意一个。
  4. 根据权利要求3所述的方法,其中,所述根据所述增益基准确定所述目标像素点的亮度增益,包括:
    确定所述目标像素点所属的目标图像区域;
    确定所述目标图像区域的目标场景信息对应的调整比率;
    将所述目标场景信息对应的调整比率与所述增益基准的第一乘积确定为所述目标像素点的亮度增益。
  5. 根据权利要求1所述的方法,其中,所述根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益,包括:
    获取所述原始图像对应的标准动态范围图像的亮度阈值;
    根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益。
  6. 根据权利要求5所述的方法,其中,所述根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益,包括:
    在目标像素点的第一亮度大于所述亮度阈值的情况下,确定以所述目标像素点的第一亮度与第二数值的和值为真数,以第三数值为底数的第一对数值,并确定以所述亮度阈值为真数,以所述第三数值为底数的第二对数值;
    确定所述第一对数值和所述第二对数值的第一差值;
    将所述第一差值和第四数值的和值确定为所述目标像素点的亮度增益。
  7. 根据权利要求5所述的方法,其中,所述根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益,包括:
    在目标像素点的第一亮度小于或等于所述亮度阈值的情况下,将所述目标像素点的亮度增益确定为1。
  8. 根据权利要求1所述的方法,其中,所述根据所述至少一个像素点的亮度增益和所述原始图像生成增益图之后,还包括:
    在所述至少一个像素点的亮度增益中确定所述增益图中最大亮度增益;
    确定所述最大亮度增益与第五数值的第二差值,以及目标像素点的亮度增益与所述第五数值的第三差值;
    确定所述第三差值与所述第二差值的第三比值;
    对所述第三比值与第六数值的乘积进行归一化存储。
  9. 一种增益图的生成装置,包括:
    获取模块,用于获取原始图像的第一亮度信息,其中,所述第一亮度信息包括所述原始图像中至少一个像素点的第一亮度,所述至少一个像素点中每个像素点对应一个第一亮度;
    确定模块,用于根据所述至少一个像素点的第一亮度确定所述原始图像中至少一个像素点的亮度增益;
    生成模块,用于根据所述至少一个像素点的亮度增益和所述原始图像生成增益图。
  10. 根据权利要求9所述的装置,其中,所述确定模块包括:
    第一确定单元,用于根据所述原始图像中各像素点所属的图像区域确定所述原始图像中各像素点的压缩系数,所述原始图像包括基于场景信息划分的至少一个图像区域,所述至少一个图像区域中每个图像区域对应所述原始图像的一种场景信息;
    第一压缩单元,用于基于所述压缩系数对所述至少一个像素点的第一亮度进行压缩处理,得到至少一个像素点的第二亮度;
    第二确定单元,用于根据所述至少一个像素点的第一亮度和至少一个像素点的第二亮度确定所述至少一个像素点的亮度增益。
  11. 根据权利要求9所述的装置,其中,所述确定模块还包括:
    阈值获取单元,用于获取所述原始图像对应的标准动态范围图像的亮度阈值;
    第三确定单元,用于根据所述至少一个像素点的第一亮度和所述亮度阈值确定所述至少一个像素点的亮度增益。
  12. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8中任一项所述的增益图的生成方法的步骤。
  13. 一种可读存储介质,所述可读存储介质上存储程序或指
    令,所述程序或指令被处理器执行时实现如权利要求1-8任一项所述的增益图生成方法的步骤。
  14. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-8任一项所述的增益图生成方法的步骤。
  15. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-8任一项所述的增益图生成方法的步骤。
  16. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-8任一项所述的增益图生成方法的步骤。
PCT/CN2024/096982 2023-06-09 2024-06-03 增益图的生成方法、装置、电子设备及介质 Ceased WO2024251062A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310688228.3A CN117011124A (zh) 2023-06-09 2023-06-09 增益图的生成方法、装置、电子设备及介质
CN202310688228.3 2023-06-09

Publications (1)

Publication Number Publication Date
WO2024251062A1 true WO2024251062A1 (zh) 2024-12-12

Family

ID=88573574

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/096982 Ceased WO2024251062A1 (zh) 2023-06-09 2024-06-03 增益图的生成方法、装置、电子设备及介质

Country Status (2)

Country Link
CN (1) CN117011124A (zh)
WO (1) WO2024251062A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117011124A (zh) * 2023-06-09 2023-11-07 维沃移动通信有限公司 增益图的生成方法、装置、电子设备及介质
CN120471816A (zh) * 2024-02-02 2025-08-12 荣耀终端股份有限公司 图像显示方法和电子设备
CN121151696A (zh) * 2024-06-07 2025-12-16 荣耀终端股份有限公司 图像处理方法和电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170094242A1 (en) * 2015-09-29 2017-03-30 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
US20190043177A1 (en) * 2018-06-15 2019-02-07 Intel Corporation Hybrid tone mapping for consistent tone reproduction of scenes in camera systems
CN111292269A (zh) * 2020-02-13 2020-06-16 珠海全志科技股份有限公司 一种图像色调映射方法、计算机装置及计算机可读存储介质
CN115760652A (zh) * 2023-01-06 2023-03-07 荣耀终端有限公司 扩展图像动态范围的方法和电子设备
CN117011124A (zh) * 2023-06-09 2023-11-07 维沃移动通信有限公司 增益图的生成方法、装置、电子设备及介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170094242A1 (en) * 2015-09-29 2017-03-30 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
US20190043177A1 (en) * 2018-06-15 2019-02-07 Intel Corporation Hybrid tone mapping for consistent tone reproduction of scenes in camera systems
CN111292269A (zh) * 2020-02-13 2020-06-16 珠海全志科技股份有限公司 一种图像色调映射方法、计算机装置及计算机可读存储介质
CN115760652A (zh) * 2023-01-06 2023-03-07 荣耀终端有限公司 扩展图像动态范围的方法和电子设备
CN117011124A (zh) * 2023-06-09 2023-11-07 维沃移动通信有限公司 增益图的生成方法、装置、电子设备及介质

Also Published As

Publication number Publication date
CN117011124A (zh) 2023-11-07

Similar Documents

Publication Publication Date Title
US11138700B2 (en) Method for image processing, non-transitory computer readable medium, and electronic device
US11138701B2 (en) Image processing method, storage medium, and electronic apparatus
CN109685746B (zh) 图像亮度调整方法、装置、存储介质及终端
WO2024251062A1 (zh) 增益图的生成方法、装置、电子设备及介质
CN109345485B (zh) 一种图像增强方法、装置、电子设备及存储介质
US10847073B2 (en) Image display optimization method and apparatus
CN110009587B (zh) 图像处理方法、装置、存储介质及电子设备
WO2021143300A1 (zh) 图像处理方法、装置、电子设备及存储介质
CN110473156B (zh) 图像信息的处理方法、装置、存储介质及电子设备
CN116668838A (zh) 图像处理方法与电子设备
CN117133252B (zh) 图像处理方法和电子设备
CN116847188A (zh) 图像预览方法、装置、电子设备及可读存储介质
CN115775215A (zh) 图像处理方法、装置、电子设备和存储介质
CN115514860A (zh) 动态帧率补偿方法、图像处理电路和电子设备
CN114125302A (zh) 图像调整方法及装置
CN115527474A (zh) 图像显示方法、装置、显示设备、投影设备及存储介质
CN116704934A (zh) 图像显示方法、装置、电子设备和可读存储介质
CN114363507A (zh) 图像处理方法及装置
JP2005284534A (ja) 高ダイナミックレンジ画像を低ダイナミックレンジ画像に変換する方法及び関連装置
CN115797160A (zh) 图像的生成方法及其装置
CN108335659A (zh) 图像显示方法及设备
CN119479528B (zh) 图像亮度调整方法及其装置
CN118870199B (zh) 图像处理的方法、装置、存储介质及芯片
CN115170680B (zh) 图像处理方法、装置及存储介质
JP7523292B2 (ja) 映像信号変換装置及びプログラム

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: 24818594

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE