Introduction

By adding materials in layers directly from digital models, additive manufacturing (AM) technology offers a number of advantages over conventional (subtractive) manufacturing techniques. One of the major advantages over traditional manufacturing processes is the AM’s capability of constructing freeform geometries. This led to the wide employment of AM technology in healthcare applications, particularly in creating scaffolds for medical implants [1]. AM enables accurate patient-specific implants to be created, using the patient’s X-ray computed tomography (XCT) or magnetic resonance image (MRI) scan data, allowing implants to be personalised to match each patient’s individual needs. In addition, cellular scaffold structures for orthopaedic implants can be easily made via AM, which on the contrary are almost impossible to be crafted using traditional manufacturing methods.

In comparison with solid metal materials, open-cellular scaffolds of the in-growth layers of joint implants, as nowadays adopted by many healthcare companies, are proved to be more effective structures to support cell attachment and proliferation, cell morphology and spreading as well as better bone-implant fixation [2]. See Fig. 1 for an acetabular implant sample produced by Arcam’s electron beam melting (EBM) technology. These metallic interconnected cellular structures have an optimal combination of surface roughness, pore size and porosity [3, 4]. Rough surface texture can promote cell attachment and proliferation [5]; good biocompatibility can be achieved by using bio-friendly metal materials, e.g. titanium and its alloys; suitable pore morphology and porosity can mimic the structure of native bone to promote cell in-growth and provide channels for nutrient and waste transportation [6]; cellular structure can reduce the weight of implants while keeping necessary mechanical properties and, in addition, alleviate the mechanical mismatch between metallic implant and natural bone, which might cause bone resorption and eventually the failure of metallic implant fixation [7].

Fig. 1
figure 1

An acetabular cup with cellular scaffold for improved osseointegration

Impacts of surface quality of metallic AM implants

Surface topography of implant not only affects the bone-implant contact, but also the biomechanical interaction of that interface at early implantation periods [8]. Rough surfaces have found widespread application in implantology. The as-built SLM and EBM surfaces have rough surface textures with Ra values ranging from several to tens of microns. The raw surface topography produced by AM tends to favour cell proliferation, because these surfaces often present small bumps, surface pores and 3D re-entrant features which can enhance bone-to-implant contact and also provide strong bonding capability similar to the mechanical interlocking mechanism [9]. The frictional and bone in-growth properties of EBM-produced surface structure were found to be comparable, and after 15 weeks better than that of the plasma-sprayed surface [3]. No large discrepancy was observed between the trabecular bone implants made by EBM and SLM processes, even though their gross morphology and surface texture are different due to different processing conditions [10].

There is a controversy on whether post-processing is required for surface treatment of AM implants, however. The advocators of surface treatment found that with surface modification, e.g. sand blasting and acid etching, implants behave much better in terms of bone formation and bridging [11]. Jolota et al. [12] observed that the titanium samples treated by supersaturated calcium phosphate (CaP) solutions have a double rate of cell proliferation in comparison with neat surfaces and even actin cytoskeleton and stress fibres became visible. However, on the opposite side, other researchers reported that not much improvements were achieved through surface post-processing. Biemond et al. found the presence of calcium phosphate coating to SLM and EBM specimens did not improve the bone-implant contact and did not produce better bone in-growth or mechanical fixation [10]. No significant difference in the bone in-growth with and without apatite coating was noticed by Li et al. [4], which suggested AM-produced implants can be directly used without modification. A possible explanation to this controversy was suggested by Sing et al. [13] that surface roughness in the specific range is favourable for osseointegration. It was found that the surface roughness of EBM implants with Ra below 24.9 µm has a positive effect on proliferation and differentiation of human osteoblasts, while roughness above 56.9 µm has a negative impact on the proliferation.

The surface quality of scaffold structure must be taken extra care to avoid too much high surface peaks and scarped flanks, since these steep geometries can inhibit cell–cell interactions and thus hinder cell proliferation; in comparison, surface topography with dense pits can favour cell proliferation in that cells prefer lying the concave hollows of the matrix as this behaviour is associated with a low-energy expenditure [14]. Thus, the distance between peaks and the quality of the peaks (sharp or round) are of concerns for the success of a biomaterials [15].

Surface measurement of metallic AM implants

