WO2023010751A1 - 图像高亮区域的信息补偿方法、装置、设备及存储介质 - Google Patents
图像高亮区域的信息补偿方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2023010751A1 WO2023010751A1 PCT/CN2021/138081 CN2021138081W WO2023010751A1 WO 2023010751 A1 WO2023010751 A1 WO 2023010751A1 CN 2021138081 W CN2021138081 W CN 2021138081W WO 2023010751 A1 WO2023010751 A1 WO 2023010751A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- initial
- overexposure
- information
- processed
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Definitions
- the present application relates to the technical field of image processing, and in particular to an information compensation method, device, equipment and storage medium for image highlight regions.
- Image optimization processing tasks generally include image editing, image retouching and color correction, image coloring, SDR video conversion to HDR video, etc.
- the optimized image has higher contrast and richer colors, and can better reflect the visual information in the real environment.
- the exposure of the original image is too high, the information of some highlighted areas is not easy to be extracted. If the overexposed original image is processed according to the optimization processing method for the normal exposure image, the content information of some highlighted areas will be lost in the optimized image, resulting in deviations in the color of the optimized image, and the optimization effect is poor.
- Embodiments of the present application provide an information compensation method, device, device, and storage medium for highlight areas of an image, which can solve the problem of loss of content in highlight areas of optimized images in image optimization processing tasks.
- an embodiment of the present application provides a method for compensating information of a highlighted area of an image, the method comprising: acquiring an overexposure mask image and an initial optimization image of the image to be processed, and the overexposure mask image is used to indicate the image to be processed Obtain the global exposure information according to the initial optimized image; determine the overexposure information of the highlighted area according to the overexposure mask image and the global exposure information; use the overexposure information to compensate the highlighted area of the initial optimized image, and obtain the initial Compensated image for an optimized image.
- the highlight area of the image to be processed can be identified according to the overexposure mask image, and accordingly, the highlight area of the initial optimized image of the image to be processed can also be identified.
- Extract the global exposure information from the initial optimization image and determine the overexposure information of the highlight area of the initial optimization image according to the overexposure mask image, and fuse the overexposure information with the initial optimization image, and the information of the highlight area of the initial optimization image can be calculated Compensation is performed to make up for the content information missing in the highlighted part of the initial optimized image.
- the highlighted area of the compensated image has more feature information than the highlighted area of the initially optimized image, and the content of the highlighted area of the optimized image is solved. The problem of loss, which in turn improves the quality of the optimized image.
- obtaining the global exposure information according to the initial optimized image includes: inputting the initial optimized image into a trained generator for processing to obtain the global exposure information.
- the training method of the generator includes: constructing a generation confrontation network, the generation confrontation network includes an initial model of the generator and a discriminator; using a preset loss function and a training set to perform confrontation training on the generation confrontation network to obtain the generator,
- the training set includes initial optimized image samples, overexposure mask image samples and compensation image samples corresponding to a plurality of image samples to be processed;
- the loss function is used to describe the comprehensive loss value of the absolute error loss value between the compensated image sample and the predicted image, the perceptual loss value between the compensated image sample and the predicted image, and the discriminator loss value of the predicted image;
- the predicted image refers to the initial optimization After the image sample is processed by the initial model, it is multiplied by the overexposure mask image sample, and then superimposed with the initial optimized image sample to obtain an image.
- the loss function is expressed as:
- L represents the loss function
- I GT represents the compensated image sample
- I H represents the predicted image
- D( ⁇ ) represents the output of the discriminator
- ⁇ , ⁇ , and ⁇ are all hyperparameters.
- the method for determining the pixel value of the pixel in the overexposure mask image includes:
- I mask (x, y) represents the pixel value of the pixel in the overexposure mask image at (x, y)
- I S (x, y) represents The pixel value of the pixel point of the image to be processed located at (x, y)
- ⁇ represents the preset overexposure threshold.
- the image to be processed is an SDR video frame obtained by extracting frames from the SDR video
- the initial optimized image is an HDR video frame obtained by HDR converting the SDR video frame.
- an information compensation device for an image highlight area the device includes:
- the acquisition unit is used to acquire the overexposure mask image and the initial optimization image of the image to be processed, and the overexposure mask image is used to indicate the highlighted area of the image to be processed;
- the processing unit acquires the global exposure information according to the initial optimization image, and according to the The exposure mask image and the global exposure information determine the overexposure information of the highlight area, and the overexposure information is used to compensate the highlight area of the initial optimization image to obtain a compensated image of the initial optimization image.
- obtaining the global exposure information according to the initial optimized image includes: inputting the initial optimized image into a trained generator for processing to obtain the global exposure information.
- the embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor.
- a terminal device including a memory, a processor, and a computer program stored in the memory and operable on the processor.
- the processor executes the computer program, any of the above-mentioned first aspect one method.
- an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of the above-mentioned first aspects is implemented.
- an embodiment of the present application provides a computer program product, which, when the computer program product is run on a terminal device, causes the terminal device to execute the method in any one of the foregoing first aspects.
- FIG. 1 is a flow chart of an information compensation method for an image highlight area provided by an embodiment of the present application
- Fig. 2 is a network structure diagram of a generator provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of a range of HDR and SDR color gamuts provided by an embodiment of the present application
- Fig. 4 is a training flowchart of a generator provided by an embodiment of the present application.
- Fig. 5 is a schematic flow chart of converting an HDR video to an SDR video provided by an embodiment of the present application
- Fig. 6 is a schematic structural diagram of an information compensation device for an image highlight area provided by an embodiment of the present application.
- Fig. 7 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- Embodiments of the present application provide an information compensation method, device, device, and storage medium for image highlight regions. Firstly, the highlighted region of the image to be processed is identified according to the overexposure mask image of the image to be processed. Then extract the global exposure information from the initial optimized image of the image to be processed, and determine the overexposure information of the highlighted area of the initial optimized image according to the overexposure mask image, and fuse the overexposure information with the initial optimized image to realize the optimization of the initial optimized image.
- the information compensation of the highlighted area of the original optimized image makes up for the content information missing in the highlighted part of the initial optimized image.
- the highlighted area of the compensated image has more feature information than the highlighted area of the initially optimized image, which solves the problem of image optimization
- the content information of the highlighted part of the optimized image is lost in the task, thereby improving the quality of the optimized image.
- the method for compensating the information of the image highlight area provided by the present application includes: acquiring an overexposure mask image and an initial optimization image of the image to be processed, and the overexposure mask image is used to indicate the Highlight area. Obtain global exposure information from the initial optimized image. The overexposure information of the highlighted area is determined according to the overexposure mask image and the global exposure information, and the overexposure information is used to compensate the highlighted area of the initial optimized image to obtain a compensated image of the initial optimized image.
- the image to be processed can be optimized by using a color lookup table, a trained deep learning method, or a traditional digital image processing method to obtain an initial optimized image of the image to be processed.
- the initial optimized image has higher color richness, but in the process of optimizing the image to be processed, the information of the highlighted part of the initially optimized image may be lost. Therefore, in order to ensure the quality of the initial optimized image, it is necessary to perform further processing on the initial optimized image to compensate for the content information missing in the highlighted area of the initial optimized image.
- the pixel value of each pixel in the overexposure mask image can be obtained by formula (1), namely:
- I mask (x, y) represents the pixel value of the pixel point of the overexposure mask image I mask at (x, y);
- I S (x, y) represents the image to be processed I S at The pixel value of the pixel at (x, y);
- ⁇ is a preset overexposure threshold, which is used to control the overexposure degree of the image to be processed, and the corresponding value can be set according to actual needs.
- the highlight area in the image to be processed can be determined according to the pixel values of the pixels in the overexposure mask image.
- a deep learning method may be used to identify overexposure information by using a trained neural network model.
- the embodiment of the present application provides a generator based on which the overexposure information in the initial optimized image corresponding to the image to be processed can be identified.
- the structure of the generator (Generator) is shown in FIG. 2 , and the generator includes: multiple down-sampling modules connected in sequence and multiple up-sampling modules corresponding to the multiple up-sampling modules one-to-one.
- the down-sampling module includes a convolution layer and a down-sampling layer (DownSample)
- the up-sampling module includes an up-sampling layer (UpSample) and a convolution layer.
- the initial optimized image is input into the trained generator, and the global exposure information can be obtained from the initial optimized image.
- the overexposure information of the highlighted region may be determined according to the overexposure mask image and global exposure information, and the overexposure information may be used to compensate the highlighted region of the initial optimized image to obtain a compensated image of the initially optimized image.
- the specific implementation method is: multiply the global exposure information and the overexposure mask image pixel by pixel to obtain the overexposure information of the highlighted area; add the overexposure information to the initial optimization image to obtain the compensation image of the initial optimization image. This process can also be expressed as formula (2):
- I H I mask ⁇ G(I coarse )+I coarse (2)
- I H represents the compensated image
- I mask represents the overexposure mask image
- I coarse represents the initial optimized image
- G(I coarse ) represents the global exposure information obtained by the generator after processing the initial optimized image I coarse .
- the information compensation method for the image highlight area identifies the highlight area of the image to be processed through the overexposure mask image of the image to be processed, and at the same time, extracts the global exposure information from the initial optimized image, and according to the overexposure mask image Determine the overexposure information of the highlighted area of the initial optimized image, and after fusing the overexposure information with the initial optimized image, it can make up for the missing content information of the highlighted part of the initial optimized image, and the highlighted area of the obtained compensated image is higher than that of the initial optimized image
- the bright area has more feature information, thereby solving the problem of information loss in the highlighted part of the optimized image.
- the information compensation method for the highlighted area provided by this application is universal. It can be applied to any task that requires color optimization or color conversion of the image to be processed, such as image editing, image retouching and toning, image coloring, SDR (Standard Dynamic Range) video to HDR (High Dynamic Range) video, etc.
- the overexposed image to be processed can be optimized first to obtain an initial optimized image, and then the content information of the highlighted area of the initial optimized image can be compensated by using the information compensation method of the highlighted area.
- FIG. 3 is a schematic diagram showing ranges of HDR and SDR color gamuts.
- BT.709 and BT.2020 are TV parameter standards issued by ITU (International Telecommunication Union)
- DCI-P3 is a color gamut standard formulated by the American film industry for digital cinema. It can be seen from Figure 3 that BT.2020 has the largest color gamut among DCI-P3, BT.709 and BT.2020, followed by DCI-P3, and BT.709 has the smallest color gamut. .
- HDR video uses the BT.709 color gamut
- HDR video uses the wider BT.2020 color gamut or DCI-P3 color gamut.
- the HDR video can show higher contrast and richer colors than the SDR video.
- the information compensation method for the highlight area provided by the present application can extract the information of the highlight area in each video frame of the SDR video, and fuse the information of the highlight area with the initial optimized image corresponding to the video frame to obtain a compensated image, The loss of highlight area information in HDR video can be avoided.
- the initial model of the generator can be trained by designing corresponding training sets and loss functions, so as to obtain generators suitable for different tasks.
- the generator can be trained by building a generative confrontation network.
- Generative adversarial networks include an initial model including a generator and a discriminator. Use the preset loss function and training set to conduct confrontation training on the generative confrontation network to obtain the generator.
- the training set includes initial optimization image samples, overexposure mask image samples and compensation image samples corresponding to a plurality of image samples to be processed.
- Step 1 Get the training set.
- the training set includes a plurality of training samples, and each training sample includes an initial optimized image sample, an overexposure mask image sample, and an HDR video frame sample corresponding to the SDR video frame sample.
- an SDR video sample and its corresponding HDR video sample are acquired first.
- SDR video samples and corresponding HDR video samples can be obtained from public video websites. It is also possible to perform SDR and HDR processing on videos in the same RAW data format, respectively, to obtain SDR video samples and corresponding HDR video samples. It is also possible to use the SDR camera and the HDR camera respectively to shoot corresponding SDR video samples and HDR video samples in the same scene.
- the SDR video sample and its corresponding HDR video sample are respectively subjected to frame extraction processing to obtain a plurality of SDR video frame samples (equivalent to image samples to be processed), and in The HDR video frame samples (equivalent to the compensation image samples) correspond one-to-one to the multiple SDR video frame samples in time sequence and space.
- the SDR video frame sample may be subjected to HDR conversion through a color lookup table, a trained deep learning method, or a traditional digital image processing method to obtain a corresponding initial optimized image sample.
- the overexposure mask image samples corresponding to the SDR video frame samples can be obtained by using the above formula (1).
- Step 2 After the initial optimized image samples in the training set are processed by the generator's initial model, they are multiplied by the overexposure mask image samples, and then superimposed with the initial optimized image samples to obtain a predicted image.
- the initial optimized image sample is input into the initial model of the generator for processing to obtain global exposure information. After multiplying the global exposure information and the overexposure mask image sample pixel by pixel, the overexposure information of the highlighted area is obtained. The overexposure information is fused with the initial optimized image samples to obtain the predicted image.
- Step 3 Input the predicted image and the HDR video frame samples corresponding to the training set into the discriminator for iterative training to obtain the trained generator.
- the predicted image and the corresponding HDR video frame sample are input into the discriminator for processing to obtain the discriminant result of the training sample.
- Adversarial training is performed according to the discrimination results of each training sample and the preset loss function to obtain a trained generator.
- the preset loss function L provided by the embodiment of the present application can be expressed as formula (3):
- L 1 represents the absolute error loss
- L p represents the perceptual loss
- L GAN represents the generative confrontation loss
- I GT represents the compensated image sample
- I H represents the predicted image
- ⁇ , ⁇ , and ⁇ are all hyperparameters.
- the initial model of the generator can be trained using the gradient descent method.
- the preset loss function meets certain requirements, it means that the model has converged, that is, the training of the initial model has been completed, and a trained generator is obtained.
- the trained generator can be applied to the task of converting SDR video to HDR video.
- frame extraction processing is performed on the acquired SDR video to be processed to obtain a plurality of SDR video frames.
- HDR conversion is performed on the SDR video frame to obtain the HDR video frame, and an overexposure mask image corresponding to the SDR video frame is obtained.
- Input the HDR video frame into the trained generator to get the global exposure information.
- the overexposure information of the highlight area is determined according to the overexposure mask image and the global exposure information, and the overexposure information is used to compensate the highlight area of the HDR video frame to obtain a compensated image of the HDR video frame.
- the HDR video corresponding to the SDR video to be processed is obtained by combining frames.
- an embodiment of the present application provides an information compensation device 100 for a highlight region of an image.
- the device 100 includes:
- the acquiring unit 101 is configured to acquire an image to be processed and an initial optimized image corresponding to the image to be processed, and an overexposure mask image is used to indicate a highlighted area of the image to be processed.
- the processing unit 102 acquires the global exposure information according to the initial optimization image, determines the overexposure information of the highlight area according to the overexposure mask image and the global exposure information, and uses the overexposure information to compensate the highlight area of the initial optimization image to obtain the initial optimization Compensated image of the image.
- obtaining the global exposure information according to the initial optimized image includes: inputting the initial optimized image into a trained generator for processing to obtain the global exposure information.
- the training method of the generator includes: constructing a generation confrontation network, the generation confrontation network includes an initial model of the generator and a discriminator; using a preset loss function and a training set to perform confrontation training on the generation confrontation network to obtain the generator,
- the training set includes initial optimized image samples, overexposure mask image samples and compensation image samples corresponding to a plurality of image samples to be processed;
- the loss function is used to describe the comprehensive loss value of the absolute error loss value between the compensated image sample and the predicted image, the perceptual loss value between the compensated image sample and the predicted image, and the discriminator loss value of the predicted image;
- the predicted image refers to the initial optimization After the image sample is processed by the initial model, it is multiplied by the overexposure mask image sample, and then superimposed with the initial optimized image sample to obtain an image.
- the loss function is expressed as:
- L represents the loss function
- I GT represents the compensated image sample
- I H represents the predicted image
- D( ⁇ ) represents the output of the discriminator
- ⁇ , ⁇ , and ⁇ are all hyperparameters.
- the method for determining the pixel value of the pixel in the overexposure mask image includes:
- I mask (x, y) represents the pixel value of the pixel in the overexposure mask image at (x, y)
- I S (x, y) represents The pixel value of the pixel point of the image to be processed located at (x, y)
- ⁇ represents the preset overexposure threshold.
- the image to be processed is an SDR video frame obtained by extracting frames from the SDR video
- the initial optimized image is an HDR video frame obtained by HDR converting the SDR video frame.
- a terminal device 200 in this embodiment includes: a processor 201 , a memory 202 , and a computer program 204 stored in the memory 202 and operable on the processor 201 .
- the computer program 404 can be run by the processor 201 to generate instructions 203 , and the processor 201 can implement the steps in the above embodiments of the image color optimization method according to the instructions 203 .
- the processor 201 executes the computer program 204, the functions of the modules/units in the above-mentioned device embodiments are realized, for example, the functions of the unit 101 and the unit 102 shown in FIG. 6 .
- the computer program 204 can be divided into one or more modules/units, and one or more modules/units are stored in the memory 202 and executed by the processor 201 to complete the present application.
- One or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 204 in the terminal device 200 .
- FIG. 7 is only an example of the terminal device 200, and does not constitute a limitation to the terminal device 200. It may include more or less components than those shown in the figure, or combine certain components, or different components. , for example, the terminal device 200 may also include an input and output device, a network access device, a bus, and the like.
- the processor 201 can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), on-site Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like.
- the storage 202 may be an internal storage unit of the terminal device 200 , such as a hard disk or memory of the terminal device 200 .
- the memory 202 can also be an external storage device of the terminal device 200, such as a plug-in hard disk equipped on the terminal device 200, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card) and so on.
- the memory 202 may also include both an internal storage unit of the terminal device 200 and an external storage device.
- the memory 202 is used to store computer programs and other programs and data required by the terminal device 200 .
- the memory 202 can also be used to temporarily store data that has been output or will be output.
- the terminal device provided in this embodiment can execute the foregoing method embodiment, and its implementation principle and technical effect are similar, and details are not repeated here.
- the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the foregoing method embodiment is implemented.
- the embodiment of the present application further provides a computer program product, which, when the computer program product runs on a terminal device, enables the terminal device to implement the method described in the foregoing method embodiments when executed.
- the above integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium.
- the computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized.
- the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
- the computer-readable storage medium may at least include: any entity or device capable of carrying computer program codes to a photographing device/terminal device, a recording medium, a computer memory, a read-only memory (Read-Only Memory, ROM), a random access Memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium.
- a photographing device/terminal device a recording medium
- a computer memory a read-only memory (Read-Only Memory, ROM), a random access Memory (Random Access Memory, RAM), electrical carrier signal, telecommunication signal and software distribution medium.
- ROM read-only memory
- RAM random access Memory
- electrical carrier signal telecommunication signal and software distribution medium.
- U disk mobile hard disk, magnetic disk or optical disk, etc.
- references to "one embodiment” or “some embodiments” or the like in this application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
- appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
- the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
- first and second are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features.
- the features defined as “first” and “second” may explicitly or implicitly include at least one of these features.
- connection and “connected” should be understood in a broad sense, for example, it can be mechanical connection or electrical connection; it can be direct connection or through An intermediate medium is indirectly connected, which can be the internal communication of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, those of ordinary skill in the art can understand the above terms in this application according to the specific situation. specific meaning.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
Description
Claims (10)
- 一种图像高亮区域的信息补偿方法,其特征在于,所述方法包括:获取待处理图像的过曝掩模图像和初始优化图像,所述过曝掩模图像用于指示所述待处理图像的高亮区域;根据所述初始优化图像获取全局曝光信息;根据所述过曝掩模图像和所述全局曝光信息确定所述高亮区域的过曝光信息;利用所述过曝光信息对所述初始优化图像的高亮区域进行补偿,得到所述初始优化图像的补偿图像。
- 根据权利要求1所述的方法,其特征在于,所述根据所述初始优化图像获取全局曝光信息,包括:将所述初始优化图像输入到已训练的生成器中进行处理,得到所述全局曝光信息。
- 根据权利要求2所述的方法,其特征在于,所述生成器的训练方法包括:构建生成对抗网络,所述生成对抗网络包括所述生成器的初始模型和判别器;利用预设的损失函数和训练集对所述生成对抗网络进行对抗训练,得到所述生成器,其中,训练集包括与多个待处理图像样本对应的初始优化图像样本、过曝掩模图像样本和补偿图像样本;所述损失函数用于描述所述补偿图像样本与预测图像之间的绝对误差损失值、所述补偿图像样本与预测图像之间的感知损失值和所述预测图像的判别器损失值的综合损失值;所述预测图像是指所述初始优化图像样本经过所述初始模型处理后,与所述过曝掩模图像样本相乘,再与所述初始优化图像样本叠加得到的图像。
- 根据权利要求1至5任一项所述的方法,其特征在于,所述待处理图像为从SDR视频中抽帧得到的SDR视频帧,所述初始优化图像为所述SDR视频帧通过HDR转换得到的HDR视频帧。
- 一种图像高亮区域的信息补偿装置,其特征在于,包括:获取单元,用于获取待处理图像的过曝掩模图像和初始优化图像,所述过曝掩模图像用于指示所述待处理图像的高亮区域;处理单元,根据所述初始优化图像获取全局曝光信息,根据所述过曝掩模图像和所述全局曝光信息确定所述高亮区域的过曝光信息,利用所述过曝光信息对所述初始优化图像的高亮区域进行补偿,得到所述初始优化图像的补偿图像。
- 根据权利要求7所述的装置,其特征在于,所述根据所述初始优化图像获取全局曝光信息,包括:将所述初始优化图像输入到已训练的生成器中进行处理,得到所述全局曝光信息。
- 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至6任一项所述的方法。
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110883140.8A CN113781321B (zh) | 2021-08-02 | 2021-08-02 | 图像高亮区域的信息补偿方法、装置、设备及存储介质 |
| CN202110883140.8 | 2021-08-02 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023010751A1 true WO2023010751A1 (zh) | 2023-02-09 |
Family
ID=78836583
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/138081 Ceased WO2023010751A1 (zh) | 2021-08-02 | 2021-12-14 | 图像高亮区域的信息补偿方法、装置、设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113781321B (zh) |
| WO (1) | WO2023010751A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119784647A (zh) * | 2024-12-31 | 2025-04-08 | 南开大学 | 极端过曝图像修复方法、系统、介质、程序产品及设备 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113781321B (zh) * | 2021-08-02 | 2024-03-12 | 中国科学院深圳先进技术研究院 | 图像高亮区域的信息补偿方法、装置、设备及存储介质 |
| CN115082358B (zh) * | 2022-07-21 | 2022-12-09 | 深圳思谋信息科技有限公司 | 图像增强方法、装置、计算机设备和存储介质 |
| CN115511729A (zh) * | 2022-09-01 | 2022-12-23 | 奥比中光科技集团股份有限公司 | 多光谱图像校正方法、装置、设备及存储介质 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102289360A (zh) * | 2011-08-25 | 2011-12-21 | 浙江大学 | 一种自适应投影颜色补偿方法 |
| CN104994364A (zh) * | 2015-04-30 | 2015-10-21 | 西安电子科技大学 | 一种图像处理方法和装置 |
| CN105208281A (zh) * | 2015-10-09 | 2015-12-30 | 广东欧珀移动通信有限公司 | 一种夜景拍摄方法及装置 |
| CN105335980A (zh) * | 2015-11-02 | 2016-02-17 | 吉林大学 | 一种适合图像sift特征匹配的彩色图像转亮度图像方法 |
| CN106791471A (zh) * | 2016-12-29 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | 图像优化方法、图像优化装置和终端 |
| CN112070682A (zh) * | 2019-06-10 | 2020-12-11 | 杭州海康慧影科技有限公司 | 图像亮度补偿的方法和装置 |
| CN113038026A (zh) * | 2021-03-01 | 2021-06-25 | 维沃移动通信有限公司 | 图像处理方法和电子设备 |
| CN113781321A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 图像高亮区域的信息补偿方法、装置、设备及存储介质 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105100637A (zh) * | 2015-08-31 | 2015-11-25 | 联想(北京)有限公司 | 一种图像处理方法及电子设备 |
| CN107635102B (zh) * | 2017-10-30 | 2020-02-14 | Oppo广东移动通信有限公司 | 高动态范围图像曝光补偿值获取方法和装置 |
| US10764496B2 (en) * | 2018-03-16 | 2020-09-01 | Arcsoft Corporation Limited | Fast scan-type panoramic image synthesis method and device |
| CN110062160B (zh) * | 2019-04-09 | 2021-07-02 | Oppo广东移动通信有限公司 | 图像处理方法和装置 |
| CN110210514B (zh) * | 2019-04-24 | 2021-05-28 | 北京林业大学 | 生成式对抗网络训练方法、图像补全方法、设备及存储介质 |
-
2021
- 2021-08-02 CN CN202110883140.8A patent/CN113781321B/zh active Active
- 2021-12-14 WO PCT/CN2021/138081 patent/WO2023010751A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102289360A (zh) * | 2011-08-25 | 2011-12-21 | 浙江大学 | 一种自适应投影颜色补偿方法 |
| CN104994364A (zh) * | 2015-04-30 | 2015-10-21 | 西安电子科技大学 | 一种图像处理方法和装置 |
| CN105208281A (zh) * | 2015-10-09 | 2015-12-30 | 广东欧珀移动通信有限公司 | 一种夜景拍摄方法及装置 |
| CN105335980A (zh) * | 2015-11-02 | 2016-02-17 | 吉林大学 | 一种适合图像sift特征匹配的彩色图像转亮度图像方法 |
| CN106791471A (zh) * | 2016-12-29 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | 图像优化方法、图像优化装置和终端 |
| CN112070682A (zh) * | 2019-06-10 | 2020-12-11 | 杭州海康慧影科技有限公司 | 图像亮度补偿的方法和装置 |
| CN113038026A (zh) * | 2021-03-01 | 2021-06-25 | 维沃移动通信有限公司 | 图像处理方法和电子设备 |
| CN113781321A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 图像高亮区域的信息补偿方法、装置、设备及存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119784647A (zh) * | 2024-12-31 | 2025-04-08 | 南开大学 | 极端过曝图像修复方法、系统、介质、程序产品及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113781321B (zh) | 2024-03-12 |
| CN113781321A (zh) | 2021-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023010754A1 (zh) | 一种图像处理方法、装置、终端设备及存储介质 | |
| US10861133B1 (en) | Super-resolution video reconstruction method, device, apparatus and computer-readable storage medium | |
| CN113781321B (zh) | 图像高亮区域的信息补偿方法、装置、设备及存储介质 | |
| CN113784175B (zh) | 一种hdr视频转换方法、装置、设备及计算机存储介质 | |
| CN119919330A (zh) | 一种图像处理的方法及装置 | |
| US12217388B2 (en) | Image processing method and device, electronic equipment, and storage medium | |
| CN110335330B (zh) | 图像模拟生成方法及其系统、深度学习算法训练方法及电子设备 | |
| CN108550106B (zh) | 一种全景图像的颜色校正方法、装置和电子设备 | |
| CN110766637B (zh) | 一种视频处理方法、处理装置、电子设备及存储介质 | |
| US20210398247A1 (en) | Image processing apparatus, image processing method, and storage medium | |
| WO2020215180A1 (zh) | 图像处理方法、装置和电子设备 | |
| CN113781318A (zh) | 一种图像颜色映射方法、装置、终端设备及存储介质 | |
| US10600170B2 (en) | Method and device for producing a digital image | |
| CN111860363A (zh) | 一种视频图像的处理方法及装置、电子设备、存储介质 | |
| CN113962859A (zh) | 一种全景图生成方法、装置、设备及介质 | |
| CN115187492B (zh) | 亮度调整方法、装置、计算机设备及存储介质 | |
| CN107220934B (zh) | 图像重建方法及装置 | |
| CN118014862A (zh) | 视频增强方法、装置、电子设备、存储介质及程序产品 | |
| CN115063333B (zh) | 图像处理方法、装置、电子设备和计算机可读存储介质 | |
| CN114782261B (zh) | 图像处理方法和装置、电子设备和可读存储介质 | |
| WO2023010755A1 (zh) | 一种hdr视频转换方法、装置、设备及计算机存储介质 | |
| WO2023010753A1 (zh) | 一种色域映射方法、装置、终端设备及存储介质 | |
| CN118247194A (zh) | 图像处理方法及装置、计算机可读介质和电子设备 | |
| CN116939124A (zh) | 一种图像处理方法及相关装置 | |
| CN118155032B (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: 21952614 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21952614 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26-09-2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21952614 Country of ref document: EP Kind code of ref document: A1 |
