Image processing method and device, computer-readable storage medium and computer device
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorHuichao WANG
Life of this patent
Estimating the term…
Abstract
An image processing method is provided. The image processing method includes: each frame of image in multiple continuous frames of images is processed to determine a number of light sources of each frame of image; it is determined whether a difference between a number of light sources of a kth frame of image and a number of light sources of a (k+1)th frame of image is equal to 0; and when the difference is unequal to 0, a color temperature of the (k+1)th frame of image is determined to be a color temperature of the kth frame of image and the (k+1)th frame of image is processed according to the color temperature of the (k+1)th frame of image. An image processing device, a computer-readable storage medium and a computer device are further provided.
Claims20
An image processing method, comprising:
- processing each frame of image in multiple continuous frames of images to determine a number of light sources of each frame of image;
- determining whether a difference between a number of light sources of a kth frame of image and a number of light sources of a (k+1)th frame of image is equal to 0, k being a positive integer;
- and
- responsive to determining that the difference is unequal to 0, determining a color temperature of the (k+1)th frame of image to be a color temperature of the kth frame of image, and processing the (k+1)th frame of image according to the color temperature of the (k+1)th frame of image.
An image processing device, comprising:
- a memory and a processor, the memory storing one or more computer programs that, when executed by the processor, cause the processor to execute operations comprising:
- processing each frame of image in multiple continuous frames of images to determine a number of light sources of each frame of image;
- determining whether a difference between a number of light sources of a kth frame of image and a number of light sources of a (k+1)th frame of image is equal to 0, k being a positive integer;
- and
- responsive to determining that the difference is unequal to 0, determining a color temperature of the (k+1)th frame of image to be a color temperature of the kth frame of image and process the (k+1)th frame of image according to the color temperature of the (k+1)th frame of image.
A non-transitory computer-readable storage medium, comprising a computer-executable instruction that, when executed by one or more processors, causes the processor to execute an image processing method, the method comprising:
- processing each frame of image in multiple continuous frames of images to determine a number of light sources of each frame of image;
- determining whether a difference between a number of light sources of a kth frame of image and a number of light sources of a (k+1)th frame of image is equal to 0, k being a positive integer;
- and
- responsive to determining that the difference is unequal to 0, determining a color temperature of the (k+1)th frame of image to be a color temperature of the kth frame of image, and processing the (k+1)th frame of image according to the color temperature of the (k+1)th frame of image.
Dependencies are inferred from the claim text.