As aforementioned, surface quality is of critical importance to osseointegration of implants. Only surfaces with preferred surface roughness combined with optimised micro-geometry (e.g. pits) can bring to better bone tissue in-growth. Surface roughness measurement has been highlighted in the literature, which is often performed using tactile and optical measurement sensors. For instance, Biemond et al. [10] employed a Universal Surface Tester with a tactile stylus to examine surface roughness of porous implant specimens produced by EBM; Ponader et al. [14] used a KORAD white-light interferometry to measure their titanium cellular implant samples; Li et al. [4] used the optical profiler (Wyko NT9300) to inspect the top and lateral surface of porous Ti6Al4V samples. All these works presented the quantitative results of surface quality using surface texture parameters, more precisely, the height parameters, either profile parameters, e.g. Ra/Rq or areal parameters, e.g. Sa/Sq.

A fatal challenge of surface measurement of scaffold implant, however, was identified by Biemond et al. [3], who claimed that it appeared to be impossible to define the surface roughness of the porous structures accurately because of their three-dimensional character. Due to the layer-by-layer nature of AM processes, the produced surface texture varies depending on the part orientation as well as other relevant process variables, e.g. layer thickness. The top, bottom and lateral parts of the strut surface can present different surface topography. This was evidenced by Li et al. [4]. The top surfaces of their porous titanium samples have a relatively smooth surface with Ra 5–10 µm, while the lateral surfaces appear much rougher with plenty of surface bumps and cavities (Ra 15–21 µm). The measurements were done on each separate portion, which is planar or nearly planar. A follow-on challenge is the selection of appropriate surface parameters for the characterisation of porous surface in terms of osseointegration. Currently, only the height parameters, e.g. Ra, Rq, Rp, Rk, or their areal counterparts, were adopted to quantify the surface quality. However, it was suggested that the micro-geometry on the surface, e.g. surface peaks and pits, is playing a major role for cell attachment and tissue growth [14]. Apart from the characterisation of surface texture, a fundamental obstacle is surface measurement technique itself. Current optical and tactile techniques are not able to measure internal surfaces of cellular structures, whose intricate forms do not permit line-of-sight [16]. It is noticed that in current literature only external surfaces of acetabular implants were measured. The examination of internal surface quality without physically breaking the part has not been found.

In this paper, a novel methodology to evaluate the surface quality of additively manufactured metallic cellular scaffold for acetabular implant using XCT is presented. Particularly, three challenges addressed above will be dealt by using 3D feature-based surface texture parameters coupled with the employment of X-ray computed tomography (XCT) for surface measurement. The paper is organised as follows: Sect. 2 describes the basic principle of XCT, the feasibility of using XCT to measure AM surface texture and the set-up of XCT scanning to measure an acetabular cup; Sect. 3 addresses the evaluation of 3D surface texture of cellular scaffold; a discussion of the physical XCT scanning as well as the parameterisation of cellular scaffold surface is followed in Sect. 4; the paper is concluded in Sect. 5.

XCT measurement of surface texture

Basic principle of XCT measurement

The XCT measurement relies on the object’s material absorption of high-energy radiation. An X-ray source emits radiation, passing through the object under measurement and captured by an X-ray detector [17]. As shown in Fig. 2, a sequence of projection is generated from rotating either the X-ray source or the measurement object, resulting in a sequence of 2D greyscale image slices [18]. Thereafter, the 3D volumetric data are reconstructed as a cube of 3D voxels, each voxel is associated with a grayscale intensity. The intensity \( I \) indicates the remaining radiation after material absorption and is obtained by Lambert–Beer’s law (Eq. 1),

$$ I = I_{0} \cdot e^{ - \mu d} $$
(1)

where \( I_{0} \) is the original X-ray intensity, \( d \) is the material thickness and \( \mu \) is the absorption coefficient which is associated with the atomic number and density of materials.

Fig. 2
figure 2

Basic principle of XCT in dimensional metrology [18]

To perform the dimensional measurements of geometrical quantities, those voxels representing the boundary of materials or the surface of the measured object are extracted out from the volumetric data. It is normally done by setting a global thresholding based on the information of the grey-value histogram. For example, the ISO 50 method takes the threshold as the average of the material peak grey value and the background peak grey value. This threshold value is then used to differentiate the material voxels from the background voxels. More advanced local adaptive methods are nowadays available to distinguish between the object materials and the air [16, 19,20,21]. The boundaries of the volume representing the surfaces are converted into a polygonal mesh using the marching cubes algorithm [22] or its variants.

Surface texture measurement by XCT

Originated as an inspection tool for medical applications, XCT has been increasingly used for industrial purposes, particularly as a non-destructive method for measuring porosity and metrology tool for examining the dimensions of products with complex geometries. In comparison with the widely used tactile and optical measurement techniques, XCT does not have the limitation on accessing complex external and internal geometries, thus it is quite suitable for the measurement of AM components, e.g. cellular scaffold structures.

