Patent ID: 11893725
Assignee: CENTRAL SOUTH UNIVERSITY
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 11:
12. The method for evaluating the geometric form of the honeycomb product according to claim 1, wherein a method for extracting the vertices comprises:
S1: acquiring a square window with a preset side length L, and setting a square window with a side length increasing successively from 3 pixels, wherein after the square window traverses a vertex image, a minimum value of a number of pixels having pixel values of 0 in the square window is non-zero for the first time;
S2: traversing each pixel having a pixel value of 1 in the vertex image with the square window, and then assigning a sum of counts of pixels having the pixel values of 1 in each square window to a pixel at a center point of the square window;
S3: establishing a square area with an initial side length E=L with the maximum assigned pixel as a center, computing an absolute value of a difference between an assigned value of each pixel on the four boundaries of the square area and the assigned value of the center point of the square area, and recording a minimum absolute value Z of the difference and coordinates of a boundary pixel corresponding thereto;
S4: establishing a new square area with E=E+2 pixels, repeating S3 until the minimum absolute value of the difference has an obvious trend of increasing reversely to acquire at this time coordinates of a boundary pixel with the minimum absolute value Z of the difference and coordinates of a corresponding center point of a square area, and acquiring a side length A of a honeycomb cell by solving values of the coordinates of the boundary pixel with the value Z and solving values of the coordinates of the corresponding center point of the square area;
S5: determining a pixel having a maximum assigned value as a vertex, establishing a square annihilation window, with a side length A of the honeycomb cell as a side length, by taking the vertex as a center, zero-clearing the assigned values on all pixels having pixel values of 1 in the annihilation window, based on which a pixel with a maximum assigned value among the remaining assigned values is found, determined as a vertex and recorded, and repeating the procedures of the annihilation window until the assigned value on each pixel having the pixel value of 1 is less than a given threshold, and extracting all the vertices.