Introduction

Accurate modeling of materials thermal processing plays an essential role in the field of integrated computational materials engineering (ICME). Computational methods allow optimization of the alloy processing towards full exploitation of the strengthening potential of precipitation of ordered phases. Computational microstructure design focuses on precipitate sizes and size-distributions and on precipitate shapes. In this work, we present an approach for consistent quantitative microstructure description that is consistently valid for heterogeneous types of microstructure data representation.

Figure 1 gives an overview over types of data representation that ICME methods must be able to handle. Figure 1a shows a scanning electron microscopy (SEM) image of the γ″ precipitate microstructure in a Ni-based alloy cropped to a size of 768 \(\times \) 768 pixels [1]. The matrix phase is etched so the plate-like precipitates are fully visible as elongated shapes in the image. Figure 1b shows a binarized image with a white matrix and black precipitates. Only one specific orientation variant of γ″ is shown. This work will not focus on the binarization of the experimental images but on the further processing of the binary data. For binarization, segmentation by a neural network has proven to be a very promising approach [2, 3]. Figure 1c and d show snapshots from two-dimensional (2D) and three-dimensional (3D) phase-field simulations of the microstructure. All numerical discretization schemes are based on simple cubic lattices, and thus, the numerical grid points are referred to as pixels. In Fig. 1b, c and d, the crystallographic tetragonal direction \({\vec{c}} \) of the depicted precipitates is parallel to the \(z\)-axis. In Fig. 1a, the sample is oriented such that the tetragonal direction of a precipitate is either in the image plane parallel to the \(x\) axis or \(z\)-axis, or normal to the image plane.

Fig. 1
figure 1

a SEM image of plate-like γ″ precipitates in alloy 718 M, b binarized image of a single orientation variant of γ″ and c 2D Phase-field simulation d 3D phase-field simulation. ac are taken from a previous contribution [1]

The 2D simulation data in Fig. 1c resembles the binarized SEM image of Fig. 1b in many ways. However, 2D models fail to consider the extent of the precipitates in the third dimension. This third dimension is crucial for microstructure description as it distinguishes between needle- and plate-like precipitates. Plate- or needle-like precipitates are observed when the matrix phase exhibits cubic symmetry, and the precipitate phase exhibits tetragonal symmetry [4, 5]. Tetragonal symmetry contains one Cartesian direction, the tetragonal direction \({\vec{c}} \), that is different from cubic symmetry. Needle shapes are more extended in this direction than in the other two, while plates are compressed in this direction. The tetragonal direction is normal to the precipitates habit-plane [4]. The formation of plate-like or needle-like precipitate shapes depends on the anisotropy of the lattice misfit [6]. Exemplary systems of industrial relevance that exhibit plate-like tetragonal precipitates in a cubic matrix phase are Al–Cu alloys with the θ′ precipitates [7, 8], ZrO2 ceramics [9] and Ni–Fe–Nb alloys with γ″ precipitates [10]. The elastic state in 2D simulations is assumed to be plane-strain (assuming infinitely extended precipitates) which imposes a limitation to 2D simulation of the precipitate microstructure. To fully describe the complex mechanisms of microstructure formation at this length-scale a 3D simulation setup is required. To obtain experimental 3D images of many precipitates with sizes of a few hundred nanometers is very challenging. The precipitates are too small and show too little contrast for computer tomography analysis. Nano-resolved methods like atom probe tomography are limited to sample volumes that can include a few whole precipitates at most. Therefore, the experimental tool-set to observe the precipitate microstructure consists mainly of scanning (SEM) or transmission electron microscopy (TEM).

Quantification of the precipitate shape provides important insight into relevant modeling parameters such as the interfacial energy [9, 11,12,13], lattice misfit [14, 15], diffusivity [16], precipitate strengthening potential [17] and the degree of morphological degeneration [18]. The shape of plate-like precipitates is commonly described by the ratio between the plate’s diameter and its thickness, the aspect ratio. Precipitate aspect ratios are evaluated from darkfield TEM images by manually measuring the minimum and maximum extents of individual precipitates [19,20,21,22]. 3D simulation data of plate-like particles can be evaluated by slicing through the precipitate, fitting a circle to the resulting shape and measuring the extent normal to the slice [23]. This method is effective yet requires a-priori knowledge about the precipitate orientation. Another approach to comparing 3D simulations to the 2D experimental images is to take individual 2D slices from the simulation domain [1]. In this case, information about the 3D shape of the precipitates is lost. Ideally, the slices are chosen such that all individual precipitates are cut exactly once to ensure the statistical accuracy of the data. Slicing without any depth information cannot yield reliable precipitate sizes as the cuts are rarely through the particle barycenter.

