Patent ID: 11886647
Assignee: SHANGHAI JIAO TONG UNIVERSITY
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. The in-air gesture control method based on visible light signals according to claim 4, wherein the complementary frame is obtained by the following method: the color value (R, G, B) of a pixel in the image is converted into (x, y, Y), and then color values (x1, y1, Y1), (x2, y2, Y2) of complementary pixels are solved; a solution process is equivalent to solving a linear programming problem:

max ΔY=|Y1−Y2|,, s
    .
    t
    .
    
      
        
    
    ⁢
    
     x
     1
    
   
   =
   
    
     x
     2
    
    =
    x
   
  
  ,
   
  
   
    y
    1
   
   =
   
    
     y
     2
    
    =
    y
   
  
  ,
   
  
   
    Y
    =
    
     
      
       Y
       1
      
      +
      
       Y
       2
      
     
     2
    
   
   ;, by establishing a lookup table containing intermediate calculation results, the computing overhead is reduced, that is, the intermediate result Ymax is directly obtained through (x, y), and then ΔYmax=min(Ymax−Y, Y) is solved, and optimization problem is solved.