| CPC G06T 5/92 (2024.01) [G06T 5/50 (2013.01); G06T 5/60 (2024.01); G06T 2207/20081 (2013.01); G06T 2207/20208 (2013.01)] | 20 Claims |

|
1. A method for training an image processing model, comprising:
inputting a low dynamic range image into a first initial image processing model, so that a high dynamic range reconstruction processing is performed on the low dynamic range image to generate a first high dynamic range image;
inputting the low dynamic range image into a second initial image processing model to generate a first coefficient;
generating a second high dynamic range image according to the first high dynamic range image and the first coefficient;
generating a loss function according to data pairs of the second high dynamic range image and a real high dynamic range image, wherein the real high dynamic range image corresponds to the low dynamic range image; and
training the first initial image processing model and the second initial image processing model with the loss function, so that a trained first target image processing model and a trained second target image processing model are obtained,
wherein the first coefficient is a weight coefficient generated by the second initial image processing model performing a structural feature analysis on the low dynamic range image.
|
|
14. An electronic device comprising: a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein
the processor is configured to input a low dynamic range image into a first initial image processing model, so that a high dynamic range reconstruction processing is performed on the low dynamic range image to generate a first high dynamic range image;
the processor is further configured to input the low dynamic range image into a second initial image processing model to generate a first coefficient;
the processor is further configured to generate a second high dynamic range image according to the first high dynamic range image and the first coefficient;
the processor is further configured to generate a loss function according to data pairs of the second high dynamic range image and a real high dynamic range image; wherein the real high dynamic range image is a real high dynamic range image corresponding to the low dynamic range image;
the processor is further configured to train the first initial image processing model and the second initial image processing model with the loss function, so that a trained first target image processing model and a trained second target image processing model are obtained; and
the memory is configured to store data of the first high dynamic range image, the first coefficient, and data of the second high dynamic range image,
wherein the first coefficient is a weight coefficient generated by the second initial image processing model performing a structural feature analysis on the low dynamic range image.
|
|
20. A method for training an image processing model, comprising:
inputting a low dynamic range image into a first initial image processing model, so that a high dynamic range reconstruction processing is performed on the low dynamic range image to generate a first high dynamic range image;
inputting the low dynamic range image into a second initial image processing model to generate a first coefficient;
generating a second high dynamic range image according to the first high dynamic range image and the first coefficient;
generating a loss function according to data pairs of the second high dynamic range image and a real high dynamic range image, wherein the real high dynamic range image corresponds to the low dynamic range image; and
training the first initial image processing model and the second initial image processing model with the loss function, so that a trained first target image processing model and a trained second target image processing model are obtained;
wherein generating the second high dynamic range image according to the first high dynamic range image and the first coefficient includes:
multiplying the first high dynamic range image by the first coefficient to generate the second high dynamic range image.
|