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

Claim 11:
12. 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 an imaging picture corresponding to a first infrared light strength in the current night mode as a third R/G value, and determining a B/G value of the imaging picture corresponding to the first infrared light strength in the current night mode as a third B/G value;
determining an R/G value of an imaging picture corresponding to a second infrared light strength in the current night mode as a fourth R/G value, and determining a B/G value of the imaging picture corresponding to the second infrared light strength in the current night mode as a fourth B/G value;
determining a second slope by utilizing the third R/G value, the third B/G value, the fourth R/G value and the fourth B/G value; and
determining, based on a preset mapping relationship between slopes and color temperature values, a color temperature value corresponding to the second slope as the color temperature value of the current imaging picture;
wherein the second slope satisfies that:, tan
    ⁢
    
     θ
     2
    
   
   =
   
    
     
      
       B
       4
      
      /
      
       G
       4
      
     
     -
     
      
       B
       3
      
      /
      
       G
       3
      
     
    
    
     
      
       R
       4
      
      /
      
       G
       4
      
     
     -
     
      
       R
       3
      
      /
      
       G
       3
      
     
    
   
  
  ;, where tan θ2 represents the second slope, B3/G3 represents the third B/G value, R3/G3 represents the third R/G value, B4/G4 represents the fourth B/G value, and R4/G4 represents the fourth R/G value.