The sub-grain microstructure of Ni-based superalloys contributes significantly to the mechanical properties of the material. During heat treatment of alloy 718, plate-like γ″ (Ni3Nb) precipitates are formed with a major radius or plate radius \({R}_{\text{M}}\) smaller than 200 nm. Some authors report the radius of a sphere with equal volume \({R}_{\text{E}}\) to quantify the precipitate size independently of the precipitate shape [24]. The precipitate shape is usually assumed to be an oblate spheroid, i.e., a uniaxially compressed sphere [5]. Elastic interactions between neighboring precipitates at high volume fractions were found to cause deviations from this shape towards facetted shapes with increased aspect ratio [12] and increased in-plane edginess [1]. The precipitate size is controlled by aging heat treatments [25]. During service at high temperatures, the γ″ microstructure coarsens significantly, meaning that the mean precipitate size increases. This microstructure coarsening ultimately limits the lifetime of aerospace and stationary gas turbine components [26]. An example of modern microstructure design is the deliberate precipitation of γ″ on the edges of cubical γ′ precipitates to enable the production on large superalloy parts [27]. An in-depth understanding of the factors that influence the coarsening kinetics of the plate-like γ″ precipitates is key to the successful application of ICME methods to improve lifetime and to optimize the thermal processing conditions.

The second-order central moments have proven to be a useful basis for microstructural description [28, 29]. 2D phase-field simulation data on γ″ precipitate coarsening has successfully been analyzed by the method of moment invariants [30]. The shape of cuboidal γ′ precipitates and the in-plane shapes of γ″ shapes have been analyzed in 2D simulations and experimental images by the moment invariants [1, 11]. For the quantification of the formation of a raft-like microstructure from cuboidal precipitates the method of moment invariants was applied to 2D and 3D data [18]. The second-order central moments can also be used to quantitatively compare 2D and 3D data of the grain structure [31, 32]. Until now, there is no unified approach for aspect ratio quantification for plate-like precipitates that is equally valid in two and three dimensions.

In this work, we present a stable, efficient and easy to implement way to quantify the shapes of arbitrary plate-like particles. The approach works consistently in two and three dimensions and is applicable to experimental and simulation data alike. No a-priori knowledge about particle orientation in 3D is required. In Section “Shape Quantification by Central Moments”, we will describe the method of central moments and its application to particle shape quantification. In Section “Performance Analysis”, the performance of the approach is tested on arbitrarily generated 2D and 3D shapes. In Section “Application of the Method in an ICME Context”, the potential of the approach is demonstrated on etched and oriented experimental 2D microstructure images and a 3D simulation of γ″ precipitate coarsening in a Ni-based superalloy at 730 °C.

Shape Quantification by Central Moments

All considered particles are compact bodies with different lateral extents in all Cartesian directions. As a general plate-like particle we define a tri-axial ellipsoid given by

$${\left(\frac{x}{{r}_{3}}\right)}^{2}+{\left(\frac{y}{{r}_{2}}\right)}^{2}+{\left(\frac{z}{{r}_{1}}\right)}^{2}\le 1$$
(1)

with the half-axes \({r}_{1}, {r}_{2}, {r}_{3}\). The plate-like particle is now defined in the Cartesian coordinates \(x,y,z\) with the tetragonal direction \({\vec{c}} \) parallel to \(z\). Cuts through the particle barycenter parallel to the main planes and projections of the particle shape to the main planes render three ellipses with well-defined aspect ratios. Given \({r}_{1}<{r}_{2}\le {r}_{3}\) we define three aspect ratios A \(={r}_{2}/{r}_{1}\), \(B={r}_{2}/{r}_{3}\) and \(C={r}_{3}/{r}_{1}\) with \(A\ge C\ge B\ge 1\). Two of the aspect ratios are independent and \(C=A/B\). The largest aspect ratio of any 2D cut through the particle is \(A\) and \(B\) is the smallest. \(B\) can also be understood as the aspect ratio of a top view on a plate. In the case of tetragonal symmetry, we find \(B=1\).

Figure 2 shows the tri-axial ellipsoid with three different radii. Cuts normal to \({r}_{1}\) (green), \({r}_{2}\) (blue) and normal to \({r}_{3}\) (red) are indicated together with the aspect ratio of the resulting 2D shapes \(B\), \(C\) and \(A\), respectively. The projections of the particle shape to image planes parallel to the cuts render the same shapes as the cuts due to the convex shape of the particle.

Fig. 2
figure 2

Cuts through a tri-axial ellipsoid with half-axes \({r}_{1}, {r}_{2}, {r}_{3}\) and projections to planes parallel to the cuts. The aspect ratios of the cuts and projections are \(A={r}_{2}/{r}_{1}\), \(B={r}_{2}/{r}_{3}\) and \(C={r}_{3}/{r}_{1}\)

Aspect Ratio Quantification from Central Moments

The moments \({\mu }_{klm}\) are defined as the integral over the particle \(V\) [33]

