Digital core technology is a new type of tool for analyzing and explaining the flow characteristics and fluid distribution of reservoir. Digital core technology has been widely used in recent years to describe features of pose space and simulate the process of fluid flow. As the basement of segmentation of pore space and reconstruction of pore network, the improvement of distance transform method has great impact on the development of digital core analysis technology. The accuracy and computation speed of distance transform method can directly affect the size of digital data and the detailedness of pore network model. Euclidean distance transform is the most precise one among all the distance transform methods, which means it is suitable for processing digital core data and calculating distance map. For traditional Euclidean distance transform method application in three-dimensional space data, there exist problems, such as too many search directions, large amount of data, and time-consuming. Large-scale data of digital core is hard to be transformed by this method. Therefore, a new theory of space based geometric topology neighbor relationship distance search algorithm was proposed in this paper. By introducing theory of neighborhood in 3D space, the relationship between 3 ´ 3 ´ 3 neighborhood with whole core data can be constructed, the computational area is greatly narrowed so that computation speed can be improved markedly. Then, instead of calculating every distance between pore voxels and skeleton voxels, the Euclidean distance of a pore voxel can be obtained by scanning the distance value of its 3 ´ 3 ´ 3 neighborhood. Exact Euclidean distance map of digital core data includes large-scale data showed after only two-scans. Noteworthily, due to the disturbing of boundary points which out the range of data size, special treatment is needed to process the pore voxels which near boundary of digital core data. Compared to existing methods, according to the interior of the rock pore structure characteristics, we simplified the comparison rules of the neighbor domain Euclidean distance value so that we can significantly improve computing capacity and computation speed of the Euclidean distance transform method. By this way, a large number of operations by the complex Euclidean distance structure can be avoided. And the complexity of the algorithm is better understood and applied. This article describes the process of the algorithm in detail and the method is extended to characterize pore space segmentation work of digital cores. Fractured-cave digital core, fractured digital core and kinds of digital core data were transformed by the new method, the results show that the method is more accurate and efficient for the segmentation and reconstruction of pore space model. On this basis, pore structure characteristics of pore space can be extracted and analyzed by digital core technology, and more parameters like permeability, formation factor, and so on, can be simulated. This paper created a new distance transform method on digital rock identification and extraction, which laid a theoretical foundation for the efficient development of microscopic description of oil and gas reservoirs, especially for fractured and vuggy reservoirs.