Introduction

The mechanical environment in tissue homeostasis has been shown to be fundamental to multiple organ function, development and pathology1,2,3. Matrix stiffness can be an informative indicator in many biological and medical applications. In tissue engineering, the bulk and spatial mechanical properties of engineered grafts is crucial to their clinical success after implantation4,5,6,7. For example, nutrient limitation can create a softer central region in engineered cartilage8,9. In cancer research, stiffness differentiates malignant tissue from healthy tissue10, and monitoring the change in stiffness of 3D cancer cell model in response to anti-cancer drug treatment may potentially indicate the effectiveness of the drug11. In the eye, the stiffness of the cornea is indicative of its optical performance under intraocular pressure12. Traditional approaches for testing the mechanical properties of engineered tissues usually requires direct contact with the tissue and are non-sterile, involving termination of the cell culture13,14. Furthermore, it provides only bulk values rather than localised insight into the spatial mechanical heterogeneity of the engineered tissue. Manufacturing or long term cultures need easy continuous monitoring without damage to the 3D cultures and optical systems provide a potential solution. Therefore, a system is needed for sterile on line monitoring the bulk and spatial mechanical properties of in vitro 3D tissues such as cell seeded matrices, organoids or ex vivo explants.

The quantification and spatial mapping of stiffness, a process known as elastography, can be generally performed by stimulating a specimen, measuring its deformation, and inferring its mechanical properties through fitting to a parameterised model. Elastography was first implemented with ultrasound imaging15, then MRI16 and more recently with optical methods as recently reviewed17. Optical coherence tomography (OCT)18 is particularly well suited for elastography deformation tracking in small samples, due to its high-resolution non-invasive 3D imaging capacity19, and its ability to precisely encode displacement through its phase20.

Early optical coherence elastography (OCE) methods used surface compression with speckle tracking21,22 and later phase lag measurement23, but the concept has been realised with many other contact and non-contact forms of stimulation24. One successful approach is to launch controlled shear waves in the material from point dynamic loading via an air-puff25, and measure the spatially resolved wave velocity using OCT, which is closely tied to the material’s stiffness26, and has been demonstrated in vivo27. Naturally occurring broadband diffuse shear waves can also be exploited to measure shear wavelength28,29, a concept used by Nguyen et al.30 with OCT where it is referred to as ‘passive elastography’. A closely related approach by Zvietcovich et al.31 measures shear wavelength from reverberant waves from an array of contact point sources vibrating at a single frequency, where it was successfully applied ex-vitro to quantifying cornea stiffness.

Passive elastography is a compelling technique for mechanical contrast, since it can be performed with OCT systems with no additional hardware modifications. Without need for contact with the materials, analysis can be done in a sterile manner for tissue engineering applications. Although the acquisition is both asynchronous and slow relative to the vibrating source, enabling the use of low frame sensors, one can still estimate the shear wavelength from a series of displacement fields using the cross-correlation Bessel fit algorithm of ref. 31 or displacement to strain energy ratio of ref. 30. However, while the former has limited spatial resolution throughout the fitting plane, the latter is inherently biased by varying levels of noise. Therefore, we propose an analysis denoted debiased ambient vibrations OCE for forming a spatially variant debiased estimation of local wavelength, which is suitable for materials of different size and optical scattering properties.

Results

Robust passive elastography with noise debiasing

First we simulated a shear wave travelling in a biphasic material as per Eq. (4) (Fig. 1a) with a wavelength of λ1 = 2 mm in the blue region and λ2 = 4 mm in the yellow region, and tested the performance of our algorithm to retrieve the ground truth with a slow and asynchronous acquisition when compared to the vibrating source. Time-lapse phase measurements (N=195) corresponding to the displacement field induced by the shear wave travelling in the material (xy plane) are simulated in Fig. 1b with an additive white Gaussian noise (variance σ = 0.05), and used as the inputs to the OCE algorithms estimating the wavelength along the x axis (Fig. 1c). The passive OCE algorithm as presented in ref. 30 is biased by noise in the measurements, which we show theoretically. This effect is demonstrated in Fig. 1c, and further investigated with differing noise level variance in Fig. 1d. As the noise in displacement estimates from OCT is related to its signal–to–noise ratio32,33, this passive elastography contrast is directly tied to the scattering properties of the material. Therefore, materials with identical stiffness but different optical scattering will be incorrectly differentiated with this algorithm. To alleviate this problem, we present an approach that actively compensates for this noise bias and reduces the variance through spatial filtering. The effectiveness of this are demonstrated in the wavelength maps in Fig. 1a and line profiles in Fig. 1c. The debiased estimate corrects for the average error, but introduces a large amount of variance, attributed to the bias–variance trade-off. Finally, our proposed debiased ambient vibration OCE algorithm produces a debiased low-variance estimate very close to the ground truth. Most importantly, the trends are consistent for varying noise levels in Fig. 1d, which allows the decoupling of scattering intensity and mechanical contrast.

