Image processing method and device, electronic device and storage medium
The invention discloses an image processing method and device, an electronic device and a storage medium. The method comprises the steps of determining a brightness difference value between an averagebrightness value of a current to-be-processed image and a preset target brightness value; judging wh...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an image processing method and device, an electronic device and a storage medium. The method comprises the steps of determining a brightness difference value between an averagebrightness value of a current to-be-processed image and a preset target brightness value; judging whether to perform dynamic range compression adjustment on the image according to the brightness difference value and a preset brightness threshold value; if yes, determining a mapping coefficient of each preset brightness value according to the average brightness value of the image, the target brightness value and the brightness threshold value; according to a first dynamic range compression value corresponding to the brightness value on the first dynamic range compression curve and the mappingcoefficient of each preset brightness value, determining a second dynamic range compression value of each preset brightness value on the second dynamic range compression curve after mapping, and determining the processed image |
---|