$${\mu }_{klm}=\int_{V}{x}^{k}{y}^{l}{z}^{m} \mathrm{d}V,$$
(2)

with the Cartesian coordinates \(x,y,z\). The integer exponents \(k,l,m\ge 0\) determine the order of the moment as \(\left(k+l+m\right)\). The zero-order moment \({\mu }_{000}\) is equal to the volume of the particle and the first-order moments indicate the barycenter of each particle. We define the central moments \({\overline{\mu }}_{klm}\) as

$${\overline{\mu }}_{klm}=\int_{V}{\overline{x} }^{k}{\overline{y} }^{l}{\overline{z} }^{m} \mathrm{d}V,$$
(3)

where \(\overline{x },\overline{y },\overline{z }\) are the coordinates relative to the barycenter of the particle and thus \({\overline{\mu }}_{100}={\overline{\mu }}_{010}={\overline{\mu }}_{001}=0\). On a pixel grid, the integrals Eqs. (2) and (3) reduce to sums. It shall be noted here, that the approach is not limited to simple cubic finite-difference discretization but works with arbitrary spatial discretization.

We define the aspect ratios of arbitrary particles as the aspect ratios of a tri-axial ellipsoid that has equal principal central moments. We define the inertia matrix \(\Lambda \) from the second-order central moments as

$$\Lambda =\left[\begin{array}{ccc}{\overline{\mu }}_{020}+{\overline{\mu }}_{002}& -{\overline{\mu }}_{110}& -{\overline{\mu }}_{101}\\ -{\overline{\mu }}_{110}& {\overline{\mu }}_{200}+{\overline{\mu }}_{002}& -{\overline{\mu }}_{011}\\ -{\overline{\mu }}_{101}& -{\overline{\mu }}_{011}& {\overline{\mu }}_{200}+{\overline{\mu }}_{020}\end{array}\right],$$
(4)

with eigenvalues \({\lambda }_{1}\le {\lambda }_{2}\le {\lambda }_{3}\). The eigenvalues of the second-order central moments are invariant to rotation and translation. The aspect ratios of a best-fitting tri-axial ellipsoid can be calculated via [34]

$$A=\sqrt{\frac{{\lambda }_{2}+{\lambda }_{3}-{\lambda }_{1}}{{\lambda }_{1}+{\lambda }_{2}-{\lambda }_{3}}}, B=\sqrt{\frac{{\lambda }_{2}+{\lambda }_{3}-{\lambda }_{1}}{{\lambda }_{1}+{\lambda }_{3}-{\lambda }_{2}}}.$$
(5)

In 2D there are two non-zero eigenvalues as \({\lambda }_{1}=0\). The aspect ratio of an ellipse that represents the particle shape in moment space is then given as [35]

$$A=\sqrt{\frac{{\lambda }_{3}}{{\lambda }_{2}}}.$$
(6)

To further describe the precipitate shape, affine invariants can be calculated from the second-order central moments, that are invariant under scaling and stretching operations [11, 18, 28, 29].

The Plate Shape of γ″ Precipitates

A stringent comparison between 2D experimental images and 3D ripening simulation data requires a consistent measure for precipitate sizes. This is especially important when non-spherical precipitate shapes are considered, and preferential growth directions exist. To compare 2D and 3D representations of the γ/γ″ microstructures in terms of the precipitate shapes, we introduce a generalized plate aspect ratio \({A}_{\text{P}}=\sqrt{AC}=\sqrt{{A}^{2}/B}\) (see Fig. 2). In 2D we assume that \(A=C\) (and thus \({A}_{\text{P}}=A\)) as we have no information about how far the precipitate extents outside of the image plane. This assumption is reasonable for tetragonal precipitates with the tetragonal direction in the image plane. \({A}_{\text{P}}\) is the geometric mean of the maximum and minimum aspect ratio of a projection of a precipitate that rotates around the tetragonal direction to a plane that includes the tetragonal direction. This value is the expected mean when statistically many precipitates are cut. The aspect ratio \({A}_{\text{P}}\) is the three-dimensional generalization of the aspect ratio of an equivalent ellipse that was proposed for the analysis of 2D simulation data [30]. To measure the aspect ratio variation in a single precipitate, we introduce the orthogonality of the shape \(\omega =A-{A}_{\text{P}}\). This value is 0 for tetragonal symmetry of the shape (\(B=1\)) and greater than 0 for \(B>1\). The parameter \(\omega \) indicates how much the aspect ratio varies when the precipitate is rotated around the tetragonal direction.

Figure 3a and b visualize the plate aspect ratio \({A}_{\text{P}}\) of a 3D precipitate at the example of a tri-axial ellipsoid with \(A={r}_{3}/{r}_{1}=2.4\) and \(B={r}_{3}/{r}_{2}=1.4\). The plate aspect ratio is \({A}_{\text{P}}=2.0\) with \(\omega =0.4\). The precipitate shape is now approximated by an ellipsoid with tetragonal symmetry \(A={A}_{\text{P}}\) and \(B=1\) that has the same volume as the precipitate. The deviation of the aspect ratio \({A}_{\text{P}}\) from the aspect ratio \(A\) is \(\omega \).