Fig. 1: Wavelength estimation from simulation.
figure 1

a Shows the ground truth with waves travelling laterally in a biphasic material at wavelength λ1 = 2 mm and λ2 = 4 mm, the biased estimation from passive elastography as per Eq. (6)29, the high variance debiased estimate from Eq. (8) and the proposed debiased filtered estimate from Eq. (9), which forms the mechanical contrast. Wavelengths are colour coded in the figure as per colour bar. b Shows the simulated time-lapse phase measurement induced by the displacement field calculated from ground truth with the addition of a noisy background. c Shows the line profiles through the coloured regions in a. Panel d is the wavelength bias estimated for passive elastography (all red lines) and debiased ambient vibration OCE (blue lines) at increasing noise levels.

Reliably measuring the elastic wavelength then allows one to produce an estimate of stiffness. For linearly elastic isotropic materials for example, Eλ2, where E is the Young’s modulus and λ is the wavelength estimated through our algorithm. Through calibration, and measurements under the same conditions, the constant of proportionality can be found. More details on the relationship between wavelength and elastic moduli are summarised below.

Validation with acellular agarose gel

We, then, validated our approach with acellular agarose gels of varying stiffness, which is summarised in Fig. 2, with implementation and processing details and experimental protocol fully described in ‘Methods’. After OCT imaging, the Young’s modulus of these gels was measured using a standard compression test. The OCT intensity images and calculated mechanical contrast maps of these hydrogels are shown in Fig. 2a. All gels had the same amount of optical contrast agent but different concentration of agarose, shown to correlate with its stiffness34, to decouple optical scattering and mechanical properties. There is a visible increase in stiffness estimate with increasing concentration from the λ-maps. Compared to the Young’s modulus of groups of each gel concentration (n = 3), as shown in Fig. 2c, there is a strong linear correlation (r = 0.994) validating the model Eλ2 for this material. We will henceforth refer to the mean wavelength squared, λ2, as ‘relative stiffness’.

Fig. 2: Mechanical contrast and validation with differing concentration agarose gels with 1% w/v milk powder for optical contrast.
figure 2

a Shows examples of intensity and mechanical contrast. All pictures are 3×3 mm in size. Panel b is an edge line profile and spatial resolution as calculated as the FWHM of fitted sigmoid derivative as in Eq. (13); the corresponding axial edge spatial resolution was found to be 38.1 μm. c Mechanical calibration performed as a linear fit between squared wavelength and Young’s modulus from Bose ElectroForce (n = 3), assuming the elastic model in Eq. (3); error bars show the standard deviation. OCT intensity images are displayed as the logarithm of the mean intensity.

The hybrid agarose shown in Fig. 2a shows the ability to measure heterogeneous stiffness and local variations, similar to that in ref. 30. In this case, our algorithm produces a sharp contrast between the two halves of the gel and consistent with depth. Finally, we estimated the spatial resolution of our method and system from the edge transitions, with corresponding profile in Fig. 2b, to be 47.4 μm laterally and 38.1μm axially, comparable to that reported by ref. 31; the method to calculate spatial resolution is detailed in Methods section. Without debiasing, passive elastography can also provide similar mechanical contrast as shown in ref. 30. However the quantitative measurement of the shear wavelength is largely underestimated (see Figs. 1c and S2d) especially in the presence of noise (Fig. 1d). In contrast debiased ambient vibration OCE provide an accurate value for the wavelength in the simulation (Fig. 1c), even in the presence of noise (Fig. 1d), and a realistic value for the wavelength for real samples that correlates well with mechanical measurements (see Fig. 2c).

On line monitoring of mechanical properties of engineered bones and cartilage tissues