In recent years, using XCT for surface texture measurement began to attract researchers’ attention, even though the use of XCT for this purpose is still restricted due to the limited resolution of XCT physical system as well as the data analysis capability of its software. Researchers from the KU Leuven University illustrated a comparison study on using tactile, optical and micro-focus XCT methods to measure AM components with different surface roughness [23]. In the case of higher roughness (micro-scale) surfaces, the roughness result (Ra) of micro-focus XCT was comparable to the tactile profilometer. Townsend et al. [24] compared focus variation technique with XCT and a good agreement was found. They also took surface determination and filament into consideration and found that Sa resulted from XCT before and after the filament change was 1.8% and 2.7% higher than that of focus variation. Thompson et al. [25] illustrated a comparison study of using three optical systems and one XCT system to measure the internal surface texture of a direct metal laser sintering (DMLS) artefact and found that Sa and Sq generated by XCT measurement are similar to those of confocal microscopy and coherence scanning interferometry.

XCT scanning set-up

A Nikon MCT225 device was used to scan a titanium acetabular cup testing sample (diameter: ~ 60 mm) made by EBM. The in-chamber set-up of XCT scanning is illustrated in Fig. 3. The acetabular sample was placed on a polymeric foam, sitting on a rotary stage. The stage was moved close to the X-ray gun in order to get the magnification as large as possible. X-ray radiation was fired by the gun and penetrated through the acetabular sample. The residual radiation was received by the detector to generate the projection images. The key parameters for XCT scanning are listed in Table 1.

Fig. 3
figure 3

In-chamber set-up of XCT scanning for the titanium acetabular cap

Table 1 Scanning parameters of Nikon XCT 225 M

The whole scanning took 104 min. A total of 3141 projection images were then reconstructed into a 3D volume using Nikon’s CTPro 3D software. The follow-on data analysis of the 3D volumetric data was dealt via the VGStudio Max 2.2 [26]. The advanced local iterative algorithm was used to find the material boundary based on the local surrounding voxel. A local threshold method can significantly compensate the deviation caused by the acquisition issues, such as beam hardening. Figure 4 illustrates the reconstructed surface model of the acetabular cup. The cup surface data were then exported as stereo-lithography (STL) mesh format, using the VGStudio Max 2.2 “Super Precise” setting, which provides the highest available resolution, i.e. the mesh simplification was not performed. The mesh was then processed using RameshCleaner [27] to remove non-manifold edges, and it was finally remeshed using the anisotropic algorithm proposed by Botsch et al. [28]. A magnification showing the differences before and after the remeshing is illustrated in Fig. 5. The mesh extracted from the volume presents elongated triangles, while the edges’ lengths of the triangles of the processed mesh are similar.

Fig. 4
figure 4

Reconstructed 3D surface of the titanium acetabular cup scanned by XCT

Fig. 5
figure 5

Extracted and remeshed surface patch from the scaffold structure of acetabular cup: a portion of mesh extracted from the volume; b portion of mesh after repairing and remeshing

Surface texture evaluation

Surface texture is usually evaluated by computing a set of indexes giving information about certain features of the surface or its variability in comparison with a reference. Due to the complexity of the 3D cellular scaffold structure on the acetabular cup, the parameters per ISO 25178-2 [29] cannot be computed. Instead, the manifold parameters defined by Pagani et al. [30] are used to evaluate the surface texture on the cellular scaffold.

The initial step of the 3D surface characterisation is the computation of a reference form surface such that surface texture can be defined. The nominal CAD model is an option for the reference surface, if available. In the case that the CAD module is unknown, or using the nominal model would not be possible to measure the feature of interest due to large dimensional deviation, using an appropriate mathematical operator can be an alternative option to compute the reference surface. A feasible method to compute the reference form surface is using the morphological opening operator in order to enhance the peak of an additively manufactured surface [31]. In this study, the extracted surface is converted into a signed distance. The morphological opening operation is then performed on the 3D volume data. A voxel size of 25 µm was set in the mesh-to-volume conversion, while an offset of 100 µm was used in the morphological opening operator. The volume was processed using OpenVDB [32], a fast and efficient C++ library designed to perform operations on sparse volume. The generated mesh was then manually cut into four surface patches, and each of the patches was individually analysed.

The second step of the characterisation process is the computation of the signed distance between the measured surface and the reference form surface. The distance has a positive value if the measured point is located along the direction of the outgoing normal of the reference surface, negative otherwise. The pseudo-normal method implemented in LibIGL [33] was used to compute the signed distance. A portion of the measured mesh and the computed reference form are shown in Fig. 6. The morphological opening operation resulted in a smooth reference surface with the globule generated by the AM process suppressed.

