Introduction

Diffuse optical imaging (DOI) techniques have been active areas of research in recent decades due to their ability to quantify physiological contrasts in biological tissues centimeters below the skin using non-ionizing near-infrared (NIR) light1. These approaches have attracted significant interest due to potential clinical applications ranging from functional brain imaging2,3,4 to breast cancer diagnosis5,6,7. The success of many of the DOI techniques depends on accurate quantification of wavelength-dependent optical absorption and scattering properties, which permits the estimation of chromophore concentrations, such as oxyhemoglobin, deoxy-hemoglobin, water, and lipid content, to characterize the physiology of the interrogated tissue samples8,9. To assist in developing and characterizing DOI imaging systems, many diffuse optics research groups have investigated robust methods for fabricating optical phantoms, i.e., a durable material with predictable tissue-mimicking optical properties or complex anatomical shapes10,11,12,13,14. The utilization of optical phantoms is thus both crucial and necessary in ensuring the validity of measured results from DOI systems. However, most of these previously reported efforts were initiated by individual research laboratories for the purpose of internally characterizing and validating instrument performance as well as for calibrating real-world DOI measurements10,15.

Optical phantoms are typically made by mixing a base material with absorbing pigments, such as India ink or carbon black powder, and scattering pigments, such as intralipid or metal oxides13,15,16,17,18,19,20. Depending on the base material, optical phantoms are typically classified as liquid13,15,17,18,19,20 or solid21,22,23,24 phantoms. Liquid phantoms are usually easier and faster to fabricate but offer limited durability, often requiring refrigeration to extend their shelf-life beyond single experimental use25. Solid phantoms, on the other hand, are typically made of durable materials such as silicone rubber, epoxy resin or other resins that have a stable chemistry and therefore do not require special maintenance26,27,28. This allows them to be used repeatedly for extended period of time. As a result, solid phantoms have received widespread adoption among research labs. Although phantom fabrication procedures have been reported in previous publications29,30, many of these procedures require precise measurements of pigment quantities and lengthy curing processes, which are often prone to operator variability, making them challenging to reproduce outside of the originating lab. In recent years, a growing community interest towards standardizing DOI measurements across multiple institutes has led to the collaboration of various consortia31. However, most of these initiatives designated a centralized facility or company to fabricate and distribute phantoms across the consortium32. While this centralized approach ensures more consistent quality control of materials and fabrication procedures, it does not directly address challenges related to high manufacturing and distribution costs or the issue of phantom reproducibility between labs. As such, a simple, reproducible and, more importantly, widely accessible optical phantom fabrication approach is still critically needed for the DOI research community.

In addition, the majority of published DOI optical phantoms, including most commercially available standardized phantom sets, utilize homogeneous phantoms made of a single material with simplistic geometries29,33. While these phantoms are relatively easy to produce and suitable for basic spectroscopic measurement characterization, they lack the anatomical complexity necessary for systematically evaluating DOI systems that are designed for resolving heterogeneous structures, such as in most diffuse optical tomography (DOT)1,3 and spatial frequency-domain imaging (SFDI)34 devices. Specifically, the use of phantoms with simple geometries such as slabs or semi-spheres may result in calibration errors due to the mismatch between phantom shape and actual anatomical shapes. The fabrication and use of heterogeneous optical phantoms are only reported in limited studies14,35,36. Some of these reported complex heterogeneous phantom fabrication procedures require labor-intensive steps, including multiple casting and molding steps14,37. Developing reliable methodologies that are capable of fabricating both homogeneous and complex heterogeneous phantoms is expected to greatly facilitate the development of next-generation DOI systems.

Three-dimensional (3-D) printing has recently been utilized as a valuable tool for the manufacturing of sophisticated medical phantoms24,38,39. Early works on using 3-D printing techniques in developing optical phantoms have included the use of fused deposition modeling (FDM)40,41,42, stereolithography (SLA)36,39,43,44,45 and spin-coating46 for fabricating phantoms with complex structures. While these methods show promising results, they also face major limitations. For instance, Dong et al.41 reported a custom-built wax-resin based FDM 3-D printer that can programmatically mix scattering and absorbing agents using a custom extruder. While this approach is able to print heterogeneous phantoms, it relies on a specialized printer that is difficult to be replicated among other labs; the produced phantoms also exhibit limited inclusion resolution due to the specific wax material used. In 2015, Diep et al.40 also reported a method for fabricating heterogeneous phantoms by using custom-manufactured acrylonitrile butadiene styrene (ABS) filaments from chemical reagents with tuned optical properties and a widely available, off-the-shelf dual extruder FDM 3-D printer. However, the need to manually fabricate specialized filaments from chemical reagents, along with the limitation of accommodating only up to two unique optical properties in a single phantom, hampers its potential for widespread adoption. More recently, Ruiz et al.43 reported an SLA based approach by adding fluorophores, absorbing agents and scattering agents to the curing resin, allowing for the generation of luminescence optical phantoms with complex shapes. Nevertheless, this approach can only create prints made of a single homogeneous material.

Developing a more versatile and accessible method for fabricating heterogeneous optical phantoms could significantly advance standardization efforts in DOI instrumentation. This improvement would expand applications beyond spectroscopic uses to more advanced imaging modalities, including various DOT and SFDI systems, where the characterization of complex domains and quantitative imaging quality metrics, such as spatial resolution and contrast, is essential. Standardized quality assurance (QA) phantoms, such as those widely adopted in established imaging modalities, including x-ray and mammography47, still do not currently exist among many DOT or SFDI applications. While commercial services are available and capable of generating customized DOT phantoms with user-defined inclusions, the high cost, low accessibility and limited phantom complexity present major barriers for broad adoption among the DOI community. Thus, a reliable DOT phantom fabrication method that is widely accessible and reproducible across labs would enable the DOT research community to start the conversation in designing QA phantoms for characterizing and comparing diverse DOT imaging systems.

In this work, we report on a versatile optical phantom fabrication technique utilizing multi-filament 3-D printing to programmatically mix absorbing (gray), scattering (white) and translucent off-the-shelf polylactic acid (PLA) filaments "on-the-fly" to produce complex heterogeneous phantoms48,49. Our approach can directly utilize commercially available and low-cost multi-filament fusion extruders and commonly used FDM filaments, thus having the potential to be widely accessible and easy to replicate. Compared to previous 3-D printing based optical phantom fabrication methods, our technique does not require laborious methods prior to printing and is capable of generating arbitrarily complex 3-D solid phantoms with an unlimited number of unique optical properties within a contiguous phantom.

