(EN) Provided are an image processing method and apparatus, an electronic device, and a storage medium. The method comprises: respectively performing curve stretching on an input signal and a low-frequency signal of the input signal, so as to obtain a first signal and a second signal; calculating a third signal according to a high-frequency signal of the input signal and the second signal; when the slope of a stretched curve is greater than 1, that is, when a dynamic range of an image video is pulled up, using the first signal as an output signal; and when the slope of the stretched curve is less than or equal to 1, that is, when the dynamic range of the image video is compressed, using the third signal as the output signal.
(FR) La présente invention concerne un procédé et un appareil de traitement d’images, un dispositif électronique et un support de stockage. Le procédé comprend les étapes consistant à : effectuer un étirement de courbe sur un signal d'entrée et sur un signal basse fréquence du signal d'entrée, respectivement, de manière à obtenir un premier signal et un deuxième signal ; calculer un troisième signal en fonction d'un signal haute fréquence du signal d'entrée et du deuxième signal ; lorsque la pente d'une courbe étirée est supérieure à 1, c'est-à-dire lorsqu'une plage dynamique d'une vidéo d'images est augmentée, utiliser le premier signal en tant que signal de sortie ; et lorsque la pente de la courbe étirée est inférieure ou égale à 1, c'est-à-dire lorsque la plage dynamique de la vidéo d'images est comprimée, utiliser le troisième signal en tant que signal de sortie.
(ZH) 提供一种图像处理方法、装置、电子设备以及存储介质。通过分别对输入信号以及输入信号的低频信号进行曲线拉伸,得到第一信号和第二信号,并根据输入信号的高频信号以及第二信号计算第三信号,当拉伸曲线的斜率大于1,即图像视频的动态范围被拉升时,输出信号取第一信号,当拉伸曲线的斜率小于或等于1,即图像视频的动态范围被压缩时,输出信号取第三信号。