Patent ID: 11962909
Assignee: ZHEJIANG UNIVIEW TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 10:
11. The method according to claim 1, wherein in response to the current camera mode being the night mode, determining the color temperature value of the current imaging picture comprises:
determining an R/G value of the current imaging picture as a first R/G value, and determining a B/G value of the current imaging picture as a first B/G value;
acquiring an R/G value of an imaging picture under full infrared light as a second R/G value, and acquiring a B/G value of the imaging picture under the full infrared light as a second B/G value;
determining a first slope by utilizing the first R/G value, the first B/G value, the second R/G value and the second B/G value; and
determining, based on a preset mapping relationship between slopes and color temperature values, a color temperature value corresponding to the first slope as the color temperature value of the current imaging picture;
wherein the first slope satisfies that:, tan
    ⁢
    
     θ
     1
    
   
   =
   
    
     
      
       B
       2
      
      /
      
       G
       2
      
     
     -
     
      
       B
       1
      
      /
      
       G
       1
      
     
    
    
     
      
       R
       2
      
      /
      
       G
       2
      
     
     -
     
      
       R
       1
      
      /
      
       G
       1
      
     
    
   
  
  ;, where tan θ1 represents the first slope, B1/G1 represents the first B/G value, R1/G1 represents the first R/G value, B2/G2 represents the second B/G value, and R2/G2 represents the second R/G value.