Matrix stiffness analysis during orthopaedic tissue engineering is critical to assessment and potentially outcome measures for manufacturing medical implants. As an application of debiased ambient vibration OCE analysis in bone tissue engineering, we cultured mesenchymal stem cell (MSC) pellets in osteogenic differentiation for 21 days, while continuously measuring their stiffness with debiased ambient vibration OCE in a sterile on line manner. Validation was conducted on a subset of sample with end-point mechanical testing. From mechanical testing, shown in Fig. 3b, there is a marked increase in the Young’s modulus of engineered bone tissues throughout culture. This increase of mechanical contrast is also clear in the λ-maps in Fig. 3a in each of the pellets over time. The relative stiffness from debiased ambient vibration OCE was then quantified over each of the pellets and shown in Fig. 3c, showing a monotonic increase over culture for each sample, in line with the mechanical testing data. Increased staining for collagen in osteogenic pellets was observed with culture time, indicating the growth in matrix content upon culture, further supporting the mechanical testing data and OCT analysis. Spatial heterogeneities were observed in both mechanical contrast maps and histology.

Fig. 3: On line monitoring mechanical properties of engineered bones and cartilage tissues.
figure 3

Panel a is examples of intensity and mechanical contrast of engineered bone tissues (in triplicate) on days 3, 10 and 21. All presented pictures are 1×1 mm. b Shows the Young’s modulus of the tissue, tested by a customised compression rig (n = 4)40. Panel c is relative stiffness for for each sample throughout culture (n = 3). d Histology with picrosirius red staining for collagen content in osteogenic pellets at days 3, 10 and 21. Orange staining indicates cytoplasm and red staining indicates new synthesised collagen fibrils; scale bar: 100 μm. e Shows intensity and mechanical contrast of engineered cartilage tissues stimulated by hydrostatic pressure for 21 days. Panel f is glycosaminoglycans (GAG) content of samples (n = 4), and g shows relative stiffness from debiased ambient vibration OCE analysis (n = 3). * denotes a significant difference with a p < 0.05 and ** of p < 0.01 as calculated with 1-way Anova test followed by a Tukey–Kramer comparison of means. Error bars represent the standard deviation.

Then, we applied debiased ambient vibration OCE analysis to MSC cell pellets cultured in a chondrogenic medium for 21 days. N=3 samples were subjected to hydrostatic pressure to further enhance the differentiation, while the rest (N=3) were kept as control. As expected, biochemical analysis showed an increase in glycosaminoglycan (GAG) content in the stimulated group as shown in Fig. 3f, implying an increase in stiffness, and this is well reflected both in the λ-maps in Fig. 3e and quantitative analysis summarised in Fig. 3g.

Tissue engineered cancer model

We explored the potential of debiased ambient vibration OCE in cancer research for monitoring the spatial mechanical properties of a tissue engineered cancer model. We first cultured fibroblast seeded collagen gels for 11 days. As expected, our analysis showed a steady increase in the relative stiffness of the fibroblast seeded collagen gel upon culture time Fig. 4a, b. Then, ovarian cancer cells were seeded on top of the collagen gel for 7 days, and could easily be distinguished from the collagen gel layer by analysing the mechanical contrast between the two Fig. 4c, d. This was supported by histology (Fig. 4e, f).

Fig. 4: On line mechanical measurement of a tissue engineered cancer model.
figure 4

a Shows the intensity and mechanical contrast of fibroblast seeded collagen gels over 11 day culture. All presented pictures are 6×3 mm. b Shows their corresponding stiffness over time. c Shows the intensity and mechanical contrast of collagen gels with and without cancer cell cultured on top for 7 days. d Mechanical properties measured along the red line displayed in c. e, f Histology images for c stained with haematoxylin and eosin. Scale bar: 1 mm.

Potential application for cornea repair

OCT is a routine tool for ophthalmology and our method could extend these capacities to routine monitoring of surface reconstructions. Thus, we investigated the potential of debiased ambient vibration OCE to assess the quality and efficiency of a gel system to repair small cornea lesions. Porcine corneas (N = 3) were biopsy punched to generate a local wound. Then, a solution of 15% or 20% methacrylated silk fibroin solution was injected to the injury site, UV crosslinked and imaged with OCT (Fig. 5a). debiased ambient vibration OCE analysis showed a significantly higher relative stiffness in the 20% gel group, which is line with the mechanical data obtained by rheology testing (Fig. 5b, c). While OCT intensity images did not show any obvious voids at the interface between the gel and cornea in either group, clear voids were identified for both groups in the mechanical contrast (λ) map (see white arrows), indicating the existence of uncured gel solution. This suggests debiased ambient vibration OCE can be a powerful tool for assessing the quality and efficiency of tissue repair.

Fig. 5: debiased ambient vibration OCE applications to tissue samples.
figure 5

