This invention discloses a method, apparatus, and device for generating halo effects on a
mobile device, comprising: acquiring an original image and extracting highlight regions from the original image to obtain highlight image attachments; performing
inverse tone mapping on the highlight image attachments to obtain
high dynamic range (HDR) brightened image attachments; performing multiple downsampling on the brightened image attachments to generate multiple downsampled image attachments with different resolutions; performing blurring
processing on the brightened image attachments and each downsampled image attachment to obtain corresponding multiple blurred image attachments;
upsampling and superimposing each blurred image attachment to generate a HDR halo composite attachment; performing
tone mapping processing on the halo composite attachment to obtain a
standard dynamic range (SDR) standard halo attachment; and superimposing the standard halo attachment with the original
image based on the highlight image attachment to obtain the halo result image. This method can balance the visual realism of the
halo effect with real-
time processing performance under limited computing power.