Patent ID: 11893719
Assignee: NANJING UNIVERSITY OF SCIENCE AND TECHNOLOGY
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 3:
4. The method according to claim 1, wherein in the step 2, a color leakage correction method is used to represent a detector signal measured in a color channel as a sum of light of a desired color and light of other colors, wherein the measured signal in the red r, green g, and blue b channels is expressed as:, (
   
    
     
      
       I
       r
      
     
    
    
     
      
       I
       g
      
     
    
    
     
      
       I
       b
      
     
    
   
   )
  
  =
  
   
    (
    
     
      
       
        R
        r
        r
       
      
      
       
        R
        g
        r
       
      
      
       
        R
        b
        r
       
      
     
     
      
       
        R
        r
        g
       
      
      
       
        R
        g
        g
       
      
      
       
        R
        b
        g
       
      
     
     
      
       
        R
        r
        b
       
      
      
       
        R
        g
        b
       
      
      
       
        R
        b
        b
       
      
     
    
    )
   
   ⁢
   
    (
    
     
      
       
        I
        
         r
         ,
         corr
        
       
      
     
     
      
       
        I
        
         g
         ,
         corr
        
       
      
     
     
      
       
        I
        
         b
         ,
         corr
        
       
      
     
    
    )
   
  
 

where Ir, Ig, Ib is signal intensity of the red, green, and blue channels measured by a camera sensor, which are intensity images of the red, green, and blue channels obtained by direct channel separation; Ir,corr, Ig,corr, Ib,corr is light intensity of the red, green, and blue channels incident on the camera sensor; Rnm represents a detection response of m(m=r,g,b) color channel of the camera to LED light of color n(n=r,g,h);
wherein the step 2 further comprises the steps of:
using a single color l(l=r,g,b) LED for illumination without placing the sample;
using the color camera to acquire corresponding placement of a color image Ic,l′, obtaining channel separation of the image Ic,l′ for the three channels of images Il,r′, Il,g′, Il,b′;
calculating mean values of intensity of the three channels of the image separately, and using the mean values of the images corresponding to a color of an illumination light I as a standard for the mean values of the other two color channels normalized to obtain three values, which are Rlm(m=r,g,b); p1 perfomring the step of calculating for all three channels to obtain all Rnm values; and p1 once a camera acquisition image with the sample is obtained, separating the channels to obtain Ir, Ig, Ib, and obtaining corrected light intensity image Ir,corr, Ig,corr, Ib,corr for each wavelength according to the following equation:, (
   
    
     
      
       I
       
        r
        ,
        corr
       
      
     
    
    
     
      
       I
       
        g
        ,
        corr
       
      
     
    
    
     
      
       I
       
        b
        ,
        corr
       
      
     
    
   
   )
  
  =
  
   
    
     (
     
      
       
        
         R
         r
         r
        
       
       
        
         R
         g
         r
        
       
       
        
         R
         b
         r
        
       
      
      
       
        
         R
         r
         g
        
       
       
        
         R
         g
         g
        
       
       
        
         R
         b
         g
        
       
      
      
       
        
         R
         r
         b
        
       
       
        
         R
         g
         b
        
       
       
        
         R
         b
         b
        
       
      
     
     )
    
    
     -
     1
    
   
   ⁢
   
    
     (
     
      
       
        
         I
         r
        
       
      
      
       
        
         I
         g
        
       
      
      
       
        
         I
         b
        
       
      
     
     )
    
    .