a Shows the intensity and mechanical contrast of porcine corneas intact and after implanting two different concentrations of hydrogel; the white arrows indicate areas of uncured gel, which show high mechanical contrast but not in intensity. b Shows storage modulus from rheology from samples of hydrogel (n = 3). c Shows relative stiffness from OCT scans (n = 3). d Shows a study on the mechanical properties of mouse oocytes: comparing zona intact and zona-free wild-type oocytes and intact histone H3.3 knockout oocytes; the zona intact wild type oocytes exhibit greater stiffness heterogenity markedly different from zona-free and less developmentally competent zona-intact H3.3 knockout.Oocytes pictures have been cropped to 100 × 300 micrometres (xz). * denotes a significant difference with a p < 0.05 and ** of p < 0.01 as calculated with 1-way Anova test followed by a Tukey–Kramer comparison of means. Error bars represent the standard deviation.

Potential application for oocyte screening

Routine fertility studies can involve assessment of the viability and developmental competence of pre-fertilised oocytes. Recent studies suggest the stiffness of oocyte is associated with its viability and embryo development potential35. The application of the debiased ambient vibration OCE analysis to mouse oocytes is summarised in Fig. 5d. We compared intact and zona pellucida stripped oocytes from wild-type mice and Cabin1 knockout, which has been shown to cause embryonic developmental arrest36. Firstly, a significant difference in mean wavelength was observed against the control group, which could be a means to assess their viability as in refs. 35,37. Mechanical contrast map showed a stiffer outer ring in wild type zona-intact when compared to zone-free and zona intact cabin1 knockout mice (Fig. 5d). This suggests that debiased ambient vibration OCE can be an effective tool for noncontact screening of developmentally competent oocytes in a noninvasive way, in contrast to micropipette aspiration34.

Discussion

The debiased ambient vibration analysis is a postprocessing algorithm for deriving quantitative mechanical contrast maps from OCT scans, that decouples the scattering and mechanical properties. The approach is based upon the wavelength estimation of ambient elastic waves that are generated by multiple sources in laboratory conditions. In optical research laboratories, it is usually required to conduct experiments in a vibration-free environment. However, a host of close and distant sources of vibration such as heating, ventilation, air conditioning, incubators, pumps, computers, scientific equipment, road and rail transportation systems adds up into an unavoidable vibrational background noise that is coupled to the surrounding environment. To this end, optical systems are built on specialist passive or active vibration tables. However in our study we intentionally operate our OCT system on a bench to benefit fully from the ambient vibrations.

In addition we conducted FEM analysis to show that external vibrations applied to a well-plate do generate sufficient waves in the sample. It is also worth noting that in our experimental setup, we have to take steps to reduce the magnitude of environmental vibrations by placing the plate in a chamber with a rubber base to avoid phase wrapping and artifacts triggered by large displacements.

Ambient vibrations are also relevant for in vivo studies as naturally arising shear waves from human body activity were have been used to qualitatively assess the elastic properties of tissues28,38.

In addition, the potential for in vivo passive optical coherence elastography has also been demonstrated for an anaesthetised eye rat cornea30.

Spatial resolution is an important consideration for any imaging method, and the ability to resolve different material stiffness is a main advantage of OCE. Theoretically, our method is limited only by the number of pixels over which the strain power is calculated or the filter kernel. For the agarose study in Fig. 2, we calculate strain laterally with a sliding window of 7 pixels and use a Gaussian filter with spatial standard deviation of 5 pixels, leading to a FWHM of 11.8 pixels and expected spatial resolution of 41.3 μm laterally and 20.9 μm axially which is comparable to the 47.4 μm and 38.1 μm we measured empirically from the edge transition. In the presence of noise, there is a trade-off between bias, spatial resolution and variance that can be controlled by the parameters Ng and Nh. The higher the noise, the lower the achievable spatial resolution for a given accuracy, so the level of optical scattering is important for high SNR, while not attenuating the signal and reducing penetration. Finally, we refer to the mean wavelength as the relative stiffness, neglecting viscoelasticity. This was motivated by the fact that in soft incompressible tissue, the elastic behaviour is dominated by the shear modulus that vary linearly with the square of the shear wave wavelength as commonly used in passive elastography30. Our experimental data (Fig. 2c), showing strong linear dependency (r = 0.994) between measured Young’s modulus and the square of the shear wave wavelength validated that viscoelastic behaviour could be neglected in this approximation. In our study, we have validated the approach using common examples where stiffness is a core assessment during culture or outcome assessment. Our results have shown how we can assess orthopaedic tissues such as cartilage and bone during differentiation in intact tissues, tissue engineered cancer models, fertility assessment of oocytes in vitro, and ophthalmological applications where assessment can be made of biomaterial stiffness with time following implantation.

