CPC H04N 23/745 (2023.01) [H04N 23/71 (2023.01); H04N 25/705 (2023.01)] | 20 Claims |
1. A method for removing flicker in a video by an electronic device, the method comprising:
obtaining a plurality of red-green-blue (RGB) video frames of a scene in a field of preview of a camera included in the electronic device;
obtaining a position of at least one light source in a three dimensional (3D) space from the plurality of RGB video frames;
obtaining a brightness of the at least one light source based on the position of the light source;
obtaining a de-flickering factor for at least one pixel in the plurality of RGB video frames based on the position of the at least one light source and the brightness of the at least one light source; and
applying the de-flickering factor to at least one of the plurality of RGB video frames to remove the flicker.
|