Fig. 3
figure 3

a Tri-axial ellipsoid with cuts through its barycenter with minimum and maximum aspect ratios. b Both cuts together with the measures for precipitate size \({R}_{\text{M}}\) and \({R}_{\text{E}}\). c Relation between the oriented and etched sample and the SEM image. The precipitate shapes are projected to the image plane and are fully visible

Figure 3c shows how an etched sample of γ″ precipitates embedded in a matrix phase and the SEM image relate. Etching removes matrix from the surface of the sample to fully reveal the precipitate. When the sample is oriented such, that the tetragonal direction \({\vec{c}} \) lies inside the image plane, the visible projection of the precipitate shape corresponds to the cuts through the precipitate that are depicted in Fig. 3a and b.

We can now calculate the major radius of the precipitates \({R}_{\text{M}}\) consistently in 2D and 3D only from the moments \({\overline{\mu }}_{klm}\) calculated via Eq. (3) in 2D as

$$ R_{{\text{M}}} = \left( {\frac{{ \mu_{000} }}{\pi }A_{{\text{P}}} } \right)^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 2}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$2$}}}} , $$
(7)

and in 3D as

$$ R_{{\text{M}}} = \left( {\frac{{3 \mu_{000} }}{4\pi }A_{{\text{P}}} } \right)^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 3}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$3$}}}} . $$
(8)

Note that this formulation makes \({R}_{\text{M}}\) independent of the orthogonality \(\omega \). The length is dimensionless and must be scaled with the magnification of the underlying images or the length scaling of the simulation accordingly (nm per pixel).

Another measure of the size of a precipitate is the radius of a sphere with equal volume to the precipitates \({R}_{\text{E}}\) [24]. This measure is independent of preferential growth directions and can be calculated by

$$ R_{{\text{E}}} = R_{{\text{M}}} \cdot \left( {A_{{\text{P}}} } \right)^{{ - {\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 3}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$3$}}}} . $$
(9)

Figure 3b shows the precipitate size and aspect ratio measures all together. The minimum extent is the radius \({r}_{1}\) in tetragonal direction. The minimum and maximum radius of 2D projections of the shape that include \({r}_{1}\) are \({r}_{2}\) and \({r}_{3}\), respectively (see also Fig. 2a). The major radius of the plate-like precipitate is then the radius of an ellipsoid with \(B=1\) and \(A={A}_{P}\). We now have a consistent set of variables that describe the precipitates in terms of their size \({R}_{\text{M}}\) and \({R}_{\text{E}}\), aspect ratio \({A}_{\text{P}}\), and deviation from tetragonal symmetry \(\omega \). All parameters can be consistently derived from plate-like precipitates in 2D and 3D microstructures. Both definitions of the precipitate size, \({R}_{\text{M}}\) and \({R}_{\text{E}}\text{,}\) require quantification of the precipitate’s aspect ratio and the area or volume of the precipitate. To correctly extract both the size and the aspect ratio of the precipitates from an SEM image, the precipitates must be oriented with their tetragonal direction in the image plane. The matrix phase must be etched to fully reveal the precipitates.

Performance Analysis

Generation of Arbitrarily Plate-Like Particles

To quantify the precision of the presented approach to analyze the aspect ratios of particles, sets of 2D and 3D particles with defined shapes are generated. The binary image is generated from a projection of 3D shapes to a pixel grid. The shapes consist of a cylinder with height \(h\) and an elliptical base area with radii (half-axes) \(w/2\ge b/2\). The cylinder is topped on both face planes with half a tri-axial ellipsoid with the same base area as the cylinder and a third radius \(\left(d-h\right)/2\). The shape has a total thickness of \(d\). The shape is then classified by the aspect ratios \(w/d\), \(w/b\) and by a shape parameter \(S=h/d\). \(S\) is 0 for purely ellipsoidal shapes and 1 for purely cylindrical shapes. A similar parameter is used for shape classification of cuboidal precipitates [28]. The corresponding 2D shapes are generated from a rectangle \(w\times h\) and two half ellipses with radii \(w/2\ge \left(d-h\right)/2\). The binary image is generated by projecting the shapes to a pixel grid with a binary encoding. When half or more of the pixel lies inside the shape, it is assigned the value 1 (black) and 0 (white) if less than half of it is outside the shape, respectively.

