Patent ID: 11941804
Assignee: HONOR DEVICE CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 2:
3. The method of claim 2, wherein both a length and a width of the rectangular window are N pixels; and determining the central pixel point located at the central position of the rectangular window, and determining the confidence value of the central pixel point based on the grayscale values of all pixel points in the rectangular window comprises:
determining the confidence value of the central pixel point located at the central position of the rectangular window according to the following formula:, M
    =
    
      
        ∑
        
          i
          ,
          
            j
            =
            1
          
        
        N
      
      ⁢
      
        
      
      ⁢
      
        
          P
          ij
        
        *
        
          Q
          ij
        
      
    
  
  ,, wherein
M represents the confidence value of the central pixel point at the central position of the rectangular window, Pij represents an element located in row i and column j in a first matrix, and Qij represents an element located in row i and column j in a second matrix, wherein the first matrix is a preset N×N matrix, elements in each row in the first matrix are the same, and the element in row i and column j in the second matrix is a grayscale value of a pixel point in row i and column j in the rectangular window, wherein 1≤i≤N, 1≤j≤N, N is an odd number, and N is greater than or equal to 3.