On the basis of obtaining multi-scale coral reef pore structure images and characterization processing through multivariate testing technology, it is necessary to screen the key areas and refine the key location information to realize the location of multi-scale coral reef pore structure feature areas. In this section, according to the development characteristics of coral reef pore structure, the key area location search strategy of a multi-scale coral reef pore structure image is formulated to realize the key area location of the coral reef multi-scale pore structure.
5.1. Search for Key Areas
In the search of key areas of coral reef multi-scale pore structure, the pore distribution characteristics, pore variation characteristics, pore fractal characteristics and pore shape characteristics in a certain range are combined, and the similarity matching algorithm is used to search the key areas of pores between different scales and different regions of the same scale. Let
be the target area image,
be the search area image,
represent the pore distribution feature similarity between the search area and the target area,
represent the pore change feature similarity between the search area and the target area.
represents the pore shape feature similarity between the search area and the target area, and
represents the pore shape feature similarity between the search area and the target area. Then the comprehensive similarity
between the two region images can be expressed as:
where,
,
,
and
is the weighting of pore distribution characteristics, pore variation characteristics, pore fractal characteristics and pore shape characteristics, respectively. The commonly used image similarity matching algorithms mainly include the histogram intersection method, absolute distance method and Euclidean distance method. Although the Euclidean distance method has high retrieval accuracy, it has a large amount of calculation, resulting in a relatively slow operation speed. In order to obtain a high accuracy and abandon the advantage of speed, Euclidean distance is used in this paper. In the calculation of comprehensive similarity
, the Euclidean distance
from q to t is calculated, and the Euclidean distance
represents the actual distance between the two regions. This distance combines the characteristics of pore distribution, pore variation, pore fractal and pore shape. The expression of Euclidean distance
is:
In the key area search of pore structure at different scales, firstly, the parameters of pore distribution characteristics, pore variation characteristics, pore fractal characteristics and pore shape characteristics are artificially set, and the system automatically matches the target area image on the specified scale image. Alternatively, by selecting the image of the designated area as the target area image q, the pore distribution characteristics, pore variation characteristics, pore fractal characteristics and pore shape characteristics are automatically calculated; then, the region image of the corresponding scale is selected from the images of different scales as the search region image . Finally, according to the combination of pore distribution characteristics, pore change characteristics, pore fractal characteristics and pore shape characteristics in a certain range, and through the size of European distance , the distance ranking of pore key areas between different scales is realized. The nearest is the key area that needs to be searched and located.
5.2. Data Processing
The characteristic parameters of coral reef pore structure are calculated for the three images in
Figure 6. After counting the continuous pixel area and ignoring the discrete single pixel, the number of pores corresponding to the macro-image is 198, the number of pores corresponding to the mesoscopic image is 47, and the number of pores corresponding to the micro-image is 226. The pore area radius r, pore area s and pore area perimeter C corresponding to the three characteristic images are shown in
Figure 9.
Figure 9a shows the distribution of pore characteristic parameters corresponding to macro-images.
Figure 9b shows the distribution of pore characteristic parameters corresponding to mesoscopic images, and
Figure 9c shows the distribution of pore characteristic parameters corresponding to micro-images.
As can be seen from
Figure 9, the maximum radius of the macroscale pore structure is 8.6207 mm, the minimum radius is 0.2128 mm and the average radius is 1.1685 mm. The maximum area of the macroscale pore structure is 246.6274 mm
2, the minimum area is 0.1811 mm
2 and the average area is 8.7411 mm
2. The maximum perimeter of the macroscale pore structure is 79.1489 mm, the minimum perimeter is 1.7021 mm and the average perimeter is 10.5394 mm. The maximum radius of the mesoscopic pore structure is 14.4452
, the minimum radius is 0.4525
and the average radius is 1.0412
. The maximum area of the mesoscopic pore structure is 703.4929
, the minimum area is 0.8190
and the average area is 22.7394
. The maximum perimeter of the mesoscopic pore structure is 123.0757
, the minimum perimeter is 3.6199
and the average perimeter is 8.6646
. The maximum radius of the microscale pore structure is 7.2876 nm, the minimum radius is 0.2558 nm and the average radius is 0.7794 nm. The maximum area of the microscale pore structure is 81.6321 nm
2, the minimum area is 0.2616 nm
2 and the average area is 4.1527 nm
2. The maximum perimeter of the microscale pore structure is 76.7263 nm, the minimum perimeter is 2.0460 nm and the average perimeter is 6.9936 nm. In the multi-scale pore structure characterization of coral reefs, the distribution diagrams corresponding to the shape factor, fractal dimension, auto correlation function and variation function of coral reef pore area corresponding to the three characteristic images are shown in
Figure 10, respectively. Among them,
Figure 10a is the shape factor distribution diagram,
Figure 10b is the fractal dimension distribution diagram,
Figure 10c is the autocorrelation function distribution diagram, and
Figure 10d is the variation function distribution diagram.
As can be seen from
Figure 10, the maximum shape factor of the pore structure in macroscale is 3.1160, the minimum shape factor is 0.1064 and the average shape factor is 0.3839. The maximum fractal dimension is 7.3960, the minimum fractal dimension is 1 and the average fractal dimension is 1.3126. The average auto correlation function of the macroscale pore structure in the horizontal direction is 41.6008. The average auto correlation function of macroscale pore structure in the vertical direction is 84.4118. The average auto correlation function of the mesoscopic pore structure in the northwest–southeast direction is 7.4580. The average auto correlation function value of the macroscale pore structure in the northeast–southwest direction is 8.4202. The average variation function of the macroscale pore structure in the horizontal direction is 0.0055. The average variation function value of the macroscale pore structure in the vertical direction is 0.0068. The average variogram value of the macroscale pore structure in the northwest–southeast direction is 0.0045. The average variogram value of the macroscale pore structure in the northeast–southwest direction is 0.0046.
The maximum shape factor of the mesoscopic pore structure is 5.7159, the minimum shape factor is 0.2262 and the average shape factor is 0.4494. The maximum fractal dimension of the mesoscopic pore structure is 1.4855, the minimum fractal dimension is 1 and the average fractal dimension is 1.0153. The average auto correlation function of the mesoscopic pore structure in the horizontal direction is 92.4089. The average auto correlation function of the mesoscopic pore structure in the vertical direction is 187.0043. The average auto correlation function of the mesoscopic pore structure in the northwest–southeast direction is 17.3793. The average auto correlation function of the mesoscopic pore structure in the northeast–southwest direction is 18.7192. The average variation function of the mesoscopic pore structure in the horizontal direction is 0.0078. The average variation function of the mesoscopic pore structure in the vertical direction is 0.0060. The average variogram value of the mesoscopic pore structure in the northwest–southeast direction is 0.0042. The average variogram value of the mesoscopic pore structure in the northeast–southwest direction is 0.0043.
The maximum shape factor of the microscale pore structure is 1.4743, the minimum shape factor is 0.1279 and the average shape factor is 0.2658. The maximum fractal dimension of the microscale pore structure is 11.5448, the minimum fractal dimension is 1 and the average fractal dimension is 1.1821. The average auto correlation function of the microscale pore structure in the horizontal direction is 18.0627. The average auto correlation function of the microscale pore structure in the vertical direction is 24.8910. The average auto correlation function of the microscale pore structure in the northwest–southeast direction is 2.2561. The average auto correlation function value of the microscale pore structure in the northeast–southwest direction is 2.3297. The average variation function of the microscale pore structure in the horizontal direction is 0.0011. The average variation function of the microscale pore structure in the vertical direction is 0.0023. The average variogram value of the microscale pore structure in the northwest–southeast direction is 0.0011. The average variogram value of the microscale pore structure in a northeast–southwest direction is 0.0013.
5.3. Result Analysis
It can be seen from the calculation results in the previous section that there are differences in the pore structure parameters and characterization characteristics at different scales. In order to more intuitively display the different characteristics of the pore structure between different scales, by comparing and analyzing the parameters between different scales, the distribution diagram of multi-scale pore structure characteristic parameters is shown in
Figure 11. As can be seen from
Figure 11a,d, the radii of pores with different scales are mainly distributed in 0–1 mm, 0–1
and 0–1 nm, and the cumulative proportion reaches 72%. The radii of pores with different scales are less distributed in areas > 2 mm, > 2
and > 2 nm, respectively, and their cumulative proportion is about 9%. It can be seen from
Figure 11b,e that the areas of pores with different scales are mainly distributed in 0–1 mm
2, 0–1
and 0–1 nm
2, and the cumulative proportion reaches 52%. The pore areas of different scales are less distributed in the areas of 1–2 mm, 1–2
and 1–2 nm, respectively, and the cumulative proportion is about 14%. It can be seen from
Figure 11c,d that the perimeter of pores with different scales are mainly distributed in 0–5 mm, 0–5
and 0–5 nm, and the cumulative proportion reaches 53%. The perimeter of pores with different scales is evenly distributed in other areas, accounting for 24% in the areas of 5–10 mm, 5–10
and 5–10 nm, and 23% in the areas of >10 mm, >10
and >10 nm.
The blue dots in
Figure 12 represent macropores, the green dots represent mesoscopic pores, and the red dots represent micropores. The relationship between pore radius and shape factor is shown in
Figure 12a. It can be seen from the
Figure 12a that the macro-image shape factor obtained by drilling camera technology is mainly distributed at about 0.38, the mesoscopic image shape factor obtained by rock casting sheet technology is mainly distributed at about 0.45, and the micro-image shape factor obtained by scanning electron microscope technology is mainly distributed at about 0.27. The relationship between pore radius and fractal dimension is shown in
Figure 12b. It can be seen from the
Figure 12 that the fractal dimension of the macro-image obtained by drilling camera technology is mainly distributed around 1.31, the fractal dimension of the mesoscopic image obtained by rock casting thin section technology is mainly distributed around 1.49, and the fractal dimension of the micro-image obtained by scanning electron microscope technology is mainly distributed around 1.18. This shows that the characteristic information of the pore structure images with different scales can be comprehensively reflected by using borehole camera technology, rock casting thin section technology and scanning electron microscope technology.
Based on the multi-scale coral reef pore structure image obtained by multivariate testing technology and characterization processing, the multi-scale coral reef pore structure characteristic area is located. The multi-scale coral reef pore structure image is the three in a sequence. In the search of key areas of coral reef multi-scale pore structure, the pore distribution characteristics, pore variation characteristics, pore fractal characteristics and pore shape characteristics in a certain range are combined, and the similarity matching algorithm is used to search the key areas of pores between different scales and different regions of the same scale. According to the relationship in Equation (10), the pairwise comprehensive similarity DC of the three images in
Figure 4 is calculated. When t is the whole image area, the comprehensive similarity DC value between the macro-image in
Figure 4a and the mesoscopic image in
Figure 4b is 0.6081. The comprehensive similarity DC value between the macro-image in
Figure 4a and the micro-image in
Figure 4c is 0.5840. The comprehensive similarity DC value between the mesoscopic image in
Figure 4b and the microscopic image in
Figure 4c is 0.3873. According to Equation (11), it can be calculated that the Euclidean distance between the macro-image in
Figure 4a and the mesoscopic image in
Figure 4b is 0.3919, and the Euclidean distance between the macro-image in
Figure 4a and the micro-image in
Figure 4c is 0.4160. The Euclidean distance between the mesoscopic image in
Figure 4b and the microscopic image in
Figure 4c is 0.6127. That is, the Euclidean distance between the mesoscopic image in
Figure 4b and the micro-image in
Figure 4c is the largest, and the Euclidean distance between the macro-image in
Figure 4a and the mesoscopic image in
Figure 4b is the smallest. It is explained that the similarity between the macro-image in
Figure 4a and the mesoscopic image in
Figure 4b is the highest, which is mainly due to the smaller difference between the mesoscopic-scale image and the macroscale image, and the larger difference between the mesoscopic-scale image and the microstructure features, which verifies the correctness of the characterization method described in this paper.
Although the Euclidean distance between the macro-image in
Figure 4a and the micro-image in
Figure 4c is the smallest, there is still a large gap, which is mainly due to the order of magnitude difference in the scales represented by the three images. The mesoscopic image in
Figure 4b is a small part of the macro-image in
Figure 4a, while the micro-image in
Figure 4c is a small part of the mesoscopic image in
Figure 4b. Therefore, in order to verify the correctness and accuracy of the method in this paper, the three images in
Figure 4 are meshed by 10 × 10 and 100 × 100 respectively, as shown in
Figure 13, Then, the comprehensive similarity and Euclidean distance of the meshed images are calculated respectively.
In the key area search of 10 × 10 grid image, the search of the corresponding area in the macro-image is determined according to the mesoscopic image. Firstly, the mesoscopic image is selected as the target region, and then the region image matrix [1, 1] in the macro-image is used as the search region, and the comprehensive similarity of the two region images is calculated. After the search of the area image matrix [1, 1] in the macro-image is completed according to the search method in
Section 5.1, the area image matrix [1, 2] in the macro-image is taken as the search area, and so on until the search of the area image matrix [10, 10] in the macro-image is completed, and the search results are shown in
Figure 14a. In the key area search of 10 × 10 grid image, the search of the corresponding area in the mesoscopic image is determined according to the micro-image. Firstly, the micro-image is selected as the target region, and then the region image matrix [1, 1] in the mesoscopic image is used as the search region, and the comprehensive similarity of the two region images is calculated. After completing the search of the area image matrix [1, 1] in the mesoscopic image, take the area image matrix [1, 2] in the mesoscopic image as the search area, and so on until the search of the area image matrix [10, 10] in the mesoscopic image is completed. The search results are shown in
Figure 14b. In the key area search of 10 × 10 grid image, the search of the corresponding area in the macro-image is determined according to the micro-image. Firstly, the micro-image is selected as the target area, and then the regional image matrix [1, 1] in the macro-image is used as the search area, and the comprehensive similarity of the two regional images is calculated. After completing the search of the area image matrix [1, 1] in the macro-image, take the area image matrix [1, 2] in the macro-image as the search area, and so on until the search of the area image matrix [10, 10] in the macro-image is completed, and the search results are shown in
Figure 14c.
As can be seen from
Figure 14a, the maximum comprehensive similarity value is 0.6104, and the corresponding search matrix is row 5 and column 7, indicating that the comprehensive similarity between the regional image matrix [5, 7] in the macro-image and the mesoscopic image is the highest. As can be seen from
Figure 14b, the maximum comprehensive similarity value is 0.5824, and the corresponding search matrix is row 10 and column 10, indicating that the regional image matrix [10, 10] in the mesoscopic image has the highest comprehensive similarity with that in the microscopic image. As can be seen from
Figure 14c, the maximum comprehensive similarity value is 0.6099, and the corresponding search matrix is row 7 and column 9, indicating that the comprehensive similarity between the regional image matrix [7, 9] in the macro-image and the micro-image is the highest.
In the key area search of 100 × 100 grid image, the search of the corresponding area in the macro-image is determined according to the mesoscopic image. Firstly, the mesoscopic image is selected as the target region, and then the region image matrix [1, 1] in the macro-image is used as the search region, and the comprehensive similarity of the two region images is calculated. After completing the search of the area image matrix [1, 1] in the macro-image, take the area image matrix [1, 2] in the macro-image as the search area, and so on until the search of the area image matrix [100, 100] in the macro-image is completed, and the search results are shown in
Figure 15a. In the key area search of 100 × 100 grid image, the search of the corresponding area in the mesoscopic image is determined according to the micro-image. Firstly, the micro-image is selected as the target region, and then the region image matrix [1, 1] in the mesoscopic image is used as the search region, and the comprehensive similarity of the two region images is calculated. After completing the search of the area image matrix [1, 1] in the mesoscopic image, take the area image matrix [1, 2] in the mesoscopic image as the search area, and so on until the search of the area image matrix [100, 100] in the mesoscopic image is completed, and the search results are shown in
Figure 15b. In the key area search of 100 × 100 grid image, the search of the corresponding area in the macro-image is determined according to the micro-image. Firstly, the micro-image is selected as the target area, and then the regional image matrix [1, 1] in the macro-image is used as the search area, and the comprehensive similarity of the two regional images is calculated. After completing the search of the area image matrix [1, 1] in the macro-image, take the area image matrix [1, 2] in the macro-image as the search area, and so on until the search of the area image matrix [100, 100] in the macro-image is completed, and the search results are shown in
Figure 15c. The value in the legend on the right in
Figure 15 represents the similarity value. The larger the value, the higher the pixel.
As can be seen from
Figure 15a, the maximum value of comprehensive similarity is 0.8220, and the corresponding search matrix is row 81 and column 35, indicating that the comprehensive similarity between the regional image matrix [81, 35] in the macro-image and the mesoscopic image is the highest. As can be seen from
Figure 15b, the maximum comprehensive similarity value is 0.8216, and the corresponding search matrix is row 17 and column 77, indicating that the comprehensive similarity between the regional image matrix [17, 77] in the mesoscopic image and the micro-image is the highest. As can be seen from
Figure 15c, the maximum value of comprehensive similarity is 0.7644, and the corresponding search matrix is row 85 and column 49, indicating that the comprehensive similarity between the regional image matrix [85, 49] in the macro-image and the micro-image is the highest. In order to verify the accuracy of the method in this paper, the key area search results of 10 × 10 grid image, the key area search results of 100 × 100 grid image and the area where the real extracted image is located are compared. The comparison diagram between the search positioning area and the real sampling area is shown in
Figure 16.
Figure 16a searches for the sampling area corresponding to the macroscale through the mesoscopic image.
Figure 16b is a microscopic image for searching the sampling area corresponding to the mesoscopic-scale.
Figure 16c is a diagram for searching the sampling area corresponding to the macroscale through the micro-image. The dark red area in the Figure represents the real sampling area, the pink area represents the 10 × 10 grid search positioning area, and the green area represents the 100 × 100 grid search positioning area.
As can be seen from
Figure 16a, in searching the sampling area corresponding to the macroscale through the mesoscopic image, the 100 × 100 grid is used for search, and the calculated positioning area is closer to the real sampling area. As can be seen from
Figure 16b, in searching the sampling area corresponding to the mesoscopic-scale through the micro-image, a 100 × 100 grid is used for search, and the calculated positioning area is closer to the real sampling area. As can be seen from
Figure 16c, in searching the sampling area corresponding to the macroscale through the micro-image, the 100 × 100 grid is used for the search, and the calculated positioning area is closer to the real sampling area. This is mainly because the real sampling size area is small, and the 100 × 100 grid division is carried out more than the 10 × 10 grid division, and the divided search area is closer to the real area. In taking the macroscale image as the search target image, the reliability of taking the mesoscopic-scale image as the target area is higher than that of taking the micro-scale image as the target area, mainly because the mesoscopic-scale is closer to the macro-scale pore structure characteristics than the microscale. Through this comparison, the feasibility and correctness of this method are also verified.
In addition, because the grid search method in this paper combines pore distribution characteristics, pore change characteristics, pore fractal characteristics and pore shape characteristics, in order to verify the advantages of this method, this method is compared with the grid search method considering only single pore characteristics, and 100 × 100 grid search is realized through a similarity matching algorithm. The search location area corresponding to different methods is shown in
Figure 17.
Figure 17a is a search for the sampling area corresponding to the macroscale through the mesoscopic image.
Figure 17b is a microscopic image to search the sampling area corresponding to the mesoscopic-scale.
Figure 17c is a microscopic image to search the sampling area corresponding to the macroscale. The dark red area represents the real sampling area. The green area represents the 100 × 100 grid search and location area processed by this method. The white area represents the 100 × 100 grid search and location area considering only the pore distribution characteristics. The black area represents the 100 × 100 grid search and location area considering only the pore change characteristics. The yellow area represents the 100 × 100 grid search and location area considering only the pore fractal characteristics. The pink area represents the location area of 100 × 100 grid search considering only the shape characteristics of pores.
As can be seen from
Figure 17, the green area is closer to the dark red area than other color areas, which shows that the results obtained by the sampling method in this paper are closer to the real situation than the search method considering only the characteristics of a single factor. This is mainly because different pore structures show different characteristics in pore distribution characteristics, pore variation characteristics, pore fractal characteristics and pore shape characteristics. After combining a variety of pore characteristics, the similarity is higher and the corresponding search results will be more accurate. Therefore, through this comparison, the superiority of this method is also verified.
The multi-scale pore structure identification and characterization method of coral reef can obtain more comprehensive results in the process of the pore structure feature area search, because the correct multi-scale pore structure identification, parameter calculation and structure characterization methods are adopted. The experience of porosity determination by traditional manual methods is valuable, but the objective factors such as test environment and facilities and human subjective factors will inevitably introduce man-made random errors. Due to the local color difference of the collected images caused by uneven or light reflection, color segmentation of such images will produce a lot of holes, and the bonding between pores will also form a number of holes. Too many pores will seriously affect the segmentation quality of the image and cause inaccurate pore calculation. There will be errors between the porosity obtained by image analysis and the value measured by a manual method. The multi-scale coral reef pore structure recognition method described in this paper combines the image difference characteristics of coral reef pore structure at the “millimeter–micron–nanometer”-scale to establish a geometric feature extraction method for the development characteristics of coral reef pore structure. Combined with the energy difference characteristics of image pixels, the contour three-dimensional map of optical enhancement map can be established, and the pore or skeleton state of coral reef pore structure can be clearly observed from the map.
Through the calculation in this paper, the pore recognition structure of the image processing method is relatively stable, and the possibility of error at any time is small. The error is less than 0.5%. Based on the key area location search strategy combined with the development characteristics of the coral reef pore structure, it can effectively search the basic data sources of different scale images, and the results are coincident with the actual situation, which verifies the feasibility and correctness of this method. If the number of test samples and grid segmentation density can be increased, the accuracy of calculation and search will be higher. The main advantage of the method described in this paper is that it can realize the automatic identification and quantitative characterization of the coral reef pore structures at different scales, effectively solve the organic integration of the field engineering test and indoor precision test, provide a more accurate search strategy for a special area search of pore structures at different scales, and search and inversely calculate the data source of the image according to the target image, It can provide good technical support for special area classification and a characteristic area search of pore structure. The method described in this paper also has some limitations. Because the data sources of the method described in this paper are all from the intuitive images of pore structure, if the image acquisition quality is poor, it will affect the accuracy of the whole method. Therefore, in the follow-up research, we need to further improve and perfect the calculation method, and add other technical means and methods to make up for the shortcomings of this technology and weaken the influence of image quality on the characterization results.