Fig. 6
figure 6

Extracted mesh and reference surface (the colour represents the distance between the measured and the closest point of the reference surface): a measured surface; b reference form surface; c magnified portion of the measured surface; d magnified portion of the reference surface

To compute the manifold parameters, each measured point projected to the reference surface has the correspondent signed distance. The height manifold parameters can be therefore computed as the integral of a scalar field on a surface. The mean absolute value of the height, root mean square height, skewness and kurtosis of the heights are reported below:

$$ \begin{aligned} &{\text{Sa}} = \frac{1}{{A_{\text{form}} }}\mathop {\iint }\limits_{{\varSigma_{\text{form}} }} \left| {r_{\text{sl}} \left( {u,v} \right)} \right| {\text{d}}\sigma_{\text{form}} \hfill \\& {\text{Sq}} = \sqrt {\frac{1}{{A_{\text{form}} }}\mathop {\iint }\limits_{{\varSigma_{\text{form}} }} r_{\text{sl}}^{2} \left( {u,v} \right){\text{d}}\sigma_{\text{form}} } \hfill \\& {\text{Ssk}} = \frac{1}{{A_{\text{form}} \cdot {\text{Sq}}^{3} }}\mathop {\iint }\limits_{{\varSigma_{\text{form}} }} r_{\text{sl}}^{3} \left( {u,v} \right) {\text{d}}\sigma_{\text{form}} \hfill \\& {\text{Sku}} = \frac{1}{{A_{\text{form}} \cdot {\text{Sq}}^{4} }}\mathop {\iint }\limits_{{\varSigma_{\text{form}} }} r_{\text{sl}}^{4} \left( {u,v} \right) {\text{d}}\sigma_{\text{form}} . \hfill \\ \end{aligned} $$

where

$$ {\text{d}}\sigma_{\text{form}} = r_{{{\text{form}},u}} \left( {u,v} \right) \times r_{{{\text{form}},v}} \left( {u,v} \right) {\text{d}}u\,{\text{d}}v $$

and \( \varvec{r}_{{{\text{form}}, i}} \left( {u,v} \right) \) is the partial derivative of \( \varvec{r}_{\text{form}} \left( {u,v} \right) \) in the \( i \) direction, \( {\text{d}}\sigma_{\text{form}} \) is the infinitesimal areal element and \( A_{\text{form}} = \mathop {\iint }\limits_{{\varSigma_{\text{form}} }} {\text{d}}\sigma_{\text{form}} \) is the area of the form surface. The estimated surface texture parameters of the selection are listed in Table 2 and plotted in Fig. 7.

Table 2 Estimated surface manifold parameters along with the mean and the standard deviation of the analysed surface patches
Fig. 7
figure 7

Estimated surface texture parameters of the selection. Each circle represents a sample surface patch, coloured according to its number. In the figures are shown the mean (red square) and its 95% confidence interval: a Sa; b Sq; c Ssk; d Sku

In addition to the height parameters listed in Table 2, another set of surface texture parameter that could be useful for the characterisation of the acetabular cup is the so-called feature parameters [34]. The surface topography is first segmented into a variety of local regions. Indexes for characterising the surface are then computed for each region. The watershed segmentation [35] is used to segment the mesh surface. Due to the local trivial surface topographical features as well as the measurement noises, the watershed segmentation tends to produce a number of tiny local segments, which is often called over-segmentation. This issue can be solved by building a change tree and applying the Wolf pruning to reduce the leaves with height differences less than a given threshold value [36]. An empirical value of 12 µm is used to reduce the number of segmented regions. Two types of segmentation are adopted, one based on surface peaks and the other one based on surface pits. Both surface peaks and pits are closely related to cell proliferation. The segmented regions of surface pits and peaks are shown in Fig. 8.

Fig. 8
figure 8

Watershed segmentation of cellular scaffold surfaces with threshold value 12 µm: a pit-based watershed segmentation; b peak-based watershed; c magnified portion of the pit-based watershed segmentation; d magnified portion of the peak-based watershed segmentation

Two straightforward parameters to characterise surface peaks and pits are the density of the peaks of the measured area