Debiased ambient vibrations OCE is a powerful tool for spatially assessing biomaterials and biomatrices in vitro in 3D culture, as it produces a quantitative mechanical contrast image, or λ-map, that is decoupled from the standard scattering intensity image from OCT, and this extra information can be used to indicate important changes in the specimen. Additionally, one can extract the ‘relative stiffness’ of a region as the mean squared wavelength, which will be directly proportional to the Young’s modulus of an isotropic linearly elastic material, as validated in agarose samples. Using biological systems with varying matrix properties, we show that this effective and ‘simple to use’ approach offers a breakthrough in on-line tissue mechanical assessment of spatial mechanical properties for organoids, soft tissues and tissue engineering.

Methods

Measurement system and data processing

The system used for the agarose and hMSC pellet study was a Thorlabs Telesto-II spectral domain OCT system with central source wavelength 1310 nm equipped with a scan lens (LSM03 Thorlabs) resulting in an axial resolution of 4.1μm in tissue and a lateral resolution of 15 micrometre. The acquisition consisted of 192 frames, each with 1000 A-scans at a rate of 48 kHz. In the case of the oocyte and cancer seeded collagen gels, the system was a Wasatch Photonics 800 nm system with spectral bandwidth of 92 nm, with measurements consisting of 100 frames of 512 A-scans at a rate of 30 kHz. In all cases, the samples were placed in standard tissue culture well plates on the same bench as the OCT probe to allow transmission of vibrations.

Pre-processing was performed with bespoke software to: resample the spectrometer to k-space, remove the background signal and take the fast Fourier transform to map into complex valued delay space. The displacement fields between subsequent frames were then estimated with

$$d=\frac{{\lambda }_{0}}{4\pi {n}_{{{{{{{{\rm{eff}}}}}}}}}}{{{{{{{\rm{atan2}}}}}}}}\left(\Im \{{p}_{t}{p}_{t+1}^{* }\},\Re \{{p}_{t}{p}_{t+1}^{* }\}\right),$$
(1)

where λ0 is the central wavelength of the source, neff is the effective refractive index of the sample, and take the real and imaginary parts, and pt+1 is the subsequent complex measurement from pt. From these displacement fields, the elastic wavelengths are then estimated through ().

Estimating stiffness from noiseless asynchronous time frames

We wish to estimate the spatially resolved stiffness of a material through its wave speed given as

$$v=\sqrt{\frac{M}{\rho }},$$
(2)

where ρ is its mass density and M is some elastic modulus factor. This generic form applies to: shear waves, where \(M=\frac{1}{3}\mu\), with μ the shear modulus; P-waves, where \(M=K+\frac{4}{3}\mu\), with K the bulk modulus; and Rayleigh surface waves, where \(M=\frac{{(0.862+1.14\nu )}^{2}}{2{(1+\nu )}^{2}}\mu\) with ν the Poisson’s ratio. As with any travelling wave, the velocity can be expressed as v = λf, where λ is its spatial wavelength, and f its temporal frequency. If f and ρ are either known or known to be fixed a priori, then one can calculate the elastic modulus M directly from measured λ.

Assuming shear waves, as in refs. 29,31, and a linearly elastic isotropic material, the Young’s modulus can be found as

$$E=2(1+\nu )\rho {f}^{2}{\lambda }^{2}$$
(3)

Given periodic elastic waves propagating through a heterogeneous material, one can measure its displacement at a position x as

$${d}_{x}(t)=a\sin \left(\frac{2\pi x}{\lambda }+\phi (t)\right),$$
(4)

where a is the amplitude of the wave, λ is the spatial wavelength and ϕ(t) is a phase function describing the position of the wave at time, t. One can also estimate the local strain as a finite difference approximation to a derivative as

$${s}_{x}(t)=\frac{2\pi a}{\lambda }\cos \left(\frac{2\pi x}{\lambda }+\phi (t)\right)\approx \frac{{d}_{x+1}(t)-{d}_{x-1}(t)}{2{{\Delta }}x},$$
(5)

where Δx is the resolution of the imaging system. Given that the energy of a sufficiently sampled sinusoid is Nta2/2 regardless of the order of samples, it follows that λ can be found through

$$\lambda =2\pi \sqrt{\frac{\mathop{\sum }\nolimits_{t = 1}^{{N}_{t}}d{(t)}^{2}}{\mathop{\sum }\nolimits_{t = 1}^{{N}_{t}}s{(t)}^{2}}},$$
(6)

