×

Image processing method and device for accomplishing white balance regulation, computer-readable storage medium and computer device

  • US 10,798,358 B2
  • Filed: 06/05/2019
  • Issued: 10/06/2020
  • Est. Priority Date: 12/25/2017
  • Status: Active Grant
First Claim
Patent Images

1. 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, wherein k is 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;

    wherein the operation of processing each frame of image in the multiple continuous frames of images to determine the number of the light sources of each frame of image further comprises;

    determining a high-luminance region and a medium-luminance region according to a luminance distribution extending outwards from a center of a light source along a radial direction of the light source; and

    determining a color of the light source by subtracting pixel averages of primary color channels of the medium-luminance region from pixel averages of primary color channels of the high-luminance region;

    the method further comprises;

    responsive to determining that the difference is equal to 0, performing white balance processing on an mth frame of image according to a color temperature of the mth frame of image, the mth frame of image comprising the kth frame of image or the (k+1)th frame of image, wherein m is be a positive integer and m≥

    k.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×