Figure 4a and b show a side and top view of a shape defined by the parameters \(w/d=2.5\), \(w/b=1.5\) and \(S=0.4\). Figure 4c shows the 2D shape that is derived by projection to the pixel grid. The particle area is 355 pixels. Figure 4d shows the consistently derived 3D shape with a volume of 5500 pixels. The binary particles have an imposed aspect ratio \({A}_{\text{N}}\) that is defined as \({{A}_{\text{N}}=n}_{x}/{n}_{z}\) with \({n}_{x}\) the maximum extent of the particle in \(x\)-direction and \({n}_{z}\) in \(z\)-direction. The imposed aspect ratio \({{B}_{\text{N}}=n}_{x}/{n}_{y}\) is defined accordingly. In Fig. 4c and d the imposed aspect ratio is \({A}_{\text{N}}=31\, \text{pixels }/ 13 \,{\text{pixels}}=2.38\) and in Fig. 4d \({B}_{\text{N}}=1.48\). The deviations from \(w/d=2.5\) and \(w/b=1.5\) are due to the coarsely chosen resolution of the pixel grid.

Fig. 4
figure 4

Schematic for 2D and 3D particle image generation. a 2D view or side view in 3D with \(w/d=2.5\) and shape parameter\(S=h/d=0.4\), b top view with \(w/b=1.5\), c derived binary 2D image of particle with imposed aspect ratio \({A}_{\text{N}}=2.38\) and d derived 3D particle with \({B}_{\text{N}}=1.48\)

Accuracy of Aspect Ratio Quantification

The accuracy of the method of central moments for quantification of aspect ratios is tested on sets of 2D particles resolved by 5000 pixels and by 370 pixels, respectively. The lower resolution corresponds to the resolution of the precipitates in Fig. 1b and c. 3D particles are resolved by 5500 pixels. This resolution corresponds to the low 2D resolution as it provides a comparable extent of the particle in a single direction. The exact number of pixels per particle varies slightly between different shapes due to the binary data representation. The particles are generated according to the schematic in Fig. 4 with \(w/d\) varied between 1.2 and 7.4 and \(w/b\) varied between 1.0 and 1.5. Therefore, the overall shape of the particles is still considered a plate rather than a needle (\(B\ll A\)). The shape factor \(S\) is varied between 0 (purely ellipsoidal) and 1 (purely cylindrical). All generated shapes are normalized to the same area or volume.

Figure 5 shows the aspect ratio calculated from the moments plotted against the imposed aspect ratio of the binary representation of the particles. Figure 5a and b show the results for 2D particles resolved by 5000 and 370 pixels. The shape parameter \(S\) is color coded. The maximum relative deviation between the measured aspect ratios is 3% in both cases. The precision is in the same range as the deviations between the ideal particle shape and the imposed aspect ratio after binarization. The relative error \({F}_{\text{N}}\) that arises from uncertainty of the particle boundary position by a single pixel in 2D can be approximated by

$${F}_{\text{N}} =\frac{1}{{n}_{x}}\approx \frac{1}{\sqrt{NA}} ,$$
(10)

where \(N\) is the number of pixels that the particle is resolved with and \(A\) is the particle aspect ratio. A small change in the major radius of an elliptical particle will lead to the inclusion of another pixel and thus to an increased aspect ratio. In case of a particle with an aspect ratio of 2.5 resolved by 370 pixels we find \({F}_{\text{N}}\approx \) 3%. This explains the deviation between \(w/d\) and \({A}_{\text{n}}\) in Fig. 4. The accuracy of the aspect ratio quantification by this means increases with image resolution and aspect ratio. The method thus provides accurate aspect ratios with a precision in the same range as the overall inaccuracy of the image binarization.

Fig. 5
figure 5

Accuracy of the aspect ratio quantification by central moments. Aspect ratios calculated from the moments are plotted as a function of the imposed aspect ratio \({n}_{x}/{n}_{z}\). The shape parameter S is color coded. a 2D particles resolved by 5000 pixels. b 2D particles resolved by 370 pixels. c Aspect ratios \(A\) and \(B\) of 3D particles resolved by 5500 pixels

In Fig. 5c, results are given for 3D particles resolved by 5500 pixels. The measurement of the aspect ratio is accurate in a sense that the trend is very well depicted. With deviations higher than in the 2D case (maximum deviation of 19%) the precision of the measurement is lower than in two dimensions. With increasing shape factor \(S\) the obtained aspect ratio drops relative to the imposed ratio. In Fig. 5c, a magnification of the aspect ratio B plotted over \({n}_{x}/{n}_{y}\) is given. The precision of B is comparable to the precision of \(A\) with a maximum deviation of 16%. The precision for purely elliptical particles with shape parameter \(S=0\) is considerably better with a maximum deviation of 11% for \(A\) and 7% for \(B\).

Rotational Invariance of the Proposed Approach

The imposed aspect ratio that is evaluated by pixel-wise counting of the particle extents can only yield correct aspect ratios when the orientation of the particle relative to the pixel grid is a-priori know. In contrast to that, the quantification of the aspect ratio by central moments works independently of the particle orientation relative to the pixel grid. To test this, the generated shapes shown in Fig. 4a are rotated around their barycenter before being projected to the pixel grid.

