The invention discloses a rock pore three-dimensional
reconstruction method and
system based on an adaptive hierarchical cube
algorithm, and a storage medium, relates to the technical field of
rock structure measurement, and aims to solve the problems of low extraction execution efficiency,
ambiguity and poor reconstruction precision of an existing moving cube
algorithm. According to an
image segmentation model based on RefineNet, the model adopts three 3 * 3
convolution cascading to replace 7 * 7
convolution, and a coordinate attention mechanism is introduced behind each block of an
encoder to improve the segmentation precision and efficiency of a key area; dividing the cube into tetrahedrons by adopting a
saddle point-adaptive layered downward
subdivision method, solving intersection point coordinates and normal vectors, and constructing a triangular patch index; determining the contour
surface shape penetrating through the cube by adopting a cube
lookup table, and merging triangles of all tetrahedrons to form a complete contour surface; and creating a new triangular patch by using the vertex of the edge of the hole and the newly generated vertex, and repairing the hole to obtain the accurately reconstructed three-dimensional hole of the rock.