$$ {\text{Spd}} = \frac{{\# {\text{peaks}}}}{A} $$

and the density of the pits (valleys)

$$ {\text{Svd}} = \frac{{\# {\text{valleys}}}}{A} $$

where \( A \) is the area of the analysed surface. Since each segmented region only contains a single significant peak/pit, the number of the peaks and pits corresponds to the number of the regions for peaks and pits, respectively. The estimated peak density and pit density are listed in Table 3 and plotted in Fig. 9.

Table 3 Estimated feature parameters along with the mean and the standard deviation of the analysed surface patches
Fig. 9
figure 9

Estimated feature parameters and 95% mean confidence interval: a peak density; b pit density

Discussion

XCT is capable of capturing surface texture provided that it has the required resolution to resolve the fine details of surface texture. Considering the size of the acetabular cup used in this study, the X-ray source is placed close to the measured acetabular implant sample in order to obtain a maximised magnification and therefore a minimised voxel size. The experiment studies show that for a typical as-built AM surface the voxel size for full characterisation should be less than one-half the surface Sa value [37]. The average value of resulted Sa of the measured acetabular cup is 5.75 µm, which is far smaller than the voxel size 31.7 µm. Even with the sub-voxel surface determination of VGStudio software, where one-tenth voxel size accuracy might be expected [21], the currently used voxel size is still far from satisfaction. To solve this issue, the acetabular cup shall be scanned by a more capable XCT system. Alternatively, the top section of the cup can be scanned in order to reduce the size of sample for scanning.

The 3D nature of the cellular scaffold of the acetabular implant makes surface roughness difficult to be evaluated because current areal surface texture parameters per ISO 25178-2 [29] are defined on a 2.5D basis. In terms of its applicability, two restrictions apply: measurement points should be uniformly sampled and surface texture is supposed to be measured on a planar or nearly planar basis [38]. The fatal issue of evaluating XCT measured surface texture, however, is that XCT measurement data does not conform to these two constraints as required by ISO 25718-2. Firstly, XCT scan data (represented by triangular meshes) does not comply with the uniform sampling requirements of traditional areal surface texture parameters; secondly, and more restricting, XCT captured data consist of 3D shapes of scaffold structure, which is impossible to be projected onto a 2D plane to enable the implementation of traditional areal parameters. The development of 3D manifold parameters provides a solution to solve the deadlock. The newly developed parameters extended traditional areal surface texture parameters into the 3D case, where surface texture is evaluated on the surface form without having to be projected onto a 2D plane. The form used in this study was estimated via morphological operation on volumetric data. Ideally, the nominal designed data, e.g. CAD, are opted if available. In this case, the XCT scanned data can be registered to the CAD to facilitate a better extraction of surface texture. On the contrary, the form estimation using the morphological approach can generate a smooth reference surface and facilitate the watershed segmentation of globule-like features.

The 3D height parameters, i.e. Sa, Sq, Sku, Ssk, give a quantitative evaluation of the surface quality of cellular scaffold. They can indicate the roughness and sharpness of the surface texture from a statistical point of view. The proposal of using feature-based parameters, e.g. peak density and pits density, provides a complimentary assessment of surface quality from the bio-functional aspect. These parameters are implemented based on the 3D watershed segmentation of surface topography features. They are closely related to the cell communication and tissue growth. There is a spectrum of feature-based parameters, such as arithmetic mean peak curvature, five-point pit height, mean dale area, mean hill volume, which might be more capable of linking surface quality of cellular scaffold with the implant osseointegration. This will be considered in future work.

The surface quality of cellular scaffold is evaluated based on each extracted triangular mesh surface patch. It, however, does not imply the restriction of having to cut the scaffold surface into pieces. Instead, it offers the flexibility of selecting any region of interest (ROI), no matter whether it is the integral surface or a local patch of the integral surface. The selection of ROI depends on the specific requirement, but the proposed methodology shall work in every case.

Conclusion

It is well known that open-cellular scaffold structures are effective structures to support tissue growth and bone-implant fixation. Surface texture of the scaffold is playing a major role in stimulating cell communication and proliferation. The measurement and characterisation of the scaffold’s surface texture are proved to be very difficult due to its 3D nature. This paper proposes to use XCT to conduct a non-destructive measurement of the surface texture of an EBM-produced titanium acetabular cup with a cellular scaffold in-growth layer. The surface texture of 3D scaffold is evaluated using the newly developed 3D manifold parameters, which enables surface characterisation on triangular mesh surfaces. Four commonly used height parameters, i.e. Sa, Sq, Ssk, Sku, are resulted from four surface patches extracted from the XCT measured surface. In addition, the surface peak density and pit density are estimated based on the 3D watershed segmentation. The Wolf pruning with an empirical threshold value is used to control the over-segmentation. These two feature parameters are believed to be more relevant to cell growth. While the proposed methodology can provide a feasible solution for the evaluation of the surface quality of cellular scaffold, some improvements are suggested in order to achieve a more accurate assessment of scaffold surface texture, e.g. capturing data with better XCT resolution/smaller voxel size, and using nominal design data to extract surface texture. These will be considered in future work.