Figure 6 shows the measured aspect ratio \(A\) of five elliptical 2D particles (shape parameter \(S=0\)) as a function of the angle by which they were rotated before binarization. The particles are resolved by 370 pixels and a maximum of 45° of rotation is considered due to symmetry. The maximum relative deviation is 6% between maximum and minimum aspect ratios and 4% between the maximum and the imposed aspect ratio at zero rotation relative to the pixel grid.

Fig. 6
figure 6

Measured aspect ratio \(A\) of elliptical 2D particles as measured by the moments as a function of the angle by which they are rotated before binarization. Particles are resolved by 370 pixels

Figure 7a shows an exemplary 3D particle (taken from a microstructure simulation) that strongly deviates from the ellipsoid introduced in Fig. 2. The particle is partially concave and exhibits no symmetries. For the considered particle the imposed aspect ratios are \({A}_{\text{N}}=5.2\) and \({B}_{\text{N}}=2.8\) and the aspect ratios calculated from the moments are \(A=8.0\) and \(B=2.5.\) Fig. 7b shows 2D projections of the particle shapes with overlaid ellipses. The ellipses indicate the aspect ratios calculated by the moments. The enveloping box indicates the imposed aspect ratios.

Fig. 7
figure 7

a 3D shape from microstructure simulation. b 2D projection of the particle shape with ellipses indicating the calculated aspect ratios \(A\) and \(B\) and box indicating the imposed aspect ratios \({A}_{\text{N}}\) and \({B}_{\text{N}}\)

From Fig. 7, it becomes evident that, even though the particle shape significantly differs from the tri-axial ellipsoid from which the presented approach is derived, the measured aspect ratios represent the observed shape. This is another advantage of the rotational invariance of the aspect ratios \(A\) and \(B\) and is beneficial for statistical microstructure analysis.

Application of the Method in an ICME Context

Coarsening of γ″ Precipitates in Ni-Based Superalloys

Plate-like γ″ precipitates show inhibited growth kinetics in tetragonal direction due to the anisotropic lattice misfit strain and thus form oblate ellipsoids [5]. The precipitates are classified by their size and their aspect ratio which can both be extracted from 2D images in which the precipitates are fully visible and correctly oriented. The shape of a precipitate is a function of the ratio between its interfacial energy and elastic bulk energy and thus a function of the precipitate size [36].

During long-term exposure to elevated temperatures the microstructure coarsens, i.e., the mean precipitate size increases. The underlying mechanism is Ostwald-ripening, where large precipitates grow on behalf of smaller ones via bulk diffusion [37, 38]. The change in the mean precipitate size \(\langle {R}_{\text{L}}\rangle \) over the time \(t\) during Ostwald-ripening is usually assumed to follow

$${\langle {R}_{\text{L}}(t)\rangle }^{3}-{\langle {R}_{\text{L}}(0)\rangle }^{3}={K}_{\text{L}}\cdot t$$
(11)

where \({R}_{\text{L}}(0)\) is the precipitate size at \(t=0\) and \({K}_{\text{L}}\) is the ripening constant with unit m3 s−1. The index \({\text{L}} \in \left[ {\text{M,E}} \right]\) in \({K}_{\text{L}}\) indicates that the ripening constant is depending on the definition of the precipitate size \({\text{L}}\). The brackets indicate the arithmetic mean. Definitions of the two measures for precipitate size, the precipitate major radius \({R}_{\text{M}}\) and the equivalent radius \({R}_{\text{E}}\) of a sphere with equal volume as the precipitate, are given in Fig. 3. The latter definition does not consider the preferential growth of the precipitates, and therefore, the ripening coefficient \({K}_{\text{E}}\) in Eq. (11) can be understood as a measure of diffusive volume transport over time. Compared to spherical precipitates, plate-like precipitates show accelerated ripening kinetics and needle-like precipitates show sluggish coarsening kinetics due to the curvature of the interface [39]. The ripening coefficient is assumed to depend linearly on the precipitate aspect ratio [40]. This effect shows again why a 3D simulation set up is required for quantitative description of the microstructure formation. In 2D set ups a distinction between plates and needles is not possible.

At realistic precipitate volume fractions, growth of precipitates leads to coalescence of neighboring precipitates [1]. This effect leads to an increase in the observed coarsening kinetics [19]. Figure 8 shows the two coarsening mechanisms that lead to an increase in the mean precipitate size. Figure 8a–c shows precipitate Ostwald-ripening. Smaller precipitates dissolve over the time and large precipitates grow on their behalf. Figure 8d–f visualizes precipitate coalescence where two neighboring precipitates merge during their growth. A concave transient precipitate shape is formed (Fig. 8e), which quickly tends towards the equilibrium precipitate shape again. Both mechanisms can be observed when the system is at equilibrium phase fraction [1].

