Hostname: page-component-77f85d65b8-grvzd Total loading time: 0 Render date: 2026-03-26T23:30:22.650Z Has data issue: false hasContentIssue false

Energy-based binary segmentation of snow microtomographic images

Published online by Cambridge University Press:  10 July 2017

Pascal Hagenmuller
Affiliation:
Irstea, UR ETGR, Saint-Martin-d’ Hères, France Email: pascal.hagenmuller@gmail.com
Guillaume Chambon
Affiliation:
Irstea, UR ETGR, Saint-Martin-d’ Hères, France Email: pascal.hagenmuller@gmail.com
Bernard Lesaffre
Affiliation:
Météo-France–CNRS, CNRM-GAME, UMR3589, CEN, Saint-Martin-d’Hères, France
Frédéric Flin
Affiliation:
Météo-France–CNRS, CNRM-GAME, UMR3589, CEN, Saint-Martin-d’Hères, France
Mohamed Naaim
Affiliation:
Irstea, UR ETGR, Saint-Martin-d’ Hères, France Email: pascal.hagenmuller@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

X-ray microtomography has become an essential tool for investigating the mechanical and physical properties of snow, which are tied to its microstructure. To allow a quantitative characterization of the microstructure, the grayscale X-ray attenuation coefficient image has to be segmented into a binary ice/pore image. This step, called binary segmentation, is crucial and affects all subsequent analysis and modeling. Common segmentation methods are based on thresholding. In practice, these methods present some drawbacks and often require time-consuming manual post-processing. Here we present a binary segmentation algorithm based on the minimization of a segmentation energy. This energy is composed of a data fidelity term and a regularization term penalizing large interface area, which is of particular interest for snow where sintering naturally tends to reduce the surface energy. The accuracy of the method is demonstrated on a synthetic image. The method is then successfully applied on microtomographic images of snow and compared to the threshold-based segmentation. The main advantage of the presented approach is that it benefits from local spatial information. Moreover, the effective resolution of the segmented image is clearly defined and can be chosen a priori.

Information

Type
Research Article
Copyright
Copyright © International Glaciological Society 2013
Figure 0

Table 1 Description of the snow samples used in this study. Density was measured in the field by weighting snow samples with a volume of 50cm3. The indicative SSA values correspond to estimates obtained on the binary image resulting from the energy-based segmentation (for r = 1.0 voxel; see below)

Figure 1

Fig. 1. X-ray scale image (5002 pixels) extracted from sample B, and its corresponding grayscale histogram. The image is composed of three materials: the impregnation product (1-chloronaphthalene, light gray), ice (intermediate gray) and residual air bubbles (dark gray). The contour of ice resulting from segmentation is plotted in red. The zoom box (top right) was enlarged five times to show the fuzzy transition between the different materials.

Figure 2

Fig. 2. Analysis of the grayscale histogram of the image shown in Figure 1. The normalized grayscale distribution F is well reproduced by the intensity model described in Eqn (2).

Figure 3

Fig. 3. (a) Threshold-based segmentation without smoothing. The thresholds used are indicated by the black arrow on the histogram. (b) Threshold-based segmentation with smoothing of the grayscale image through a Gaussian filter (σs = 1.6 pixels). To visualize the size of the smoothing kernel, a disk of radius σs voxels is plotted in red. The histogram of the non-filtered image is plotted with dots. (c) Expected segmentation (best segmentation obtained with the energy-based technique). The grayscale distribution ofthe segmented ice pixels is plotted in red on the histogram. Despite the clear visual differences, the threshold-based segmentation without smoothing (a) differs from this expected segmentation (c) by only a small number of voxels (~5%).

Figure 4

Fig. 4. Proximity image. The gray value is here proportional to P0P1, so that a voxel close to the background is white and a voxel close to ice is dark. The voxels with an intermediate gray value are the undetermined voxels. The contours of air bubbles are visible. The same plot can be done with a preprocessed image where the bubble contours are replaced by chl, but then a peak appears in the histogram for the chosen ‘replacement’ intensity.

Figure 5

Fig. 5. Protuberances on a surface of a smooth object. For the equilateral triangular protuberance, α = 1/3. For the ‘sharper’ protuberance, α = 0:8.

Figure 6

Fig. 6. Koch flake with four iterations (5002 pixels). At each iteration, a smaller triangle is added in the middle of all perimeter segments.

Figure 7

Fig. 7. Measurement of area and perimeter of the discretized Koch flake as a function of the number of iterations in the fractal construction (see Fig. 6).

Figure 8

Fig. 8. Koch flake blurred with a smoothing filter (σs = 1.5 pixels) and degraded with noise extracted from an empty CT scan. The CT-scan noise presents circular spatial correlations due to the data acquisition procedure.

Figure 9

Fig. 9. Accuracy of the segmentation on the Koch flake image as a function of parameter r. The reference perimeter is the perimeter measured on the discretized flake with four iterations (Fig. 7).

Figure 10

Fig. 10. Segmentation for different snow samples (A, D and D7m from left to right) and parameter r (0.75, 2.0 and 4.0 voxels from top to bottom). The segmentation is computed on a 3-D volume. As a consequence, the segmentation presented on these 2-D sub-slices (5002 pixels) may be affected by neighboring slices.

Figure 11

Fig. 11. Segmentation for different snow samples (A on the left and D7m on the right) and parameter r (from top to bottom 0.75, 2.0 and 4.0 voxels). The segmentation is presented on subvolumes (5003 voxels) of the whole images (10003 voxels) and may be affected by neighboring slices. The surface was colored according to its curvature to emphasize the smallest structure details.

Figure 12

Fig. 12. Evolution of segmentation results as a function of the segmentation parameter r. (a, b) The evolution of density (a) and specific surface area (b) as a function of r. Density and SSA values obtained from the threshold-based segmentation are indicated on the right axis. (c) The proportion of voxels that differ between the energy-based and threshold-based segmentations.

Figure 13

Fig. 13. Differences between the threshold-based segmentation and the energy-based segmentation computed for r = 2.0 voxels on a slice of sample A (5002 pixels). The grain indicated with the arrow was disconnected from the overall snow structure by the threshold-based technique and deleted by the connectivity test. Almost no blue pixel, which is segmented as ice only with the threshold-based method, is visible in the figure. On the threshold-based segmented image of sample A, a one-voxel dilation increases the computed density from 278 kg m−3 to 294 kg m−3, a value close to that obtained with the energy-based segmentation (Fig. 12a).

Figure 14

Fig. 14. A cut in a graph. The non-terminal nodes corresponding to each pixel are represented by gray circles. After Boykov and Kolmogorov (2004).

Figure 15

Fig. 15. Graph-cut method to compute a length (2-D case).