where \(\mathop{\sum }\nolimits_{t = 1}^{{N}_{t}}d{(t)}^{2}\) is the displacement energy from a sequence of wave measurements as represented in Eq. (4). The estimate in Eq. (6) is equivalent to that presented in ref. 29 and used in ref. 30. The estimate in Eq. (6) is exact in a noiseless system as Δx → 0 and the number of temporal samples Nt → . In this case, ϕ(t) can take the form ϕ(t) = kt, where k is a scalar, or a random function spanning [ − π, π] with uniform probability density. For example, if one has linear sampling with timing jitter such as ϕ(t) = kt + n with \(n \sim {{{{{{{\mathcal{N}}}}}}}}(0,{\sigma }_{t}^{2})\), then Eq. (6) is still accurate for sufficiently many measurements.

Robust estimation with noise

Although the wavelength estimation in Eq. (6) holds in the noiseless case, it is heavily biased by any phase noise in practice. This is because the shear wavelength is in the millimetre range29,31, which is far greater than the spatial sampling resolution in OCT, so any additive wide band noise will be amplified by the gradient in Eq. (5).

For additive white Gaussian noise (AWGN), \(n \sim {{{{{{{\mathcal{N}}}}}}}}(0,{\sigma }^{2})\), with variance σ2, the signal energy after filtering with some kernel h is

$${E}_{n}={\sigma }^{2}\mathop{\sum }\limits_{k=1}^{{N}_{h}}{h}_{k}^{2},$$
(7)

where Nh is the length of h. For example, the central difference gradient approximation in Eq. (5) is equivalent to spatially filtering the displacement vector with kernel h = [ − 0.5, 0, 0.5]/Δx, which has an energy of En = 0.5σ2x2. If σ can be estimated from the samples, then one can form the debiased estimate of wavelength as

$$\lambda =2\pi \sqrt{\frac{\mathop{\sum }\nolimits_{t = 1}^{{N}_{t}}d{(t)}^{2}-{N}_{t}{\sigma }^{2}}{\mathop{\sum }\nolimits_{t = 1}^{{N}_{t}}{(h* d(t))}^{2}-{\sigma }^{2}\mathop{\sum }\nolimits_{k = 1}^{{N}_{h}}{h}_{k}^{2}}},$$
(8)

where * denotes spatial convolution.

While Eq. (8) may be reasonable in moderately low noise, when the noise energies are similar to the signal energies, it will produce high variance or even undefined estimates. This can be compensated to some degree by increasing Ng or Nt, but at the expense of temporal response rate and scan time or spatial resolution in the gradient direction and will not control the numerator going negative. We therefore introduce an additional 2D low-pass filter to the displacement vectors. This debiased filtered estimate as

$$\lambda =2\pi \sqrt{\frac{\mathop{\sum }\nolimits_{t = 1}^{{N}_{t}}{(g* d(t))}^{2}-{\sigma }^{2}\mathop{\sum }\nolimits_{k = 1}^{{N}_{g}}{g}_{k}^{2}}{\mathop{\sum }\nolimits_{t = 1}^{{N}_{t}}{(h* g* d(t))}^{2}-{\sigma }^{2}\mathop{\sum }\nolimits_{k = 1}^{{N}_{h* g}}{(h* g)}_{k}^{2}}},$$
(9)

where g is the 2D low-pass filter, and Nh*g = Nh + Ng − 1 is the length of the effective strain filter kernel. We use a 2D Gaussian function for g since it will not introduce any ripple artifacts, with size Ng = 2cg + 1, where cg is its spatial standard deviation of the Gaussian. The Gaussian filter generated a speckle pattern on the mechanical contrast maps.

Despite the filtering and effective noise power reduction in Eq. (9), there still may be cases of undefined estimates due to potential negativity. To avoid this, we adopt a ‘soft subtraction’ approach as used in X-ray computed tomography scatter correction39

$${{{{{{{\mathcal{S}}}}}}}}(a-b)=a(1-\gamma ),$$
(10)

which replaces the operation a − b, where γ is a compensation factor that can be calculated as