Fig. 8
figure 8

Coarsening mechanisms of plate-like precipitates at equilibrium phase fraction. ac smaller precipitates dissolve due to Ostwald ripening and large precipitates grow. df Coalescence of two growing precipitates under formation of a transient concave precipitate shape (e)

Microstructural Analysis of γ″ Precipitates in Experiment and Simulation

Experiments were carried out with the alloy Ni–Cr18–Fe16–Nb5–Mo3 (in wt%.), a derivative of alloy 718, which only includes the cubic matrix phase and the tetragonal γ″ precipitate phase [41, 42]. The material was cast as a single-crystal in a proprietary Bridgman investment casting furnace (built by chair of Metals and Alloys, University of Bayreuth, Germany) with a spiral grain selector [1] and was subsequently homogenized for 24 h at 1150 °C followed by water quenching. This treatment effectively dissolves Nb segregations and avoids precipitation of other phases [41]. After the solution heat-treatment, the samples were aged at 730 °C for 6 h or 10 h to study the coarsening. After 6 h of aging the equilibrium volume content of γ″ is reached. The coarsening observed during the following 4 h of aging is due to ripening and coalescence [43] as depicted in Fig. 8.

Samples for scanning electron microscopy (SEM) were prepared and the matrix phase was electrolytically etched with phosphoric acid solution (3% H3PO4) at 5 V. Microstructure images were taken with a SEM 1540EsB (Zeiss, Germany) with a column-near secondary electron detector (Z-contrast). To ensure applicability of the method of central moments the samples are oriented with one crystallographic \(\left\langle {001} \right\rangle\)-direction of the single crystal parallel to the electron beam. Together with the removed matrix this yields 2D projections of the precipitates with their tetragonal direction \({\vec{c}} \) either in the image plane or normal to it. At this point we assume that the projection of the precipitate is equal to a cut through its barycenter parallel to the image plane as depicted in Fig. 3c.

The SEM images were binarized for each orientation variant of the precipitates separately (see Fig. 1a, b). From the two variants that are oriented with their tetragonal direction in the image plane, and thus appear elongated, the central moments were calculated. The edge length of a pixel is 2.5 nm for images taken after 6 h and 5.0 nm for images takes after 10 h of aging. The original data has been published by the authors in a previous contribution [1]. Precipitates that touch the boundary of the image and are thus not fully visible are excluded from the analysis.

The simulation of γ″ ripening was conducted using a sharp phase-field model that uses a field \(\varphi \left( {\vec{x}} \right) \in \left[ {0,1} \right]\) to distinguish between the cubic matrix phase and the ͏γ″ precipitates [44, 45]. Values of \(\varphi \) between 0 and 1 indicate a phase boundary. The model considers diffusion of Nb [43, 46], elastic strain due to the lattice misfit and interfacial energy [12]. The thermodynamic and mechanic input data needed for the simulation is taken in accordance with previous work by the authors [1, 12]. The interfacial energy density of 175 mJ m−2 was found to best reproduce experimental precipitate shapes [12]. The diffusivity of Nb is 2.5·10–17 m2 s−1 [47].

The simulation was carried out on a grid of 1603 pixels. The edge length of the pixels corresponds to a physical length of 1.9 nm. The domain boundaries are subject to periodic boundary conditions. An initial microstructure that represents the experimentally observed microstructure after 6 h of aging heat-treatment is generated by randomly distributing 400 precipitates with a volume of 1000 \(\pm 100\) pixels and an aspect ratio of 3. This corresponds to a volume fraction of 10% which is in good agreement to the experimentally observed volume fraction [48, 49]. The local concentration of Nb is initialized as the phase-wise equilibrium composition. The volume of the precipitates is randomly varied, and the precipitates are distributed such that there is no overlap between individual precipitates. 4 h of precipitate ripening were simulated. The 3D microstructure is binarized before calculation of the moments such that any pixel with \(\varphi \ge 0.5\) is considered precipitate phase and all the others are matrix. This ensures comparability between the data representation in 2D and 3D. Due to the periodic boundaries, all precipitates that touch the domain walls are included in the analysis.

Kinetics of γ″ Precipitate Coarsening During Aging

Figure 9a shows the mean precipitate size \(\langle {R}_{\text{M}}\rangle \) and \(\langle {R}_{\text{E}}\rangle \) raised to the third power and plotted over the aging time (starting after 6 h of initial aging heat-treatment). The experimental data points are connected by a dotted line that indicates the expected coarsening behavior after Eq. (11). The slopes of these lines are the coefficients of ripening \({K}_{\text{M}}=4\cdot {10}^{-27}\) nm3 s−1 and \({K}_{\text{E}}=9\cdot {10}^{-28}\) nm3 s−1. The simulated precipitate size evolution differs from the linear trend that is assumed. The simulated curves of \({\langle {R}_{\text{M}}\rangle }^{3}\) and \({\langle {R}_{\text{E}}\rangle }^{3}\) over \(t\) are bent upwards, which indicates ripening with an exponent smaller than the exponent of 3 in Eq. (11). This trend is significantly more pronounced for the major radius \({R}_{\text{M}}\) than for the equivalent radius \({R}_{\text{E}}\).

