Patent ID: 11967123
Assignee: XIDIAN UNIVERSITY
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H  Y | IPC G  H

Claim 3:
4. The binarization method for CT sectional image of fiber package containing artifacts as claimed in claim 2, wherein the step 4 specifically comprises:
step 4.1, drawing a gray distribution histogram of the second intermediate image I2 to thereby determine the gray value change interval of the main region of the second intermediate image I2 as an interval of [MIN, MAX]; and
step 4.2, normalizing the interval of [MIN, MAX] to obtain an interval [min, max] on an interval of [0,1], and mapping a gray value between min and max to the interval of [0,1] by using an imadjust function and based on a command expressed in an expression 4.1, to expand the gray value change interval of the second intermediate image I2 and thereby obtain the third intermediate image I3:

I3=imadjust(I2,[min,max],[0,1])  (expression 4.1),

wherein a gray value Tf of each pixel of the third intermediate image I3 obtained by expansion is expressed in a formula 4.2 as follows:, T
      f
     
     =
     
      {
      
       
        
         
          
           255
           ⁢
             
           min
            
          
         
         
          
           
            T
            2
           
           <
           min
          
         
        
        
         
          
           
            1
            
             max
             -
             min
            
           
           ×
           
            (
            
             
              T
              2
             
             -
             min
            
            )
           
           ×
           255
          
         
         
          
            
           
            min
            <
            
             T
             2
            
            <
            max
             
           
          
         
        
        
         
          
           255
           ⁢
             
           max
            
          
         
         
          
           
            T
            2
           
           >
           max
          
         
        
       
       ,
      
     
    
   
   
    
     (
     
      formula
        
      4.2
     
     )
    
   
  
 

where T2 represents a gray value of each pixel of the second intermediate image I2.