$$\gamma =\left\{\begin{array}{ll}\beta \quad &{{{{{{{\rm{if}}}}}}}}\,b\ge \beta a\hfill \\ \frac{b}{a}\quad &{{{{{{{\rm{otherwise}}}}}}}},\end{array}\right.$$
(11)

where β = [0, 1] is a thresholding term that we set to β = 0.9 in this work. In our experiments, this only starts to contribute very deep in the samples, where the intensity is too low for a reliable measurement anyway.

One last consideration for this method is determining the noise variance σ2. Under the assumptions this is space varying and the wavelength is significantly larger than the spatial resolution of the OCT system, it can be approximated as the time-averaged variance within a sliding 3 × 3 window.

Agarose gel study

In all, 1%, 2% and 3% agarose hydrogels containing 1% milk were fabricated in this study. Briefly, Type I agarose (Fisher scientific, UK) was added to distilled water and autoclaved at 121 °C to make 2%, 4% and 6% agarose solutions. 2% milk solution was prepared by dissolving nonfat dry milk powder (Bio-rad, UK) in distilled water and this solution was mixed with equal volume of 2%, 4% and 6% agarose solution at 100 °C and cast into a dish and allowed to solidify at room temperature to produce 1%, 2% and 3% agarose gels containing 1% milk. 2/3% hybrid gels were made by scraping part of 2% gel and adding 3% agarose solution into the dish and allowed to solidify. Gels were then cored using a biopsy punch to produce discs of 6 mm in diameter and 2 mm in thickness. These gels were then placed into a 96-well tissue culture plate with 100 μL distilled water covering the surface of each gel and imaged with OCT for wavelength measurement as described earlier.

The Young’s modulus of these agarose gels were tested using Bose ElectroForce 5500 (TA Instruments, UK). Briefly, excessive water was removed from agarose gels and a preload of 0.01 N was used to ensure direct contact between sample and plate surfaces. An unconfined ramp compression (up to 10% strain of the sample thickness) was performed and the Young’s modulus was calculated from the stress-strain curve.

Chondrogenic and osteogenic cell pellet study

Sheep hind leg was purchased from a local abattoir and ovine mesenchymal stem cells (MSCs) were isolated from the bone marrow of the femur. Thus, no ethical approval was needed for this study. MSCs from passage two were trypsinised and 200,000 cells were added into each well of a v-bottomed 96-well plate (Greiner bio-one) and centrifuged for 5 min at 500 × g to form cell pellets.

For chondrogenic differentiation, cell pellets were cultured in a differentiation medium consisting of high glucose DMEM supplemented with 2 mM L-glutamine, 100 U/mL penicillin-0.1 mg/mL streptomycin, 100 μg/mL sodium pyruvate, 40 μg/mL L-proline, 50 μg/mL L-ascorbic acid-2-phosphate, 4.7 μg/mL linoleic acid, 1.5 mg/mL bovine serum albumin (BSA), 1 × insulin-transferrin-selenium, 100nM dexamethasone (all from Sigma-Aldrich, UK) and 10 ng/mL recombinant Human TGF-β3 (Peprotech, UK) for 3 weeks, with medium being exchanged three times a week. During this differentiation period, half of pellets were subjected to hydrostatic pressure (HP, 270 kPa, 1Hz, 1 h/day) to enhance the differentiation, whereas the rest were not stimulated and kept as control. Both control and HP groups were harvested at end of differentiation period and imaged with OCT for wavelength measurement. Samples were then digested with papain for measurement of their glycosaminoglycan (GAG) content using dimethylmethylene blue dye-binding assay. Samples were also harvested for histology, wax embedded, sectioned and stained with 1% alcian blue 8GX in 0.1 M HCl for GAG distribution.

For osteogenic differentiation, cell pellets were cultured in a differentiation medium consisting of low glucose DMEM supplemented with 10% fetal bovine serum, 2 mM L-glutamine, 100 U/mL penicillin-0.1 mg/ml streptomycin, 100 nM dexamethasone, 50 μM L-ascorbic acid-2-phosphate and 10 mM β-glycerco-phosphate (all Sigma-Aldrich, UK) for 3 weeks, with medium being exchanged three times a week. During this differentiation period, samples were continuously monitored using OCT in a sterile manner for wavelength measurement at days 3, 10 and 21, with separate samples in parallel culture being terminated for mechanical testing and histology at same time points. The Young’s modulus of osteogenic cell pellets were tested using a customised rig designed for testing microspheres and cell organoids40. After excessive water was removed, cell pellets were plated between two platen surfaces and an unconfined ramp compression (up to 25% strain of the sample diameter) was performed and the Young’s modulus was calculated from the stress-strain curve. For histological analysis, cell pellets were embedded in wax, sectioned and stained with picrosirius red for collagen accumulation.

Collagen study

Collagen/fibroblast matrices were created using the methodology outlined in Timpson et al.41. The matrices were incubated at 37 °C, 5% CO2 for 15 days to allow the collagen/fibroblast matrix to contract. The collagen/fibroblast matrix was imaged using OCT on days 1, 4, 7, 11 and 15 of the sample contraction.

Using the protocol outlined in Hallas-Potts et al.42, one collagen/fibroblast matrix with A2780 cultured on top and one blank collagen/fibroblast matrix with no cells cultured on top were prepared and transferred to a metal grid. Moving the collagen matrix to the grid is referred to day 0. Dishes were incubated at 37 °C with 5% CO2 for 7 days to allow the cells to invade. The collagen/fibroblast matrices were imaged on days 2 and 7.

Immediately after OCT imaging, the matrix was removed from the grid and added to a falcon tube with 5 mL 4% (w/v) paraformaldehyde (PFA) to fix overnight. The fixed collagen/fibroblast matrix was embedded in wax, sectioned and stained with haematoxylin and eosin (H&E) by the CRUK Edinburgh Centre Pathology & Phenomics Lab. Stained sections were imaged on the Nanozoomer XR model, data captured using NDP scan v 3.1. ×40 magnification.

Corneal study

Freshly enucleated porcine eyes were purchased from the local butcher. To induce corneal injury, a 5 mm biopsy punch was used to make a partial cut in the central cornea to a depth of approximately 50%. Then, a solution of methacrylated silk fibroin (15 or 20 wt%) containing 0.5% (w/v) lithium phenyl-2,4,6-trimethylbenzoylphosphinate (LAP) was filled to the defect and photocrosslinked for 5 min (365 nm, 3 mW/cm2). Fresh corneal, injured corneal and silk fibroin hydrogel repaired corneal was then imaged with OCT for wavelength measurement as described earlier. The storage modulus (G) of freshly prepared Silk-MA hydrogels were measured in oscillatory mode at 32 °C using a plate-plate geometry (Kinexus Pro+, Malvern, UK). After running an amplitude sweep to determine the linear viscoelastic range (LVER), a frequency sweep was conducted at 0.5% shear strain. The experiments were conducted in triplicate.

Finite element method simulation of vibrational elastography

To demonstrate the concept of vibrational elastography, a set of FEM simulations were run, as summarised in Fig. 6. This was performed with code_aster43 on a mesh containing a 24-well polystyrene plate and heterogeneous gel with a dynamic load applied axially to one corner of the plate. There were 36,000 nodes at the central plane of the gel with thickness 2 mm and diameter 10 mm, whose positions were sampled every 10 μs over a total simulation time of 5 ms. The loading signal used for stimulation was \(\sin (2\pi ft)/t\), where f = 2 kHz, with the opposite corner fixed as a boundary condition—other combinations of loads were also tested with similar resulting displacement fields and estimates.

Fig. 6: FEM simulation of vibrating multi-well plate with heterogeneous gel.
figure 6

a Shows the gel seated on the base on a well. b Shows the displacement magnitudes of the plate at t = 2 ms and t = 4 ms. c Shows the excitation force applied to a corner of the plate: a 2 kHz sinusoid with exponentially decaying amplitude. d Shows exampled of the differential displacements in the axial direction at the centre of the gel. e Shows the estimated wavelength over the gel surface and the ground truth assuming shear waves of 2 kHz. Panel f are profile plots are the lines indicated in e.

The wavelengths of any resulting elastic waves in this noiseless case were estimated using Eq. (6). Firstly, the axial positions at each time instance were resampled onto a polar grid with origin at the centre of the gel so that the strains were estimated along effective cross-sections as used in the experimental section. The estimate from Eq. (6) was applied to the 400 displacement (differential position) fields between t = [1, 4] ms. Finally, these wavelengths were resampled onto a Cartesian grid to form an image.

Determining spatial resolution

We use a Blonski44 edge method variant also adopted by ref. 31 for the spatial resolution: first fitting the sigmoid function

$$f=\frac{L}{1+{e}^{-k(x-{x}_{0})}}+C,$$
(12)

with the Levenberg–Marquardt algorithm for the parameters (L, k, x0, C) then finding the full-width at half-maximum (FWHM) of the sigmoid derivative, which can be expressed as

$${{{{{{{\rm{FWHM}}}}}}}}(\,{f}^{{\prime} })=\frac{2}{k}\log (3+\sqrt{2}).$$
(13)

Statistics and reproducibility

We used a one-way ANOVA followed by a Tukey–Kramer test in Matlab (The Mathworks) to test for significant differences with p values <0.01 or <0.05 and a number of samples N > 3.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.