Fig. 9
figure 9

Comparison between data of precipitate coarsening at 730 °C from experimental 2D images and 3D simulation data. a Temporal development of the precipitate major radius RM and equivalent radius RE during aging at 730 °C. b Size-dependence of the mean plate aspect ratio with two exemplary 3D data sets. The asterisk (*) indicates increased precipitate coalescence

Figure 9b shows the size-dependence of the precipitate aspect ratio. The mean plate aspect ratio \(\langle {A}_{\text{P}}\rangle \) is plotted over the mean precipitate major radius \(\langle {R}_{\text{M}}\rangle \). Error bars of \(\pm \langle \omega \rangle \) are added that show how much the aspect ratio of the 3D precipitates varies. Two exemplary simulation domains after 0.3 h and 4.0 h of coarsening are also depicted. From the initial 400 simulated precipitates 75 were left after 4 h of simulated ripening. The simulation can accurately predict the size-dependence of the precipitate shape that is experimentally observed. The deviation from tetragonal symmetry, depicted by the error bars, drops after 0.5 h due to an initial phase of precipitate coalescence. Precipitates that were initialized close to each other merged shortly after simulation start and then diffusively changed their shape towards their equilibrium shape (see Fig. 8b). After around 2.5 h, another period of enhanced precipitate coalescence can be observed in both Fig. 9a as a steep increase in mean precipitate size and in Fig. 9b as an increase in \(\langle \omega \rangle \). This is indicated by the asterisk (*).

The size-dependence of the precipitate aspect ratios is the reason for the upwards bent curves in Fig. 9a. The precipitates show preferential growth in two directions, leading to an increasing aspect ratio and therefore to increased ripening coefficients [39, 40]. The continuously accelerated ripening leads to the observed deviation from classical ripening behavior. The preferential growth alone explains the deviation of the major radius \({\langle {R}_{\text{M}}\rangle }^{3}\) from the proposed linear behavior. The nonlinear course of the equivalent radius \({\langle {R}_{\text{E}}\rangle }^{3}\), that is defined independently of the precipitate shape, demonstrates the effect of the continuously accelerated ripening kinetics.

By application of the proposed method for aspect ratio quantification, it is possible to distinguish between two very intricate effects that influence γ″ coarsening kinetics. By measuring the deviation from tetragonal symmetry of the precipitate shapes, we can identify periods of increased precipitate coalescence rates. By using the precipitate shape to measure the equivalent radius \({R}_{\text{E}}\) we can observe how the shape evolution of growing precipitates leads to deviations from classical ripening kinetics.

Conclusion

We present an approach to quantify the shape and size of precipitate particles based on their central moments. The approach is consistently applicable to two-dimensional images and three-dimensional simulation data. Thus, it allows to consistently compare precipitate shapes and sizes from experimental two-dimensional images with those from three-dimensional microstructure simulation results. The method is particularly helpful to deal with the challenging case of plate-like particles, as it provides a generic definition of the aspect ratio of arbitrarily shaped particles. The aspect ratio is defined based on unique properties in the particles moment space that are tailored to converge to the correct aspect ratio values in case of an ellipsoid. The high accuracy of the method and its applicability in integrated computational materials engineering (ICME) is demonstrated in different scenarios. The following conclusions were met:

  • The three-dimensional shape of any plate-like particle is described by two aspect ratios derived from the second-order central moments. The plate radius is determined from the geometric mean of the two aspect ratios and the precipitate volume. The other measure of the precipitate is the radius of a sphere with equal volume.

  • Even at low resolutions, the determination of the aspect ratios of arbitrary particles is highly accurate: The aspect ratio of a 2D shape resolved by only 370 pixels is measured with a precision of 97%. The aspect ratios of a similar 3D shape are measured with equally high accuracy and with a precision of 81%.

  • The calculated aspect ratios are independent from the particle orientation relative to the pixel grid. At the lowest tested resolution of 370 pixels, rotation of the particle relative to the pixel grid leads to a maximum deviation of the aspect ratio of 4%.

  • The accurate quantification of a statistically relevant number of precipitate shapes and sizes provides insights into the intricate contributions to the coarsening kinetics of γ″ precipitates. The observed microstructure coarsening deviates from the classical model of Ostwald ripening. By measuring the radius of a sphere with equal volume as the precipitate, it is possible to show that this is an effect of the size-dependent aspect ratio of the γ″ precipitates. The deviations from the expected tetragonal symmetry of the precipitates reveal periods of increased precipitate coalescence.