A pore three-dimensional reconstruction method and system based on rock images
Through the three-dimensional reconstruction method of pores based on rock images, grayscale processing, Harris corner detection and other technologies are used to construct a grid structure model, which solves the problems of high cost and high professional requirements in the existing technology, and realizes low-cost and efficient Three-dimensional reconstruction of rock pores.
Patent Information
- Application Number
- CN202410342396.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-03-25
AI Technical Summary
In the existing technology, the reconstruction of rock image pores through machine learning methods requires high mathematical or computer professional requirements, high labor and economic costs, and is difficult to be suitable for small rock pore reconstruction projects.
A three-dimensional pore reconstruction method based on rock images is adopted, including steps such as grayscale processing, median filtering, histogram equalization, Harris corner point detection, adaptive threshold selection and moving cube algorithm, to build a grid-structured three-dimensional pore reconstruction model. , reducing hardware requirements and training time.
It achieves efficient three-dimensional reconstruction of rock pores at low cost and low professional requirements, significantly reduces labor and economic costs, is suitable for small projects, and provides high-resolution three-dimensional image reconstruction results.
Smart Images

Figure CN118135141B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rock structure measurement, and in particular to a method and system for three-dimensional pore reconstruction based on rock images. Background Art
[0002] Rock pores refer to the spaces or holes in rocks. The formation of rock pores is usually caused by a variety of factors during rock formation and metamorphism, including sedimentation, dissolution, and shrinkage of mineral crystals. The size, shape, and distribution of rock pores have an important influence on the properties and uses of rocks.
[0003] When it comes to measurements related to rock pores, the main ones are electron microscope scanning, nuclear magnetic resonance, CT scanning, etc., but they are not able to reflect the situation of rock pores. Using neural network technology to process and analyze data helps to extract information about pore structure. Machine learning and three-dimensional modeling rendering technology are usually used to achieve the restoration and reconstruction of pores. The process of the method often includes cleaning, normalizing and processing the data to ensure data quality and consistency. When preparing data sets for machine learning training, it is necessary to select appropriate machine learning algorithms, such as convolutional neural networks, support vector machines, etc., and use labeled data sets for model training, which requires a lot of costs, involving hardware requirements, training time, data collection and annotation, etc. In addition, the operator needs to have proficiency in machine learning and relevant expertise, which makes some small rock pore reconstruction projects difficult to undertake. Summary of the invention
[0004] The technical problems to be solved by the present invention are:
[0005] The existing technology of reconstructing the pores of rock images through machine learning methods requires high mathematical or computer expertise, and has high labor and economic costs, making it difficult to apply to small-scale rock pore reconstruction projects. To this end, the present invention provides a pore three-dimensional reconstruction method and system based on rock images.
[0006] The present invention adopts the following technical solutions to solve the above technical problems:
[0007] The present invention provides a method for three-dimensional pore reconstruction based on rock images, comprising the following steps:
[0008] Step 1: Slice the rock sample, collect microscopic images of particles and pores of the rock sample slices, divide the slice images of each rock sample into a group, and pre-process the image data;
[0009] Step 2: First, grayscale the image, then remove image noise through median filtering, enhance image details and adaptability through histogram equalization, and finally map the image pixel values to a specific range through normalization.
[0010] Step 3: Use the Harris corner detection algorithm to detect corners, sort the Harris response values, select key points by setting the number of key points, and use the non-maximum suppression method to further screen the selected key points;
[0011] Step 4: segment the boundaries of the image pores through an adaptive threshold selection method, extract the pore features, assign different colors to the pores according to their different properties, and generate a pseudo-color image;
[0012] Step 5: Using the marching cube algorithm, a 3D reconstruction model of the pores in the grid structure is constructed based on the pseudo-color images of each group of slices.
[0013] Furthermore, the image data is preprocessed in step 1, including cropping and scaling the image, and each group of images is smoothed using Gaussian filtering to remove high-frequency noise. The specific calculation method is:
[0014]
[0015]
[0016] Among them I smooth (x, y) is the smoothing intensity at the pixel (x, y) after Gaussian filtering, k is the size of the filter, w(i, j) is the weight given to the pixel at the relative position in the filter, x i 、x j represents the spatial distance between pixels, i and j are the pixel distances relative to the filter center, and σ0 is the standard deviation of the pixel;
[0017] Furthermore, the calculation method of the histogram equalization in step 2 is:
[0018]
[0019] Where s is the grayscale of the image after histogram equalization, r is the grayscale of the original image, and P(r) is the probability density of the random variable r, that is:
[0020]
[0021] Where μ is the mean of the pixels and σ is the standard deviation of the pixels, that is:
[0022]
[0023]
[0024] Where M and N are the height and width of the image, r ij is the grayscale value at pixel (i, j).
[0025] Furthermore, in the histogram equalization process, 50% of the pixel values of the image are set to be less than 128, and 25% of the pixel values are set to be less than 64, so that the histogram grayscale of the image is dispersed from being concentrated in a small part of the grayscale to having a certain coverage in all grayscale levels.
[0026] Furthermore, the normalized calculation method in step 2 is:
[0027]
[0028] Where x' is the normalized pixel value, x is the pixel value before normalization, and x max Represents the maximum pixel value, x min Represents the minimum pixel value.
[0029] Furthermore, step three includes the following process:
[0030] First, the gradient of each pixel of the image obtained in step 2 is calculated by a first-order gradient operator; then the corner detection is performed using the Harris corner detection algorithm, specifically: the pixel gradient matrix image is traversed through a local window, and the curvature C of the pixel is calculated using the Hessian matrix, that is:
[0031]
[0032] Where trace(M) is the trace of the gradient matrix, det(M) is the determinant of the gradient matrix;
[0033] For each pixel in the image, calculate its local feature response value, set a threshold for the local feature response value, and the pixel points above the threshold are corner points;
[0034] Finally, the Harris response values are sorted, and the key points are selected by setting the number of key points; and the non-maximum suppression method is used to further screen the selected key points.
[0035] Furthermore, step 4 includes the following process:
[0036] The boundary of the image pores is segmented by the adaptive threshold selection method, that is, an optimal grayscale threshold is determined, the image is divided into foreground and background, and the inter-class variance of the segmented foreground and background is calculated so that the variance of the two categories after segmentation is maximized. The specific calculation method is:
[0037]
[0038] σbetween2(t ) is the variance after segmentation, t is the threshold, P(t) and are the probabilities of foreground and background at threshold t, μ(t) and is the average gray value of the foreground and background;
[0039] The shape, size, and distribution characteristics of the pores are extracted, and different colors are assigned to the pores according to their different properties to generate a pseudo-color image.
[0040] Furthermore, step five includes the following process:
[0041] The generated pseudo-color image is divided into multiple grid voxels, the voxel grid is converted into a three-dimensional grid with surface information, the voxel data is converted into vertices and faces of the grid, and the voxels are fitted with a surface; the density and grayscale information of each voxel is obtained, and a histogram of the voxel data is drawn through the voxel information to determine the range of pore scalar values; the marching cube algorithm is used to generate the isosurface of the three-dimensional structure of the rock pores within the determined range of pore scalar values, and the entire set of pseudo-color images is integrated to form a three-dimensional reconstructed model of the pores, while presenting the characteristics of shape and color.
[0042] Furthermore, step five also includes: using a VTK rendering window to achieve real-time interaction and visualization of the pore three-dimensional reconstruction model.
[0043] A three-dimensional pore reconstruction system based on rock images, the system has a program module corresponding to the steps of any one of the above technical solutions, and executes the steps in the above three-dimensional pore reconstruction method based on rock images when running.
[0044] Compared with the prior art, the present invention has the following beneficial effects:
[0045] The present invention discloses a pore three-dimensional reconstruction method and system based on rock images, which adopts graying, median filtering, histogram equalization and normalization to improve image quality and minimize noise; through operations such as threshold segmentation and corner detection, key features in the image are extracted, and the Harris corner detection algorithm is innovatively improved so that feature points can be automatically sorted according to the degree of response. The improved algorithm shows excellent performance in the feature point matching stage, thereby efficiently obtaining the number of custom feature points; finally, the marching cube algorithm is introduced to restore the rock pore structure with high precision.
[0046] The present invention uses computer vision technology to process images, significantly reducing costs, saving the training time of neural network methods, reducing hardware requirements, and realizing efficient processing of small rock pore reconstruction projects. The present invention realizes low-cost rock image pore reconstruction without requiring high mathematics or computer professional requirements, greatly reducing labor and economic costs, and has been proven to be fully applicable to small rock pore reconstruction projects.
[0047] The method of the present invention can realize high-resolution three-dimensional image reconstruction, provide a new perspective for geological research, and bring great potential to the fields of resource development and environmental protection. The method of the present invention has been verified by simulation experiments and practical applications, and the technical effects and practicality claimed by the present invention have been verified. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 is a flow chart of a pore three-dimensional reconstruction method based on rock images in an embodiment of the present invention;
[0049] Figure 2 A partial rock image used in the pore identification method in the embodiment of the present invention;
[0050] Figure 3 Schematic diagram of grayscale conversion of rock images in an embodiment of the present invention;
[0051] Figure 4 It is a flow chart of Harris feature extraction in an embodiment of the present invention;
[0052] Figure 5 Schematic diagram of a basic model of a moving cube in an embodiment of the present invention;
[0053] Figure 6 is a histogram equalization diagram of a rock image in an embodiment of the present invention;
[0054] Figure 7 This is a feature extraction diagram using the Harris algorithm in an embodiment of the present invention;
[0055] Figure 8 A schematic diagram of image segmentation in an embodiment of the present invention;
[0056] Fig. 9 is a schematic diagram of pore feature point extraction in an embodiment of the present invention;
[0057] Fig.10 Schematic diagram of pore results in an embodiment of the present invention. DETAILED DESCRIPTION
[0058] In the description of the present invention, it should be noted that the terms "first", "second", and "third" mentioned in the embodiments of the present invention are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.
[0059] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0060] Specific implementation plan 1: Figure 1 As shown, the present invention provides a pore three-dimensional reconstruction method based on rock images, comprising the following steps:
[0061] Step 1: Slice the rock sample, collect microscopic images of particles and pores of the rock sample slices, divide the slice images of each rock sample into a group, and pre-process the image data;
[0062] Step 2: First, grayscale the image, then remove image noise through median filtering, enhance image details and adaptability through histogram equalization, and finally map the image pixel values to a specific range through normalization.
[0063] Step 3: Use the Harris corner detection algorithm to detect corners, sort the Harris response values, select key points by setting the number of key points, and use the non-maximum suppression method to further screen the selected key points;
[0064] Step 4: segment the boundaries of the image pores through an adaptive threshold selection method, extract the pore features, assign different colors to the pores according to their different properties, and generate a pseudo-color image;
[0065] Step 5: Using the marching cube algorithm, a 3D reconstruction model of the pores in the grid structure is constructed based on the pseudo-color images of each group of slices.
[0066] In step 1 of this implementation scheme, rock thin section images are collected, and thin sections of different sizes are prepared to meet specific needs; rock thin sections are prepared into thin sections with a size of 10mm*10mm, and then these thin sections are scanned over a large range of the entire field of view using a Zeiss EVO15 scanning electron microscope to obtain microscopic rock images that clearly show rock particles and pores, such as Figure 2 shown.
[0067] The grayscale processing in step 2 of this implementation scheme retains the brightness information of the rock sample and reduces the complexity of the data. It is implemented by using a simple average calculation, so that the grayscale value of each pixel in the image is equal to the average value of its red, green and blue channel values. The median filter replaces the value of each pixel with the median of the pixel value in its neighborhood window, and replaces the pixel value with the median of the pixel value, suppressing noise while maintaining details. The odd numbers in the window are arranged in order of size, and the number in the center is used as the processing result, so that the image becomes smooth and the edge information of the image is retained. The median filter does not use linear weighted averaging, but directly selects the median. Compared with the linear filter, the median filter can better maintain the edge information of the image while removing noise. The pixel values at the edge are not easily affected by smoothing. And it does not depend on the statistical characteristics of the image, so it is relatively robust when processing different types of rock images.
[0068] Specific implementation scheme 2: The image data is preprocessed as described in step 1, including cropping and scaling the image, and each group of images is smoothed using Gaussian filtering to remove high-frequency noise. The specific calculation method is:
[0069]
[0070]
[0071] Among them I smooth (x, y) is the smoothing intensity at the pixel (x, y) after Gaussian filtering, k is the size of the filter, w(i, j) is the weight given to the pixel at the relative position in the filter, x i 、x j represents the spatial distance between pixels, i and j are the pixel distances relative to the filter center, and σ0 is the standard deviation of the pixel. The rest of this embodiment is the same as the first embodiment.
[0072] Specific implementation plan three: Figure 6 As shown, the calculation method of the histogram equalization in step 2 is:
[0073]
[0074] Where s is the grayscale of the image after histogram equalization, r is the grayscale of the original image, and P(r) is the probability density of the random variable r, that is:
[0075]
[0076] Where μ is the mean of the pixels and σ is the standard deviation of the pixels, that is:
[0077]
[0078]
[0079] Where M and N are the height and width of the image, r ij is the grayscale value at pixel (i, j). The rest of this embodiment is the same as the second embodiment.
[0080] In this implementation scheme, the histogram equalization first stretches and compresses the brightness level of the image, and controls the grayscale value of the pixel according to the histogram to change the pixel between black and white, so that the relatively concentrated grayscale is distributed more widely. It belongs to the point operation range, and r and s represent the normalized original image grayscale and the image grayscale after histogram equalization, that is, any r in the interval [0,1] can generate a corresponding s through the transformation function T(r), and the formula is: s=T(r)
[0081] Specific implementation scheme 4: In the process of histogram equalization, 50% of the pixel values of the image are set to be less than 128, and 25% of the pixel values are set to be less than 64, so that the grayscale level of the histogram of the image is dispersed from being concentrated in a small part of the grayscale level to having a certain coverage in all grayscale levels. The resolution of the brightness level is improved, which helps to more accurately express the brightness changes in the image. The rest of this implementation scheme is the same as the specific implementation scheme 3.
[0082] Specific implementation scheme 5: The normalized calculation method described in step 2 is:
[0083]
[0084] Where x' is the normalized pixel value, x is the pixel value before normalization, and x max Represents the maximum pixel value, x min Represents the minimum pixel value. The rest of this embodiment is the same as the specific embodiment 4.
[0085] This implementation ensures that the pixel values of the image are within the same range, ensures the consistency of scale, and improves the generalization ability.
[0086] Specific implementation plan six: Figure 4 and Figure 7 As shown, step three includes the following process:
[0087] First, the gradient of each pixel of the image obtained in step 2 is calculated by a first-order gradient operator; then the corner detection is performed using the Harris corner detection algorithm, specifically: the pixel gradient matrix image is traversed through a local window, and the curvature C of the pixel is calculated using the Hessian matrix, that is:
[0088]
[0089] Where trace(M) is the trace of the gradient matrix, det(M) is the determinant of the gradient matrix;
[0090] For each pixel in the image, calculate its local feature response value, set a threshold for the local feature response value, and the pixel points above the threshold are corner points;
[0091] Finally, the Harris response values are sorted and the key points are selected by setting the number of key points. The results are as follows: Fig. 9 As shown. The non-maximum suppression method is used to further screen the selected key points. The rest of this implementation is the same as the specific implementation plan five.
[0092] In this implementation, a local window is moved on the image to determine whether a large change in grayscale occurs. If the grayscale values in the window (on the gradient map) have large changes, then there are corner points in the area where the window is located. By building a model, the center of a window is located at a position (x, y) in the grayscale image. The pixel grayscale value at this position is I (x, y). If the window moves a small displacement u and v in the x and y directions, respectively, to a new position (x+u, y+v), I (x+u, y+v) - I (x, y), that is, the change in grayscale value caused by the window movement, is the feature to be extracted.
[0093] This implementation plan uses recall, accuracy and F1 score to evaluate the implementation effect of the Harris corner detection algorithm:
[0094]
[0095]
[0096]
[0097] Among them, True Positives represents the number of correctly detected corner points, and False Negatives represents the number of corner points that actually exist but are not detected.
[0098] In this implementation, the gradient of each pixel of the image is calculated by a first-order gradient operator, and then the corner detection is performed by the Harris corner detection algorithm, which can achieve a higher accuracy and recall rate.
[0099] Specific implementation plan seven: Figure 8 As shown, step 4 includes the following process:
[0100] The boundary of the image pores is segmented by the adaptive threshold selection method, that is, an optimal grayscale threshold is determined, the image is divided into foreground and background, and the inter-class variance of the segmented foreground and background is calculated so that the variance of the two categories after segmentation is maximized. The specific calculation method is:
[0101]
[0102] σ between2(t) is the variance after segmentation, t is the threshold, P(t) and are the probabilities of foreground and background at threshold t, μ(t) and is the average gray value of the foreground and background;
[0103] The shape, size and distribution characteristics of the pores are extracted, and different colors are assigned to the pores according to their different properties to generate a pseudo-color image. The rest of this embodiment is the same as the specific embodiment six.
[0104] Specific implementation plan eight: Figure 5 As shown, step five includes the following process:
[0105] The generated pseudo-color image is divided into multiple grid voxels, the voxel grid is converted into a three-dimensional grid with surface information, the voxel data is converted into the vertices and faces of the grid, and the voxels are fitted with a surface; the density and grayscale information of each voxel are obtained, and a histogram of the voxel data is drawn through the voxel information to determine the range of pore scalar values; using the moving cube algorithm, within the determined range of pore scalar values, an isosurface of the three-dimensional structure of the rock pore is generated, and the entire set of pseudo-color images is integrated to form a three-dimensional reconstruction model of the pore, while presenting the characteristics of shape and color. The rest of this implementation plan is the same as the specific implementation plan seven.
[0106] Specific implementation plan nine: Step five also includes: using the VTK rendering window to achieve real-time interaction and visualization of the pore 3D reconstruction model; the result is as follows Fig.10 The rest of this embodiment is the same as the specific embodiment eight.
[0107] Specific implementation scheme ten: A three-dimensional pore reconstruction system based on rock images, which has a program module corresponding to the steps of any one of the above-mentioned specific implementation schemes, and executes the steps in the above-mentioned three-dimensional pore reconstruction method based on rock images when running.
[0108] The present invention proposes a method (algorithm) for three-dimensional reconstruction of pores based on rock images, which is the underlying technical core of the present invention. Various products can be derived based on the algorithm.
[0109] Based on the method proposed in the present invention, a three-dimensional pore reconstruction system based on rock images is developed using a programming language. The system has program modules corresponding to the steps of the above-mentioned technical solution, and executes the steps in the above-mentioned three-dimensional pore reconstruction method based on rock images during operation.
[0110] The computer program of the developed system (software) is stored on a computer-readable storage medium, and the computer program is configured to implement the steps of the above-mentioned rock image-based pore three-dimensional reconstruction method when called by a processor, that is, the present invention is materialized on a carrier to become a computer program product.
[0111] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0112] The computer programs (also referred to as programs, software, software applications, or codes) of the present invention include machine instructions for programmable processors, and these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or device (e.g., disk, optical disk, memory, programmable logic device PLD) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0113] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A 3D pore reconstruction method based on rock images, characterized in that: The steps include: Step 1: Slice the rock sample, collect microscopic images of particles and pores of the rock sample slices, divide the slice images of each rock sample into a group, and pre-process the image data; Step 2: First, grayscale the image, then remove image noise through median filtering, enhance image details and adaptability through histogram equalization, and finally map the image pixel values to a specific range through normalization. The calculation method of the histogram equalization is: Where s is the grayscale of the image after histogram equalization, r is the grayscale of the original image, and P(r) is the probability density of the random variable r, that is: Where μ is the mean of the pixels and σ is the standard deviation of the pixels, that is: Where M and N are the height and width of the image, r ij is the gray value at pixel (i, j); Step 3: Use the Harris corner detection algorithm to detect corners, sort the Harris response values, select key points by setting the number of key points, and use the non-maximum suppression method to further screen the selected key points; including the following process: First, the gradient of each pixel of the image obtained in step 2 is calculated by a first-order gradient operator; then the corner detection is performed using the Harris corner detection algorithm, specifically: the pixel gradient matrix image is traversed through a local window, and the curvature C of the pixel is calculated using the Hessian matrix, that is: Where trace(H) is the trace of the gradient matrix, det(H) is the determinant of the gradient matrix; For each pixel in the image, calculate its local feature response value, set a threshold for the local feature response value, and the pixel points above the threshold are corner points; Finally, the Harris response values are sorted, and the key points are selected by setting the number of key points; and the non-maximum suppression method is used to further screen the selected key points; Step 4: segment the boundaries of the image pores through an adaptive threshold selection method, extract the pore features, assign different colors to the pores according to their different properties, and generate a pseudo-color image; Step 5: Using the marching cube algorithm, a 3D reconstruction model of the pores in the grid structure is constructed based on the pseudo-color images of each group of slices.
2. The method for three-dimensional pore reconstruction based on rock images according to claim 1, characterized in that: The image data is preprocessed as described in step 1, including cropping and scaling the image, and smoothing each group of images using Gaussian filtering to remove high-frequency noise. The specific calculation method is: Among them I smooth (x, y) is the smoothing intensity at the pixel (x, y) after Gaussian filtering, k is the size of the filter, w(i, j) is the weight given to the pixel at the relative position in the filter, x i ,y j represents the spatial distance between pixels, i and j are the pixel distances relative to the filter center, and σ0 is the standard deviation of the pixels.
3. The method for three-dimensional pore reconstruction based on rock images according to claim 2, characterized in that: In the histogram equalization process, 50% of the pixel values of the image are set to be less than 128, and 25% of the pixel values are set to be less than 64, so that the histogram grayscale of the image is dispersed from being concentrated in a small part of the grayscale to having a certain coverage in all grayscale levels.
4. The method for three-dimensional pore reconstruction based on rock images according to claim 3, characterized in that: The normalized calculation method in step 2 is: Where x' is the normalized pixel value, x is the pixel value before normalization, and x max Represents the maximum pixel value, x min Represents the minimum pixel value.
5. The method for three-dimensional pore reconstruction based on rock images according to claim 4, characterized in that: Step 4 includes the following process: The boundary of the image pores is segmented by the adaptive threshold selection method, that is, an optimal grayscale threshold is determined, the image is divided into foreground and background, and the inter-class variance of the segmented foreground and background is calculated so that the variance of the two categories after segmentation is maximized. The specific calculation method is: σ between2(t) is the variance after segmentation, t is the threshold, P(t) and are the probabilities of foreground and background at threshold t, μ(t) and is the average gray value of the foreground and background; The shape, size, and distribution characteristics of the pores are extracted, and different colors are assigned to the pores according to their different properties to generate a pseudo-color image.
6. The method for three-dimensional pore reconstruction based on rock images according to claim 5, characterized in that: Step 5 includes the following process: The generated pseudo-color image is divided into multiple grid voxels, the voxel grid is converted into a three-dimensional grid with surface information, the voxel data is converted into vertices and faces of the grid, and the voxels are fitted with a surface; the density and grayscale information of each voxel is obtained, and a histogram of the voxel data is drawn through the voxel information to determine the range of pore scalar values; the marching cube algorithm is used to generate the isosurface of the three-dimensional structure of the rock pores within the determined range of pore scalar values, and the entire set of pseudo-color images is integrated to form a three-dimensional reconstructed model of the pores, while presenting the characteristics of shape and color.
7. The method for three-dimensional pore reconstruction based on rock images according to claim 6, characterized in that: Step five also includes: using the VTK rendering window to achieve real-time interaction and visualization of the pore 3D reconstruction model.
8. A 3D pore reconstruction system based on rock images, characterized in that: The system has a program module corresponding to the steps of any one of claims 1 to 7, and executes the steps in the above-mentioned rock image-based pore three-dimensional reconstruction method when running.
Citation Information
Patent Citations
Large-scale part three-dimensional reconstruction method based on image sequence
CN111815757A
Key point detection method based on four-point detection
CN112150456A