In the following sections, we begin by detailing the key parameters of our 3-D printing approach, including the printer specifications, the filaments used, and our optimized printing, purging, and post-processing protocols. In the following Results section, we report the results for a multi-filament titration study, by printing uniform optical phantom blocks at a wide range of mixing ratios and subsequently measuring the resulting phantom’s optical properties. Using the measured optical properties, we further validate our assumed linear-mixing-model between the resulting optical properties and filament mixing ratios. Additional homogeneous phantoms are printed at novel mixing ratios and are measured to compare with the predicted optical properties from the characterized linear-mixing model for the chosen filaments. Next, we showcase our ability to generate sophisticated heterogeneous phantoms comprising complex structures by creating a segmented mouse phantom derived from the Digimouse atlas50,51, a prototype DOI QA phantom with 5 unique mixing ratios, as well as a more sophisticated DOT phantom with 16 inclusions made of 8 unique mixing ratios. Finally, we outline the main strengths and limitations of the current approach in the Discussionsection.

Methods

Multi-filament extruder and 3-D printer

All printed models were created by mixing commercially available gray (model # PLA175RGY, 3-D Solutech, Seattle, USA), white (model # ST175CLPLA) and natural clear (model # PLA175RWHT) 1.75 mm PLA filaments using a ZoneStar M4V5 4-filament mixing extruder head on a ZoneStar Z9V5 Pro 3-D printer (ZoneStar, Shenzhen, China). The extruder utilizes a 0.6 mm diameter nozzle size replacing the stock 0.4 mm diameter nozzle to achieve improved reliability. In addition, all samples were printed with a layer-thickness of 0.2 mm to yield a smooth surface appearance and satisfactory spatial resolution without incurring lengthy printing times. A line width (spacing between two adjacent horizontal extruding paths) of 0.3 mm and an 90-degree alternating unidirectional infill pattern is used. A maximum printing speed of 22 mm/s was chosen to minimize chances of mechanical failures while ensuring minimal visual artifacts. The nozzle schematic, a photo of the M4V5 printer nozzle, as well as the extrusion motors and filament can be seen in Fig. 1. We currently use 3 out of the 4 filament inlets supported by the extruder. The unused filament channel can be used to accommodate other filament types, such as water-soluble filaments as supporting materials for printing complex shapes, or fluorescent or phosphorescent light-emitting filaments for creating luminescent optical phantoms as reported in our prior work52.

We want to note that although this reported work has been tested using the aforementioned extruder and filament models, our printing and characterization methods described below are expected to be readily generalizable towards other multi-filament printers and filaments. When a different printer and filament brands or materials are used, one could potentially repeat the titration study outlined in Sect. Validation of linear-mixing model with a titration study below and use the measured optical properties to create 3-D optical phantoms similar to our reported samples.

Fig. 1
figure 1

Filament-mixing extruder schematic diagram and photograph. In the schematic shown in (a), we show three programmable extrusion motors corresponding to the gray, white and translucent filaments, along with the filament guides, the heating and mixing chambers. In (b), we show a color photo of the ZoneStar M4V5 extruder fed with 3 input filaments. A photo of a printed heterogeneous phantom is also shown in (b).

Special considerations for enabling on-the-fly filament-mixing

A number of unique characteristics must be carefully considered when fabricating optical phantoms using 3-D printing-based approaches. First, unless empty air cavities are desired, optical phantoms are usually printed with solid and uniform infill patterns with minimal air gaps between extruding paths. To avoid trapping air pockets in a solid phantom print, one should choose a high “infill ratio” in the printer setting, as oppose to a sparse infill ratio used in typical 3-D printing tasks. The infill ratio can be adjusted using the slicer tool – a 3-D printing software typically used to convert a 3-D surface mesh model into step-by-step motor movement instructions, referred to as the G-code, along each thin layer of the z-axis of the printing volume. If supported by a slicer software, an infill ratio greater than 100% is recommended to inform the filament extruders to feed excessive filaments to the extruder to effectively fill the microscopic air gaps between adjacent extruded mixed filament paths. Slightly raising the extruder temperature above the filament’s recommended temperature range is also found to be helpful in minimizing potential air gaps within the printed object. In this work, we use an open-source slicer, Cura (v4.12.1), with an experimentally optimized infill ratio of 110% and an extruder temperature at \(205^{\circ }\)C to achieve quality printing results.

Extruder color-purging is a crucial step in 3-D printing of multi-material objects. The purging step removes the melted filaments of previously used mixing ratio when switching from one mixing ratio to another within the same z-slice. When N number of materials, characterized by N sets of unique mixing ratios, present along any z-slice of the print, the extruder must print each single-material region sequentially, and purge its contents before printing the next material at a different mixing ratio. In this work, purging is achieved by running a modified G-code postprocessing Python scripts (initial version provided by ZoneStar) or by manually creating secondary models outside of the primary printed model. When the purging instructions are being executed, the extruder is moved to an area outside of the primary model space and printed as an additional structure, referred to as the purging tower, using the residual materials inside the extruder while switching to the new mixing settings. The size of the purging tower can be adjusted to ensure the thoroughness of the color switching.

Multiple purging tower designs have been explored. In this work, a range of purging towers sizes of x/y dimensions between \({15 \times 15}\) \(\hbox {mm}^2\)  and  \({15 \times 35}\) \(\hbox {mm}^2\) were used for all prints by placing a series of purge towers corresponding to each material on the side of the primary print. The number of purging powers is set to the number of unique mixtures within a single contiguous model. Typically, a larger purging tower size is required for more accurate transitions between different filament mixing combinations but can increase the total print time, which could adversely increase the risk of printer mechanical failure. If a print contains only a uniform mixing ratio beyond a specific z-slice, no additional purging is required beyond the last heterogeneous z-slice. Furthermore, within the slicer, the purging towers must be carefully placed alongside the primary model such that the extruder purges each material prior to transitioning to continue printing the primary model for every layer of the print. While purging adds extra printing time and material consumption, it is an essential step in achieving both accurate control of optical properties while also generating clear boundaries between heterogeneous regions within the print.

Frequent transitions between the purging tower and model within each z-slice can negatively impact the quality of the print due to the “stringing” effect of extruder movements. One should minimize the needs and frequencies of purging by adjusting the orientation of the print while considering the relative positions of the inclusions.

A number of additional settings have also been optimized to improve phantom printing quality. For example, a “z-hop” height of 0.3 mm was used when switching between different mixing combinations to prevent the extruder from colliding with printed parts when the nozzle moves between the purge tower and the printed model. In addition, a Python post-processing script was applied to restrict nozzle movements along the x and y orthogonal directions only, thus minimizing diagonal movements, further minimizing printing artifacts. Finally, we apply light sanding of the print surfaces using a belt-disk sander, followed by simply washing and drying the model to remove the uneven surfaces caused by the extruder movements between the print and the purging tower.

Optical properties characterization

For conveniently measuring localized optical properties of our printed optical phantoms, we have built and tested a standard 3-phase spatial frequency domain imaging (SFDI) system34,53. This SFDI system consists of a digital-mirror-device (DMD) based projector (AAXA Tech, USA) illuminated by a red light-emitting-diode (LED) at 635 nm, and a complementary metal-oxide-semiconductor (CMOS) camera (FLIR, USA) as the detector. A pair of cross-polarizers are placed in front of the camera and projector to minimize the effect of specular refection. A schematic and a photo of our SFDI systemare shown in Supplemental Figure 1. Spatial frequencies of 0 and 0.1 \(\hbox {mm}^{-1}\) are used for all measurements. The sample optical properties, specifically, absorption coefficients \(\mu _a\) (\(\hbox {mm}^{-1}\)) and reduced scattering coefficient \(\mu '_s\) (\(\hbox {mm}^{-1}\)), at each camera pixel are estimated using look-up tables (LUT) generated based on White Monte-Carlo (WMC) techniques54,55 using our in-house Monte-Carlo simulator, Monte Carlo eXtreme (MCX)56, with a refractive index (n) of 1.4 and anisotropy (g) of 0.957. The SFDI data acquisition and processing were controlled using custom software written in MATLAB (MathWorks, Natick, USA). The projector illumination area is approximately 14\(\times\)\(\hbox {cm}^2\) in size with a camera per-pixel area of roughly 0.035 \(\hbox {mm}^2\). A homogeneous slab-shaped silicone phantom is used as the calibration phantom for all SFDI measurements. The calibration phantom has measured optical properties (\(\lambda = 635\) nm) of \(\mu _{a} = 0.0064\) \(\hbox {mm}^{-1}\) and a \(\mu '_{s} = 1.42\) \(\hbox {mm}^{-1}\) obtained by a commercial frequency-domain near-infrared spectrometer (ISS, Champaign, IL).

Linear-mixing model

The combined absorption coefficient in a mixture of chromophores is represented by the Beer’s law1, where the total absorption is a linear combination of each individual chromophore’s extinction coefficient multiplied by its concentration or volume fraction15. Here, we hypothesize that the optical properties of the mixed-filament prints are related to the fractions of each filament type extruded in a given filament mixture. The assumed linear-mixing relationship can thus be defined as

$$\begin{aligned} \mu =A\times R_g + B\times R_w + C, \end{aligned}$$
(1)

where \(\mu\) represents either \(\mu _{a}\) or \(\mu '_{s}\); \(R_g\) and \(R_w\) represent the percentage filament mixing ratios (with values between 0 and 100) of gray and white filaments, respectively; \(100 - (R_g + R_w)\) represents the volume percentage fraction (i.e. \(R_t\)) of the translucent filament; A, B, C are scalar linear coefficients. For simplicity, hereinafter, we use the notation (\(R_g\)/G, \(R_w\)/W, \(R_t\)/T) to represent the filament mixing configurations in all prints below.

Validation of linear-mixing model with a titration study

In order to systematically characterize the effect of filament mixing on optical properties while also validating our above hypothesized linear-mixing model, we have 3-D printed a set of 16 cubic prints, each with a size of 1.5\(\times\)1.5\(\times\)\(\hbox {cm}^3\) and configured at a unique mixing ratio of gray/white/translucent filaments. The mixing ratios of the 16 prints are reported in Table 1. To minimize 3-D printer systematic offsets due to switching between printing tasks and mixing ratios, we group every four cubic prints into a single 1.5\(\times\)2\(\times\)\(\hbox {cm}^3\) “ruler” and print each ruler vertically (i.e. along the z-axis). This configuration minimizes the effect of purging volume throughout the printing process, and allows for a more uniform color constant throughout the full length (1.5 cm) of each segment. Printing each of the rulers takes roughly 2.5 hours to complete on the ZoneStar printer.

To characterize the optical properties of the printed samples, we use our SFDI device to measure all 4\(\times\) rulers (denoted as 1-4 in Table 1) in a single acquisition. The SFDI topographic maps of the recovered \(\mu _a\) and \(\mu '_s\) images can be found in Figs. 2b and c. For each print, we select a region-of-interest (ROI) of roughly 0.7 \(\hbox {cm}^{2}\) from the SFDI \(\mu _a\) and \(\mu '_s\) images, from which the median \(\mu _{a}\) and \(\mu '_{s}\) values are obtained and used to perform a linear regression according to the hypothesized linear-mixing model shown in Eq. (1).

To further test the robustness of the fitted linear-mixing models, we printed five additional \(1.5 \times 2\times 1.5\) \(\hbox {cm}^3\) models, shown as V-1 to V-5 in Table 1. Each block was printed at a novel mixing ratio setting without overlapping with the previously measured 16\(\times\) titration samples. We then use the above estimated linear-mixing model to predict the anticipated \(\mu _{a}\) and \(\mu '_{s}\) based on the titration data points and compare those with the SFDI measured values. In order to assess the accuracy of the fitted linear-mixing model, a relative error \(\epsilon\) is computed.

$$\begin{aligned} \epsilon = \frac{|\mu _{measured}-\mu _{predicted}|}{\mu _{predicted}}\end{aligned}$$
(2)

where \(\mu _{measured}\) corresponds to the median \(\mu _{a}\) or \(\mu '_{s}\) value estimated from all SFDI measurement pixels in a given region of interest (ROI) while \(\mu _{predicted}\) corresponds to the predicted \(\mu _{a}\) or \(\mu '_{s}\) value based on the fitted linear-mixing model.

Table 1 Target filament mixing ratios used for 16\(\times\) titration prints (Rulers 1 to 4) and 5\(\times\) validation prints (V-1–V-5).

Filament mixing performance characterization

To further assess the capability of creating spatially tunable optical properties, we designed three simple benchmark models, as illustrated in Fig. 4. Specifically, the first benchmark model (Benchmark #1, see Fig. 4a) consists of three \(1.5 \times 1.5 \times 0.5\) \(\hbox {cm}^3\) solid segments, with the respective filament mixing ratios (100/G, 0/W, 0/T), (50/G, 50/W, 0/T) and (0/G, 100/W, 0/T) shown from left to right, respectively. This test is used to demonstrate the printer’s capability of changing mixing ratios along a single axis. The second benchmark (Benchmark #2, see Fig. 4b) consists of two adjacent \(3\times 3 \times 0.5\) \(\hbox {cm}^3\) square frames, each embedded with a concentric \(1.5\times 1.5 \times 0.5\) \(\hbox {cm}^3\) square-shaped inclusion. The square-frame and the inclusion have mixing ratios (100/G, 0/W, 0/T) and (0/G, 100/W, 0/T) and are arranged in the reversed order between the two adjacent square-frames. This benchmark is used to demonstrate the capability of creating embedded structures. The third benchmark (Benchmark #3, Fig. 4c) consists of a 3\(\times\)3 tiles of \(1.5\times 1.5 \times 0.5\) \(\hbox {cm}^3\) square solid segments each with a unique filament mixing combination. This benchmark is used to demonstrate the printer’s ability to create two-dimensional heterogeneous structures with distinct mixing ratios.

Fabricating complex-shaped heterogeneous phantoms

To demonstrate the ability to fabricate optical phantoms with complex 3-D biological tissue shapes and spatially varying optical contrasts, we design a sample print derived from the head and torso section of the Digimouse atlas50. A schematic of this phantom can be found in Fig. 5a. For simplicity, we create this phantom with three distinctive tissue types to mimic the mouse brain, lungs and the surrounding soft tissues. Although our printer is capable of printing the tissue regions to match their literature \(\mu _a\) and \(\mu '_s\) values, for the purpose of facilitating visual assessment of the prints, we artificially exaggerated the literature \(\mu _a\) contrasts by 5-fold and that of \(\mu '_s\) by 1.5 to 2-fold in both the brain and lung regions. The surrounding soft-tissue is printed using literature reported values at 750 nm for muscle-tissue optical properties with a targeted \(\mu _{a}=0.01\) \(\hbox {mm}^{-1}\) and \(\mu '_{s}=0.5\) \(\hbox {mm}^{-1}\)58, resulting in a mixing ratio of (0/G, 5/W, 95/T). For the brain region, we use a mixing ratio of (26/G, 40/W, 34/T) to target at a roughly  5-fold exaggerated \(\mu _{a}=0.25\) \(\hbox {mm}^{-1}\) and 1.5-fold exaggerated \(\mu '_{s}=2.65\) \(\hbox {mm}^{-1}\), estimated based on the literature gray-matter (GM) and white-matter (WM) optical properties59 with an 80:20 GM-to-WM mass ratio60. For the lung region, we use a mixing ratio setting of (40/G, 11/W, 49/T) to target at the respectively scaled \(\mu _{a}=0.33\) \(\hbox {mm}^{-1}\) and \(\mu '_{s}=2.17\) \(\hbox {mm}^{-1}\) based on literature optical properties at 850 nm61,62.

Prototype quality assurance phantom for transmission and reflection DOI systems

Inspired by the design of the standardized American College of Radiology (ACR) mammography quality assurance (QA) phantom47, we have designed a 9 \(\times\) 9 \(\times\)0.5 \(\hbox {cm}^3\) slab phantom containing 4\(\times\) bar- and 4\(\times\) disk-shaped inclusions with various sizes and contrasts. All inclusions have a thickness of 1 mm and are located at the bottom face of this phantom. The remaining space is printed with a uniform background material, with a target optical property \(\mu _{a0}=0.019\) \(\hbox {mm}^{-1}\) and \(\mu '_{s0}=0.83\) \(\hbox {mm}^{-1}\), designed to mimic the reported skull and scalp tissue optical properties at 830 nm61. A diagram showing the dimensions and the target optical properties of this prototype QA phantom is shown in Fig. 6a. The 3 disk inclusions (C1-C3) along the top row share the same optical properties (15\(\times \mu _{a0}\) and 3\(\times \mu '_{s0}\) ), with diameters 1.5 cm, 1.0 cm and 0.5 cm, respectively; a more absorbing 0.5 cm diameter disk-inclusion (C4) is positioned at the bottom-right corner (25\(\times \mu _{a0}\) and 3\(\times \mu '_{s0}\)). Two pairs of 0.5 \(\times\) 2 \(\hbox {cm}^2\) bar-shaped inclusions are printed along the bottom section, sharing a 2\(\times \mu '_{s0}\) scattering coefficients. One of the pairs is about half of the (6\(\times \mu _{a0}\)) absorption compared to the other pair (12\(\times \mu _{a0}\)). This phantom can be used for characterizing imaging spatial resolution and contrast recovery for diverse DOI systems in both reflection and transmission settings when measured from either side of the phantom.

Complex heterogeneous phantoms for tomographic imaging settings

To further push the boundary of this technology, we have designed an even more sophisticated 10\(\times\) 1.5 \(\times\) 5 \(\hbox {cm}^3\) heterogeneous DOT phantom that contains 8\(\times\) unique sets of target optical properties and 16\(\times\) inclusions. The printing volume of this phantom is also nearly doubled compared to the QA phantom described above, allowing us to “stress-test” the printer and understand its printing stability. The detailed schematic of the phantom as well as the optical properties of all embedded inclusions are shown in Fig. 7a. All inclusions, except the two largest cylindrical inclusions, extend throughout the full depth (15 mm) of the phantom; the end-face of the largest cylindrical inclusion is 2 mm below the phantom surface, while the second largest cylindrical inclusion is 1 mm below the phantom surface.

Results

A photo of the 16\(\times\) titration prints, as detailed in Sect. Validation of linear-mixing model with a titration study, is shown in Fig. 2a. The recovered \(\mu_{a}\) and \(\mu '_{s}\) maps, derived from SFDI measurements, are shown in Figs. 2b and c, respectively. To minimize the boundary effect of SFDI, for each sample, we crop a squared shaped ROI of 45-by-45 pixels (0.7 \(\hbox {cm}^2\)) from the central portion of each homogeneous segment, shown as dashed-line squares in both of these images. The median values of the estimated \(\mu _{a}\) and \(\mu '_{s}\) within these ROIs are plotted in Figs. 2d and f, respectively, with error bars denoting the standard deviations between pixel-wise optical properties within each ROI. The overall range of the estimated optical property values extends between 0.013 \(\hbox {mm}^{-1}\) and 0.15 mm for \(\mu _{a}\) and between 0.69 \(\hbox {mm}^{-1}\) and 1.72 for \(\mu '_{s}\), covering those typically found in biological tissues9.

In Figs. 2e and g, we plot the measured \(\mu _{a}\) and \(\mu '_{s}\) values, respectively, against the filament mixing ratios, \(R_g\) as the x-axis and \(R_w\) as the y-axis used in each print. A linear plane fitted using Eq. (1) is also obtained and shown in these plots. For \(\mu _{a}\), the fitted linear-mixing model is found to be \(\mu _{a}=0.0078\times R_g+0.00095\times R_w + 0.0056\) (\(\hbox {mm}^{-1}\)) with an \(R^{2} =0.97\). Similarly, the fitted linear-mixing model for \(\mu '_{s}\) is \(\mu '_{s}=0.036\times R_g+0.034\times R_w + 0.35\) (\(\hbox {mm}^{-1}\)), with an \(R^{2} = 0.92\). The fitted linear coefficients suggest that \(\mu _{a}\) is primarily tuned by modulating the fraction of gray filament (\(R_g\)); however, the white and gray filaments appear to contribute roughly equally to the model estimated \(\mu '_s\) value while the translucent filament sets a apparent lower-bound of \(\mu '_{s}\) value roughly at 0.35 \(\hbox {mm}^{-1}\). Additionally, residuals calculated using Eq. (2) as well as linear-mixing model predicted optical properties for each of the 16\(\times\) titration samples is reported in Supplemental Table 1.

Fig. 2
figure 2

Titration study characterizing relationships between output optical properties and filament-mixing ratios. A color image of the 4 titration rulers (1-4, color-coded) is shown in (a). Recovered \(\mu _{a}\) and \(\mu '_{s}\) images from SFDI measurements of the 4 rulers can be seen in (b) and (c), respectively. Each ruler contains 4\(\times\) segments printed with different mixing ratios, each uniquely labeled by a segment ID (A-D); the median and standard deviation for \(\mu _{a}\) and \(\mu '_{s}\) computed across each segment’s ROI, shown in dashed squares, are summarized in (d) and (f) respectively following the ruler-segment ID notation. The fitted planes for \(\mu _{a}\) and \(\mu '_{s}\) are shown in (e) and (g), respectively, with errors to the fitted planes marked by a short vertical line.

A photo of the 5\(\times\) validation prints (V-1 to V-5) is shown in Fig. 3a. The SFDI-measured \(\mu _{a}\) and \(\mu '_{s}\) topographic images are shown in Figs. 3b and c, respectively. Similar to the previous section, we also manually select square-shaped ROIs of roughly 0.7 \(\hbox {cm}^{2}\) for each print, shown in dashed line overlays in the SFDI images. The estimated medians for \(\mu _a\) (hatch-filled) and \(\mu _s\) (solid) from these ROIs are plotted as grouped bar plots, with standard deviations shown as error bars, in Fig. 3d. The predicted \(\mu _a\) and \(\mu '_s\) values based on the fitted titration data (see Fig. 2), are also shown as horizontal lines. The average percentage errors for \(\mu _a\) is approximately 12.89% and 11.82% for \(\mu '_s\) among these 5 validation prints compared to their corresponding linear-mixing model estimates.

Fig. 3
figure 3

Measured optical properties for the 5\(\times\) (V-1 to V-5) validation phantoms. A color photo of these printed phantoms is shown in (a). The SFDI-measured \(\mu _{a}\) and \(\mu '_{s}\) maps are shown in (b) and (c), respectively, with color-coded ROIs shown as dashed-box overlays. The measured median \(\mu _{a}\) and \(\mu '_{s}\) from are shown in (d) as solid and hatched bars, respectively, with error bars denoting the standard deviations. The dotted and dashed horizontal lines are predicted estimates using the fitted linear-mixing model from the titration study.

The schematics and photos of the 3\(\times\) simple filament-mixing test prints (Benchmarks 1-3) described in Sect. Filament mixing performance characterization are shown in Fig. 4. The printing time for Benchmarks 1, 2 and 3 are approximately 1.5 hours, 2.25 hours and 4.5 hours, respectively; the total filament consumption is approximately 12 grams (material cost $0.29), 18 grams (material cost $0.43), and 36 grams (material cost $0.86), respectively.

Fig. 4
figure 4

Dimensions and photos of the fabricated filament-mixing test phantoms. The schematics of the three printed benchmarks are shown in (a)–(c) with each unique material labeled from 1 to 9. The corresponding filament mixing ratios are shown in the legend. The corresponding photo of each benchmark is shown in (d)–(f).

In Fig. 5, we show the phantom schematic in 5a and photos in 5c of the printed Digimouse phantom along with the three purging towers corresponding to brain, lung, and background tissue segments. The full Digimouse phantom took 5.5 hours to print and consumed a total of 41 grams of filament with a material cost of approximately $0.98. In Fig. 5d, we show three photos of different variants of the Digimouse phantom to expose the complex inclusion boundaries. To further illustrate the fabrication process of this complex phantom, we also report a slicer 3-D rendering of the phantom and the purge towers in Fig. 5b at a sample layer slice of #31 when printing the lung region, and another sample layer slice of #133 when printing the brain region. An animation generated by the slicer showing the travel paths of the extruder can be found in Visualization 1. Finally, in Fig. 5e, we show a transilluminated image of the completed Digimouse phantom to qualitatively demonstrate the high absorption anticipated at the brain and lung regions.

Fig. 5
figure 5

Fabrication of a complex shaped 3-D optical phantom derived from the Digimouse atlas. In (a), the schematic of the digital model, together with the optical properties for each labeled region, is reported. In (b), two sample 3-D slicer renderings of the printing process, one aligned with the lung region, and the other aligned with the brain region, are shown to demonstrate the purge tower configurations. An animation showing the extruder travel paths can be found in Visualization 1. In (c), we show the three purging towers as well the completed phantom matching the orientation of the 3-D slicer profile. In (d), two partially phantoms are placed alongside with the completed phantom, showing the complex inclusion shapes. Lastly, in (e), the trans-illumination image of the phantom is shown.

A schematic and a color photo of the inclusion-exposed side of the 3-D printed DOI QA phantom prototype (Sect. Prototype quality assurance phantom for transmission and reflection DOI systems) are shown in Figs. 6a and b, respectively. This print takes about 7 hours using the ZoneStar printer, consuming about 59 grams ($1.42) of filament materials. All printed inclusions are visually discernible at the designed location. A trans-illumination image of this phantom is shown in Fig. 6c, further attesting that the printed inclusion contrasts visually correlate with the designed contrasts as shown in Sect. Prototype quality assurance phantom for transmission and reflection DOI systems. We want to point out that the trans-illumination image also demonstrates some noticeable printing artifacts, such as black lines between inclusions as a result of filament stringing and the slightly darkened vertical and horizontal shades extended from the inclusion due to smearing of the extruder.

Fig. 6
figure 6

Diffuse optical imaging (DOI) quality assurance (QA) phantom schematic and results. In (a), we show a design schematic of our DOI QA phantom as well as the key inclusion regions. The targeted optical properties for each inclusion along with their dimensions are also included. In (b), we show a picture of the inclusion-exposing side of the printed phantom. In (c), we show a trans-illumination image of the printed phantom.

A photo of the 3-D printed DOT phantom is shown in Fig. 7b. The total printing time for this phantom is around 30 hours, using a total of 221 grams ($5.30) of gray, white and translucent filament materials. Similar to the QA phantom above, all inclusions show visually discernible boundaries along the side where they are exposed (Fig. 7b). In Fig. 7c, the photo taken at the opposite side of the phantom show similar inclusion boundaries, except the two largest cylindrical inclusions, C1 and C2. This is expected because those 2 inclusions are not directly exposed on the reversed side. In this print, we also observe similar streaking and smearing artifacts as showed in the printed QA phantom above; the infills of the two small cylindrical inclusion (C3/C4) also appear to be uneven compared to other inclusions. This is likely due to the lower purging volume.

Fig. 7
figure 7

Fabricating complex diffuse optical tomography (DOT) phantom. In (a), we show a schematic of the phantom design as well as the eight different mixing combinations corresponding to each pair of optical properties present over the entire model. The two largest cylindrical inclusions (C1 and C2), extend 13 mm and 14 mm respectively, while all other inclusions extend the full 15 mm across the thickness of the phantom. In (b), we show one side of the printed phantom where all inclusions directly visible. In (c), we show the reversed side of the printed phantom. A black dashed rectangle is placed around the cylindrical inclusions (C1–C4) with the C1–C2 inclusions appearing faded as they are embedded underneath the surface.

Discussion

From the resultsshown in Figs. 2e and g, the SFDI-measured \(\mu _a\) and \(\mu '_s\) values across the 16\(\times\) titration phantoms follow the expected bi-linear relationships with gray (\(R_g\)) and white filament (\(R_w\)) mixing ratios. This strong linear relationship is also further validated by the reported \(R^2\) values obtained from the linear fitting of both optical properties. In addition, comparing the relative errors shown in Supplementary Table 1, we observe that low-absorption titration samples, particularly samples 4A-4C with no gray-filament composition, report elevated relative errors compared to other samples. This is because the SFDI measurement noise is amplified at these sample points when dividing by a smaller absorption value in Eq. (2). In comparison, samples printed with high absorption/scattering values report lower relative errors.

The fitted linear coefficients suggest that the absorption coefficient \(\mu _a\) is largely modulated by the mixing ratio of the gray-colored filament (\(R_g\)), as expected. In comparison, the reduced scattering coefficient, \(\mu '_s\) is modulated by both the gray and white filaments, with a roughly equal weight. The translucent filament also appears to set a lower bound of 0.0056 \(\hbox {mm}^{-1}\) for \(\mu _a\) and 0.35 \(\hbox {mm}^{-1}\) for \(\mu '_s\). The theoretical range of optical properties based on our linear-mixing model and selected gray/white/translucent filaments ranges from 0.0056 \(\hbox {mm}^{-1}\) (\(R_g=R_w=0\)) to 0.7856 \(\hbox {mm}^{-1}\) (\(R_g=100, R_w=0\)) for \(\mu _a\) and from 0.35 \(\hbox {mm}^{-1}\) (\(R_g=R_w=0\)) to 3.95 \(\hbox {mm}^{-1}\) (\(R_g=100\)) for \(\mu '_s\). These values cover a broad range of absorption and scattering coefficients present in diverse biological tissues with only a few exceptions. One such exceptions is the low scattering tissue such as cerebrospinal fluid (CSF) in the brain, synovial fluid in the joints, or vitreous humor in the eye63,64. When printing phantoms that mimic the optical properties of CSF or synovial fluid, using a more transparent PLA or slightly reducing the infill ratio can help minimize absorption. In addition, as the extruder currently supports temperatures as high as 235 \(^{\circ }\)C, low scattering 3-D printing materials such as T-glase would be of considerable interest in the future for printing low absorption and low scattering phantoms65,66. This will likely lower both the absorption and scattering coefficient lower bounds. Our printing technique allows for the generation of complex shaped voids to simulate air cavities similar to those seen in the lungs and nasal cavities. However, when printing voids with complex shapes, the remaining unused filament channel can be used to print water-soluble supporting materials that allows for proper printing of the desired structure while still allowing for artifact-free smooth surfaces by dissolving the support structures.

From the results shown in Fig. 3d, the average error of the 5\(\times\) validation prints relative to the fitted linear-mixing models is less than 15% for both \(\mu _{a}\) and \(\mu '_{s}\). This suggests that our hypothesized linear-mixing models for \(\mu _{a}\) and \(\mu '_{s}\) appear to hold across a wide range of \(R_g\) and \(R_w\) settings. This result also demonstrates a generalizable approach to extend our filament-mixing optical property characterization from the specific filament types used in this study to other off-the-shelf filaments available to the users. When a new set of filaments are used, one can repeat our above experiments and obtain the corresponding linear-mixing models, based on which new phantoms can be designed.

The filament-mixing characterization prints shown in Figs. 4d–f, as well as the QA phantom shown in Fig. 6 demonstrate the ability of creating spatially tunable absorption and scattering heterogeneities using our proposed 3-D printing based phantom fabrication method. All of these prints yield clearly disenable color transitions in single-axial or 2-D heterogeneous domain layouts. The color images show clear visual differences due to the modulated absorption/scattering across different printed segments. Within each square shaped tile in Benchmark #3, the surface color appears to be relatively uniform, suggesting the stability of the extruder for producing uniform optical properties at each programmed \(R_g/R_w/R_t\) setting. Furthermore, the prints generated from Benchmarks #2 and #3 also demonstrate the ability of the printer to create potentially arbitrarily complex topological structures. We want to particularly highlight that printing small heterogeneous samples with programmable patterns and optical properties can be relatively fast to print. For example, the 9-material characterization palette print shown in Fig. 4f took 4.5 hours to complete using our ZoneStar printer while the QA phantom in Fig. 6 took roughly 7 hours to complete. These simple benchmark prints can be quite useful for testing and characterizing reflection-based DOI imaging systems, including SFDI instrumentation. The DOI QA phantom shown in Fig. 6 represents, to the best of our knowledge, the first attempt of designing a widely accessible and reproducible optical imaging phantom that can be independently fabricated across labs. With further development, this phantom can potentially be used to quantify the accuracy and spatial resolution in both lateral and depth directions among many SFDI applications.

For the purpose of easy visual assessment, in the QA phantom design shown in Fig. 6, we set the inclusion optical properties to a high absorption value, mimicking highly absorbing tissues such as blood vessels. We want to highlight that such phantoms can also be used to simulate tissues of reduced absorption and scattering contrasts if one can leverage the linear scalability of \(\mu _a\) and \(\mu '_{s}\). This is because both \(\mu _a\) and \(\mu '_{s}\) are length-dependent. In the diffusion regime, shrinking the source/detector separation by a factor of 2 is equivalent to reducing both \(\mu _a\) and \(\mu '_{s}\) by a factor of 2. Similarly, doubling the source/detector separation over a domain with doubled \(\mu _a\) and \(\mu '_{s}\) is expected to produce equivalent measurements to the unscaled domain. This optical property scaling approach offers additional flexibility. It can be particularly useful for compensating for the limited color-range of the selected filaments, or the limited color-mixing precision of the extruder. In such cases, linearly-scaled optical properties can be used as long as one also scales the corresponding source/detector separation.

The Digimouse phantom shown in Fig. 5 further showcases the versatility of our 3-D printing based technique for creating heterogeneous phantoms with complex 3-D boundaries. Although both inclusions, the brain and the lung, are not directly exposed from the completed print, we can clearly see from the photos of the partially printed phantom and inclusion-extruded prints in Fig. 5d that the printed inclusions capture the complex 3-D shapes of both regions, printed with the more absorbing materials as expected. In this particular print, we align the Digimouse’s torso in the z-axis of the printer. The primary consideration for choosing this printing direction is to limit the maximum number of unique mixing ratios in all z-slices. This helps minimize color transition along each slice and the associated stringing and smearing artifacts. For z-slices along the span of the brain region, only two color transitions are needed. All slices below the top-most position of the lung region are printed with 3 purge towers, even though the brain material is not used in the lung region. The use of similarly designed animal model-derived heterogeneous phantoms could significantly accelerate preclinical testing and the optimization of hardware parameters prior to animal studies.

The DOT phantom shown in Fig. 7 is quite challenging to print and provides a valuable “stress-test” to the printer and the proposed technology. While the ZoneStar printer we use has a maximum printing volume of 30 \(\times\) 30 \(\times\) 40 \(\hbox {cm}^3\), it is mostly designed to create prints with sparse infills. In comparison, this 10 \(\times\) 1.5 \(\times\)\(\hbox {cm}^3\) DOT phantom has 110% infill and takes over 30 hours to complete. Several attempts had been made for completing this print. Some of the failed attempts were caused by tangled filaments that failed to feed the extruder; other failed prints were caused by inconsistent extruder feeding and skipping. Overall, we found that low-cost multi-filament printers, such as the one we use in this work, require that the operator monitors the system from time to time to mitigate issues throughout the printing process. Regardless, the completed phantom does exhibit sophisticated spatial heterogeneous structures and tunable optical proprieties that are substantially more advanced compared to other previously reported phantom fabrication methods. The inclusion arrangements in this phantom also make it well suited for characterizing reflection-based DOT or widefield spectroscopy systems, including SFDI imaging or tomography systems. In addition, this phantom can also be used to characterize transmission-based widefield DOT systems67 or single-pixel camera (SPC) systems68,69. Currently, no widely adopted heterogeneous phantom is available to evaluate DOT systems in terms of signal quality and recovered image resolution across a wide range of optical properties. Many of the considerations incorporated in the design of our DOT phantom shown in Fig. 7 can be further adapted and refined, fostering further standardization efforts in developing phantoms for system assessment and quality assurance across diverse DOT systems70.

Despite the significant expansion of the complexity and versatility of optical phantom fabrication enabled by our proposed method, the prints shown in Secti. Results also suggest a number of limitations that deserve to be further investigated. First, from the trans-illumination image shown in Fig. 6c and color images shown in Figs. 7b and c, we can see that some portion of the background region contains small traces of higher absorption mixed filaments from the inclusion. We believe that these small defects are results of “stringing” effect from the extruder. The stringing effect in 3-D printing typically refers to the thin threads of filaments that are stretched by the undesired residual filament materials at the nozzle tip along the movement paths. The stringing effect is related to many factors, such as extruder temperature settings, travel speed, extrusion motor retraction settings, and filament quality. It is a common issue appearing in many FDM 3-D printers. There are well documented heuristics for minimizing the stringing effect71, but many of these heuristics are printer and filament-specific, often requiring manual tuning71. It is possible that newer models of color-mixing extruders as well as other filament types are less prone to stringing issues and thus could mitigate such defects. Reorienting the phantom to minimize switching between filament mixing ratios could also be highly effective in reducing such defects. The impact of surface smoothness and texture of the printed phantom also merits further investigation. A common remedy for reducing surface roughness due to stringing effect or sporadic extrusion variations is to apply gentle sanding to the print’s surface, as we showed in our prints. Fortunately, many of the DOI systems are targeted at imaging deeply embedded (several millimeters to tens of centimeters) targets. Combined with the highly scattering nature of the background medium, the effect of surface roughness in the print is expected to be relatively small.

Secondly, the target DOT optical properties we tested in this work are largely focused on highly scattering diffusive media, similar to those found in biological tissues. In such cases, the choice of infill patterns, i.e. the routing orientations of the extruder when filling the solid homogeneous regions in each printed layer, does not appear to significantly alter light diffusion propagation. However, when printing low-scattering or transparent tissue regions, it is perceivable that the shape of the extruded filament in each layer may cause multiple reflection events between extruded filament boundaries, known as the “light-piping” effect. In this work, we did not characterize this behavior in a low-scattering medium, but we are interested in further investigating this effect in our future experiments and through simulation studies. Similarly, the terraced surface shape/texture of the print due to the layer-by-layer printing process may also have an impact on light incidence and back-scattering. Characterizing this terraced boundary effect would also inform important future studies.

Thirdly, despite the commercial availability of a few inexpensive multi-filament mixing printers, the reliability of these printers, especially for making solid prints with high (>100%) infill ratios, is still suboptimal and can lead to failed prints. Based on our experience of using our ZoneStar M6V5 4-in-1 extruder, we found that the low-cost ($50 USD) extruder head occasionally suffers from clogging and extruder gear skipping (i.e. failing to uniformly feed filaments). Fortunately, due to the relatively low cost, replacing the defective extruder head would often solve such issues. Proper maintenance and fine-tuning of the printer frame and the extruder head, including manual optimization of printing speed, extrusion gear maintenance, retraction settings and extruder/bed temperature settings should be applied to any printer to allow for increased system reliability.

Although we acknowledge some of the limitations and quality defects observed in our limited printed phantom samples, we also must reiterate thatfilament-mixing based 3-D printers are only recently beginning to gain increased market prominence and that we only tested our approach with an inexpensive model (the Z9V5 Pro printer costs only about $500) to show initial proof-of-concept while allowing for widespread adoption among the research community. However, recent technologies such as multi-jet printers utilizing photo-curing in conjunction with dyes use similar mixing methods and could theoretically be leveraged for DOI phantom fabrication albeit at significantly higher costs (>$100,000) while offering potential significant improvements to phantom quality. The usage of these sophisticated printing technologies thus remain an area of interest for further studies especially as these technologies become more affordable and commercially available.

We also acknowledge that the optical properties of commercially available PLA filaments are expected to be vendor- or batch-dependent, and our fitted linear-mixing model may only be applicable for the specific brand and batch of filaments that we have used. Limited literature suggests that PLA remains mechanically stable in controlled room temperature and low humidity conditions but degrades with ultra-violet (UV) light exposure72. Commonly used dyes in 3-D printed filaments, including carbon black and titanium dioxide, are known to have stable optical properties and are widely used in optical phantom fabrication73. A more extensive longitudinal study on the optical stability of our PLA phantoms is thus a future area of interest. However, we also want to highlight that the titration methods we used to characterize the linear-mixing model can be readily applicable to any filament of other vendors as well as any other colors.

In addition, the same process of characterizing optical properties via a titration study can be extended to accommodate other commonly used filament materials such as nylon, Thermoplastic polyurethane (TPU), ABS, and Polyethylene Terephthalate Glycol (PETG) to allow for enhanced mechanical flexibility as well as chemical and thermal stability if a specific research application is desired. In particular, mechanically flexible filaments such as nylon and TPU could be advantageous for fabricating phantoms where deformability and bendability are desirable, such as those mimicking soft tissues74,75. With further development of this technology, it is even perceivable in the future to use multiple filament types together to print phantoms that are both optically and mechanically accurate compared to biological tissues. The titration “rulers” are relatively small and fast to print. Repeating such a characterization procedure is highly recommended before fabricating complex phantoms. For more stable and reproducible optical properties, it is also possible to use commercially available filament extruder machines40 to create more chemically stable filaments using standardized compounds. Although this would require an additional manual step in phantom fabrication, only three parent filaments would need to be created. The subsequent mixing process would automatically combine these filaments, offering significant benefits for manufacturing complex phantoms.

Conclusion

In summary, we have reported a highly versatile method to design and directly 3-D print complex heterogeneous DOI optical phantoms with arbitrary complexity and 3-D shapes. Our method utilizes commercially available gray, white and translucent PLA filaments as well as off-the-shelf color mixing based FDM 3-D printers, thus providing a broadly accessible and inexpensive approach for fabricating complex DOI phantom across different labs and studies. We have hypothesized a linear-mixing model for quantitatively tuning the absorption and reduced scattering coefficients with respect to the volume ratios of the filaments being mixed, and experimentally validated this model, showing excellent linearity across large ranges of target \(\mu _a\) and \(\mu '_{s}\) values relevant to biological tissue imaging. We have also showcased a number of complex phantom designs, including a Digimouse phantom, a DOI QA phantom and a complex DOT phantom prototype, to further demonstrate the versatility and easy-programmability of our 3-D printing approach. While the printer and the sample prints we reported in the Results section still present some minor defects and robustness issues, we believe that these issues can be further mitigated with the continual development of filament-mixing printers and extruders. Further refinement of the printing strategies, such as extruder routing directions, purging tower designs, or even adding additional purging approaches such as purge chutes, could potentially enhance the quality of the print. In addition, our reported 3-D printing based phantom fabrication platform can be easily extended towards characterizing other imaging contrasts, such as phosphorescence/fluorescence, among others52. The ability to design, and in-house fabricate complex heterogeneous phantoms with full programmability of inclusion locations, contrasts and shapes would greatly facilitate the characterization, cross-validation, comparison, and standardization of near-infrared (NIR) based imaging or spectroscopy systems, promoting reproducible research and reusable study data sharing among the DOI research community.