Open Access Article
This Open Access Article is licensed under a
Creative Commons Attribution 3.0 Unported Licence

Optical coherence tomography in soft matter

Kasra Amini a, Cornelius Wittig a, Sofia Saoncella a, Outi Tammisola b, Fredrik Lundell a and Shervin Bagheri *a
aFLOW, Dept. of Engineering Mechanics, KTH, Stockholm SE-100 44, Sweden. E-mail: kasraa@kth.se; wittig@kth.se; shervinb@kth.se
bFLOW and SeRC (Swedish e-Science Research Centre), Dept. of Engineering Mechanics, KTH, Stockholm SE-100 44, Sweden

Received 28th December 2024 , Accepted 26th March 2025

First published on 10th April 2025


Abstract

Optical coherence tomography (OCT) has become an indispensable tool for investigating mesoscopic features in soft matter and fluid mechanics. Its ability to provide high-resolution, non-invasive measurements in both spatial and temporal domains bridges critical gaps in experimental instrumentation, enabling the study of complex, confined, and dynamic systems. This review serves as both an introduction to OCT and a practical guide for researchers seeking to adopt this technology. A set of tutorials, complemented by Python scripts, is provided for both intensity- and Doppler-based techniques. The versatility of OCT is illustrated through case studies, including time-resolved velocimetry, particle-based velocity measurements, slip velocity characterization, detection of shear-induced structures, and analysis of fluid–fluid and fluid–structure interactions. Drawing on our experiences, we also present a set of practical guidelines for avoiding common pitfalls.


1 Introduction

Many experiments in soft matter involve physics that contain multiple scales in both time and space, which make it particularly challenging to obtain well-resolved data. Optical coherence tomography (OCT) is an attractive option for diagnostics as it allows obtaining high spatial (micrometer) and temporal (100 kHz) resolution three-dimensional images within scattering media. It also allows the acquisition of velocity measurements of fluid flows.

OCT is well-established in medical imaging1–5 and has increasingly been used in rheology,6–9 profilometry and fluid mechanics.10 The device is now rapidly expanding into soft-matter applications for several reasons. Firstly, OCT provides tomographic images and, therefore, quantitative spatial information of complex materials. In its most basic form, it works by splitting light into a reference arm and a sample arm; the reflected light from both is recombined to create interference patterns. These patterns, analyzed as a function of depth, provide detailed information about the material's microstructure.11 Its resolution (1–10 μm) and penetration depth (∼1 mm) are larger than confocal microscopy (<1 μm, 100 μm) but smaller than techniques such as ultrasound (∼150 μm, ∼1 cm), high-resolution computed tomography (∼300 μm, ∼10 cm) and magnetic resonance imaging (∼1 mm, >10 cm).

Secondly, OCT has a Doppler feature (D-OCT), which allows for non-intrusive velocimetry in opaque media. The opaqueness inherent in many soft matter systems containing colloids, gels, polymers, cells and organisms poses significant challenges for methods like particle image velocimetry (PIV) and particle tracking velocimetry (PTV), particularly in dynamic conditions and confined geometries. D-OCT works by analyzing the interference between back-scattered light from moving particles and a reference beam. When this interaction occurs, a frequency shift is produced, known as the Doppler frequency, which is proportional to the velocity of the moving sample. D-OCT captures the velocity component that is parallel to the incident light beam.11 The device has been used to analyze flow patterns in confined geometries, such as T-junctions12 and flow-focusing devices.12 It has also resulted in the detailed investigations of phenomena like flow-induced structuring, mixing, and droplet formation in multiphase systems.13–15 The method also offers a sensitive means of visualizing and quantifying blood flow, especially in small vessels like capillaries.16

Various forms of OCT devices have had a significant impact in characterizing complex (i.e., non-Newtonian) fluids. For example, Haavisto et al.6,7 characterized microfibrillated cellulose (MFC) flow and wall slippage in both pipes and rheometric devices, shedding light on flow instabilities and boundary effects that could be captured with OCT. Jalaal et al.9 employed OCT to investigate the spatio-temporal pattern of gel formation within droplets, providing a unique perspective on in situ phase changes in fluids. By tracing particles through OCT intensity signals, the authors demonstrated the adequate speed and precision of OCT in visualizing these changes, setting it apart from traditional confocal imaging systems, which required multiple planar images for cross-sectional analysis. Gowda et al.12 investigated three-dimensional thread-formation under the influence of effective interfacial tension in a colloidal dispersion system in a flow focusing channel. Using D-OCT in combination with numerical simulations, they could capture various flow patterns such as threading, jetting, and dripping. More recently, Jäsberg et al.17 introduced polarization-sensitive OCT (PS-OCT) as a lightweight tool for observing particle orientation during the processing of cellulose nanocrystals (CNCs). This study demonstrated how PS-OCT could provide real-time online measurements, allowing researchers to track the orientation of non-spherical, elongated particles.

OCT has played a crucial role in the field of biofilms,18–20 in particular for the in situ imaging of biofilm growth in the presence of external flows,21 where measurements using confocal laser scanning microscopy (CLSM) are limited to a penetration depth of less than one hundred microns, whereas OCT can penetrate several millimeters of biofilm. The fast acquisition time of OCT has been used to study the degradation of a biofilm by hydrogen-peroxide over 80 s.18 Other studies have used time-resolved OCT measurements as a virtual rheometer, measuring the response of biofilm to changes in shear stress to estimate the viscoelastic properties of biofilms.22 These measurements were later expanded by adding numerical simulations of fluid–structure-interactions.23 More recently, the modularity of OCT-systems was used to create automated setups capable of monitoring multiple channels over extended periods of time.24,25

A recent application of OCT has been its use in investigating interfacial flows in millifluidic devices. OCT enables tracking fluid–fluid interfaces as they deform in space and time under shear flow. The D-OCT technique complements this capability by measuring velocity fields in both the streamwise and wall-normal directions within a 2D plane. By combining interface tracking with velocimetry, OCT enables detailed characterization of interfacial phenomena, such as droplet dynamics, interface slippage, and Marangoni flows. Similar to biofilms and non-Newtonian fluids, OCT addresses critical instrumentation gaps for studying interfacial flows by providing high-resolution measurements of mesoscopic systems in dynamic and confined conditions.

High spatial and temporal resolutions and flexibility in adjusting OCT-based techniques to the specific requirements have resulted in the rise of the number of versatile applications of OCT reported in the literature in recent years. Edwards et al.26 report the dominance of gravity, as opposed to the previously established notion of dominance of surface tension, in the evaporation of bi-liquid microscale drops, using a high-speed Fourier domain OCT. Furthermore, a time-averaged representation of the results is used to obtain particle trajectories on the cross-section of the drops. Combining OCT with a gravimetry video method, Huang et al.27 study the drying process in polystyrene latex. This investigation is done with a 4.3 μm resolution in depth, and a horizontal traverse of 14 μm. To denoise the data, speckle contrast analysis has been performed on the 2D OCT scans, details of which can be found in Boas and Dunn.28

Using an ultra-high resolution OCT (depth resolution in water of 1.35 μm), Abe et al.29 investigate the dynamics of drying colloidal suspensions in a Hele-Shaw cell. In this application, time averages of 100 2D scans obtained over 15 s were used to reduce noise. Similarly, Sewalt et al.15 use a spectral domain OCT system to investigate the drying process of droplets containing maltodextrin. In this study, the strong reflection of the beam at the apex of the droplet, which could dominate the scan, was avoided by a small lateral offset from the point of interest, i.e., apex. It should also be noted that titanium dioxide particles have been used as contrast agents, similar to the measurements reported in Section 4.2 in the present manuscript.

Saxena et al.30 use an ultra-high resolution Fourier domain OCT with 1.2 μm and 7 μm resolutions in depth and traverse directions, respectively, to study the micro-wrinkles on fluid free surfaces. In this case, the emitted beam directly penetrates the liquid surface through the air medium, without the interference of any optical window. However, the local curvatures of the liquid surface introduce reflection-related noise. Furthermore, a summary of the different types of OCT-based methods listed here, with a focus on tissue diagnostics, is given by Bouma et al.31

We have touched on only a fraction of the investigations in which OCT has been applied in soft matter systems. More importantly, OCT has the potential to become an important tool in the community, expanding into new areas of soft matter research. This underpins the motivation for this tutorial review. Our goal is to provide a pedagogical guide focused on the technical aspects of OCT, offering insights into common pitfalls and how to avoid them. Additionally, we showcase a variety of applications to demonstrate how OCT can be employed to study increasingly complex systems. These examples aim to help readers appreciate the breadth of problems that can be tackled using OCT.

This review is organized as follows. Section 2 provides a broad overview of the working principles of OCT and D-OCT. We explain how spatial resolution and temporal resolution are determined by the light source and optical configuration, presenting only the essentials needed for understanding the techniques. Section 3 features six tutorials, each supported by Python scripts. These tutorials, summarized in Table 2, cover both intensity- and Doppler-based methods. Section 4 explores a range of applications of OCT relevant to soft matter and fluid mechanics, including time-resolved velocimetry (4.1), particle-based velocity measurements (4.2), slip velocity (4.3), shear-induced structure detection (4.4), fluid–structure interactions (4.5), and fluid–fluid interface studies (4.6). Section 5 offers practical guidelines derived from our experience with OCT, providing a brief but valuable reference for practitioners. The review concludes with a discussion and outlook in Section 6.

2 Technical background

This section outlines the fundamental working principles of OCT for imaging and velocimetry in fluid mechanics and soft matter physics. For detailed exposition of the underlying physics and technical aspects of OCT, we refer the reader to the excellent reviews by Fercher et al.32 and Tomlins and Wang.11

2.1 Imaging

When a light beam is propagated within a medium, the physical properties of the medium will re-modulate the phase and amplitude of the scattering light.33 In an OCT apparatus, a beam splitter divides the emitted low-coherence beam coming from a broadband light source into two beams (Fig. 1(a)). One passes through the sample, while the other is kept as a reference. The two beams are then recombined and construct an interference signal.11 The output is an intensity signal showing the presence and extent of contrast points inside the medium along the beam.
image file: d4sm01537a-f1.tif
Fig. 1 (a) The basic setup of a SD-OCT system, where the light beam from the source is split into a reference beam and a sample beam. After reflection, the two beams are recombined before they are split by a diffraction grating and detected by a spectrometer. See Fig. S1 in the ESI for more details. (b) In Doppler-OCT, the frequency shift between the incoming and reflected beam can be used to measure the particle's velocity.

A time-domain OCT (TD-OCT), the first OCT technique developed, uses a scanning mirror to adjust the optical path length difference between the two arms. Through coherence gating, the short coherence length of the light source creates a constructive interference pattern. This pattern appears at mirror positions corresponding to the depth position of the contrast point in the medium.34 On the other hand, a spectral-domain OCT (SD-OCT) operates with a fixed reference mirror. As shown in Fig. 1(a), in the SD-OCT, the superimposed back-scattered optical arms (reference and sample) are guided to a 1D-spectrometer through a diffraction grating element.35,36 A third option is a swept-source OCT (SS-OCT), which utilizes a tunable laser instead of a broadband light source. Here, the wavelength of the light source is swept across a spectrum, and the interference signal is measured in a single photodetector. In an SS-OCT, the A-scan rate depends on the speed of the sweep of the light source.37

Generally speaking, SD-OCT and SS-OCT systems are capable of much higher imaging speeds than TD-OCT systems. This increased scan rate enables the acquisition of much larger scans, which would have been impractical with TD-OCT.37 Additionally, artifacts caused by sample motion are reduced. While SD-OCT systems are cheaper and tend to have a higher resolution than SS-OCT systems, the latter enable deeper penetration into the sample. SD-OCT involves the simultaneous acquisition of all involved wavelengths. This causes a signal roll-off at the fringes of the imaging spectrum. This roll-off does not exist in SS-OCT.37

Assuming an ideal configuration, the resulting intensity I(ω) obtained from the spectrometer can be written as

 
image file: d4sm01537a-t1.tif(1)

This equation contains the two key ingredients of OCT; (i) the spectral distribution of the light source s(ω) which determines the axial resolution and the penetration depth of the OCT and (ii) the frequency response of the sample H(ω), which is to be reconstructed. The source can be assumed to have a Gaussian distribution and its full width at half maximum (FWHM) can be used to define a coherence length

 
image file: d4sm01537a-t2.tif(2)

Here, λ0 and Δλ are, respectively, the wavelength and optical bandwidth of the source. The length lc describes the span of a window, over which the low coherence light wave can be approximated as coherent, meaning its phase remains synchronous. The nominal axial resolution (along the OCT beam) in vacuum can be estimated by

 
image file: d4sm01537a-t3.tif(3)

If the spectrometer consists of N detectors (e.g. pixels of the CCD sensor), then a discrete Fourier transform of the recorded intensity spectrum results in a time-discrete intensity I(iΔt), where i = 0,1,…,N/2.34–36 In SD-OCT, the time iΔt corresponds to the depth position in the sample. This means that the maximum scanning depth is given by

 
image file: d4sm01537a-t4.tif(4)

Here, c/n is the speed of light in a sample material with an average refractive index of n. In the above equation, we have approximated Δt = 2π/ΔΩ, where ΔΩ is the spectral width of the detector 2πcΔλ/λ2.

An important advantage (e.g. in comparison to confocal microscopy) of OCT is the decoupling of axial and lateral resolutions. The latter is determined by the size of the illumination spot and is influenced by the optics of the OCT probe. The lateral resolution is set by either the numerical aperture of the microscope objective NA,

 
image file: d4sm01537a-t5.tif(5)
or by the beam waist (spot size). For a Gaussian beam we have
 
image file: d4sm01537a-t6.tif(6)
where [f with combining circumflex] is the focal length of the lens, and D denotes the diameter of the incident beam. The scanners used in the object head of current instruments face technical limitations that make it challenging to handle beam diameters exceeding a few millimeters. As a result, lateral resolution is generally limited to ranges lower than the axial resolution. This makes the OCT technique particularly effective for studying stratified objects, where axial resolution plays a key role, or is the main target of probing, in ensuring accurate image interpretation.34 Note that the maximum depth may be restricted by the NA, as the depth of field of an objective is given by
 
image file: d4sm01537a-t7.tif(7)

Thus, while high NA provides lateral resolution through (5), it may limit the axial range, if zmax in eqn (7) is smaller than the value determined by the light source in eqn (3).

The tutorial examples that follow in Section 3 are all obtained from two SD-OCT devices; Telesto II and Ganymede GAN610-SP5 (Thorlabs, USA). The specifications of these two devices are provided in Table 1. In conventional OCT nomenclature, 1D-probing is termed A-scan. Stacking laterally obtained A-scans leads to a 2D-recording known as a B-scan. A volume probing, obtained through stacking B-scans is termed a C-scan. A common way to export and store a series of B-scans or individual volume scans is using the TIFF format, specifically TIFF image-stacks. These image-stacks contain grayscale images and are highly compatible with a multitude of software packages, such as ImageJ,38 scikit-image,39 or MATLAB.40

Table 1 Technical specification of OCT devices employed to generate the tutorials and showcases. Axial resolution Δz and imaging depth zmax are dependent on the refractive index of the medium. The lateral resolution Δx depends on the optics mounted to the OCT probe
Device Type λ 0 [nm] Δz [μm] Δx [μm] z max [mm] f s [kHz]
Telesto II SD-OCT 1300 3.4 4–12 3.5 5.5–76
GAN610-SP5 SD-OCT 930 6.0 7–20 2.7 5.5–248


2.2 Velocimetry

D-OCT is an extension that enables the measurement of fluid flow velocity profiling by analyzing the frequency shifts in the OCT signal caused by the Doppler effect (Fig. 1(b)).

The classical approximation of the Doppler effect (where relativistic corrections are negligible) can be written as a shift in frequency

 
image file: d4sm01537a-t8.tif(8)
where θ measures the inclination of the channel (see Fig. 2). The OCT, however, measures the phase shift, which can be obtained from eqn (8)
 
image file: d4sm01537a-t9.tif(9)
where f is the acquisition frequency. It is evident that for the Doppler measurement to capture a non-zero component of the flow velocity, the emitted beam and the local velocity vectors should not be orthogonal. As illustrated in Fig. 2(a), there exists a compromise between a higher contribution of the flow velocity along the OCT beam, in large inclination angles, and the precision in positioning of the point, over which the velocity profile is obtained. Therefore, by incorporating the inclination and the refractive index of the medium, the following can be written for the velocity in the longitudinal direction,
 
image file: d4sm01537a-t10.tif(10)


image file: d4sm01537a-f2.tif
Fig. 2 Schematics of the flow configurations used in the tutorials. (a) Inclination of the beam with respect to the local flow direction reconstructed from Amini et al.41 (b) Wall with grooves infused with a second fluid phase. (c) Millifluidic system with a biofilm growing on the wall. (d) Rectangular duct inclined for Doppler-based velocimetry.

From the expression above, we may estimate the velocity to v ∼ 1 cm s−1, since λ0 ∼ 103 nm, f ∼ 100 kHz, and ΔΦ/4nπ[thin space (1/6-em)]sin[thin space (1/6-em)]θ ∼ 1.

3 Tutorials

This section presents tutorials on the intensity- and Doppler-based methods. It is assumed that an OCT scan has been successfully acquired and that an intensity- or phase-field has been saved in the form of a .tiff image-stack. The tutorials describe how the data may be processed to derive physically meaningful quantities for a given application. Table 2 summarizes the tutorials presented in this section.
Table 2 List of six tutorials presented in Section 3. The problem considered by each tutorial is also listed alongside the name of the associated Python script
Tutorial Application Code
1 Interface detection (high contrast) Oil droplet immersed in a water–milk mixture t1_simple_thresholding.py
2 Interface detection (low contrast) Biofilm growth in flow t2_complex_thresholding.py
3 Wall detection in opaque media Water–milk mixture between two solid (PMMA) surfaces t3_t5_DOCT_1D.py
4 Particle detection in transparent media Rigid particles in a dilute polymeric fluid t4_particle_detection.py
5 A-Scans: 1D velocimetry Laminar duct flow t3_t5_DOCT_1D.py
6 B-Scans: 2D velocimetry Laminar duct flow t6_DOCT_2D.py


3.1 Intensity-based schemes

3.1.1 Interface detection (high contrast). In the simplest configuration, OCT can be used to detect a clearly defined interface, for example, between a liquid and a solid surface or between two immiscible liquids. Here, we detect the shape of a submerged oil droplet in milk diluted in water (20%). In this first tutorial, there is a clear separation of the signal into foreground and background. Fig. 2(b) shows the configuration, where the bottom wall of a millifluidic channel is structured with longitudinal grooves with cross-section of 243 × 376 μm. The grooves are infused with oil (hexadecane), and a solution of water and milk is flowing over them at a constant flow rate of 0.4 mL min−1.

Capillary instabilities break the water–oil interface into droplets with a length of a few millimetres. Due to interface pinning, the droplets remain trapped in the grooves when exposed to flow. The contrast between water and lubricant phases is created by milk colloids, which are only miscible in water. These micro-sized particles act as a seeding medium, scattering the infrared light of the OCT beam. Consequently, the milk solution appears bright (due to scattering), while the transparent fluid appears dark (no scattering), as in Fig. 3(a). Other solutions, such as water-soluble food colouring or coffee, can also render the fluid opaque. In a fluid flow, selecting a contrast agent that is not surface-active is important to avoid Marangoni flow which could potentially modify the interfacial dynamics.


image file: d4sm01537a-f3.tif
Fig. 3 Tutorial 1: an oil droplet in exposed to fluid (20% milk, 80% water) flow in a channel. (a) Raw intensity field along the centerline of the channel. (b) Isolated droplet after processing. (c) Intensity histogram of the full measurement with binarization threshold in black. (d) Resulting height map of the droplet surface confined between two ridges, visible in the upper and lower part. The dashed line marks the location of the slice in (a) and (b). (e) Intensity signal and resulting segmentation along the red lines highlighted in (a) and (b).

To obtain the interface shape, the flow cell is positioned under the OCT probe at a working distance corresponding to the focal length of the optics. Note that common materials for the optical access window, e.g. PMMA or glass, have high refractive indices, effectively increasing the distance between the probe and the target. Flat solid–liquid or solid–solid interfaces can reflect the beam vertically toward the sensor, causing autocorrelation noise. Therefore it is beneficial to incline the sample. An angle of approximately 6° between the beam and the plane of the channel is sufficient to deviate the reflections. A detailed overview of the mechanism behind the autocorrelation noise is provided by Wang and Ma.42 In short, the autocorrelation noise is caused by the mutual interference of all elementary waves scattered by the sample.43

A full 3D scan (C-scan) is obtained through a series of B-scans (two-dimensional planes) within the field of view. The measurement is extracted from the proprietary .oct format and saved as a .tiff image stack. The image analysis protocol implemented in t1_simple_thresholding.py demonstrates how to separate the profile of the drop in the foreground from the background to obtain Fig. 3(b). First, the image stack is loaded and trimmed to the relevant region of interest. The milk–oil-interface is characterized by a significant drop in the signal intensity (Fig. 3(a)). This results in a clear bimodal intensity distribution (Fig. 3(c)), which lends itself to classical image binarization techniques, such as Otsu's method.44 With this approach, the optimal threshold is determined by minimizing intra-class variance, or equivalently, maximizing inter-class variance between the two pixel intensity distributions. Otsu's algorithm computes the image histogram and iterates over all possible threshold values to identify the one that best separates the pixel classes.

The resulting threshold is shown as a black line in Fig. 3(c). Fig. 3(e) shows the intensity signal and segmentation result corresponding to the red lines in Fig. 3(a) and (b). Due to OCT's nature as a coherent imaging method, speckle noise is present in the signal. Speckle noise is generated by the interference of backscattered signals with random phases.45 This (multiplicative) noise can be reduced by averaging over repeated A-scans, through image filters such as spatial mean filters, a Lee filter,46 or more complex approaches.47,48 However, most spatial filters tend to blur edges within the signal, which are often the point of interest. Modern OCT systems often include settings to set the averaging during acquisition. After thresholding, some spurious structures will be classified as foreground due to the speckle noise in the signal. These structures can be reduced in a preprocessing step or after the image segmentation. Here, they are removed based on their size, and the droplet is selected as the largest structure within the scan (Fig. 3(b)). From this, a height map depicting the interface is calculated (Fig. 3(d)). This tutorial thus demonstrates how OCT can be applied to obtain spatial information of interfaces in 3D complex geometries. OCT is particularly convenient when there is a strong reflectivity at the interface. This results in a bimodal intensity distribution, where classical binarization techniques can be used.

3.1.2 Interface detection (low contrast). In many OCT scans, traditional thresholding approaches fail to separate foreground and background. If the two signals are separated by only a small difference in intensity compared to the noise level, the intensity distribution will not be bimodal, and therefore not suited for e.g. Otsu's method. Often, especially in the field of ophthamology, advanced methods using some form of machine-learning or active contour methods are implemented.47,49 In this second tutorial, we show the use of OCT for in situ measurements of a bacterial biofilm in a fluid flow as an example of such a signal (see t2_complex_thresholding.py). Biofilms consist of cells that are embedded in a matrix of extracellular polymeric substances.50 These cells attach to an interface, here the wall of a laminar flow cell, and grow into complex structures. Since the individual cells are smaller than the resolution of the OCT, the biofilm can be treated as a continuous material. In this example, we separate the two phases, i.e. the biofilm and the surrounding medium, using a thresholding algorithm that is informed by the characteristics of the OCT scan. The resulting intensity field can be used to calculate the characteristics of the biofilm, such as the volume.

Fig. 2(c) shows the configuration, where biofilm develops on the bottom wall of a channel in presence of liquid flow (flow rate 60 mL min−1). A 2D vertical slice of a volume scan containing biofilm is shown in Fig. 4(a), which can be processed to yield the isolated biofilm (Fig. 4(b)). The OCT beam is traversed over the field of view by two mirror galvanometers. Since these mirrors cannot occupy the same physical space, the actual path length of the beam within the OCT device depends on the current position of the mirrors. This causes, especially for large fields of view, a local offset in the signal, warping the acquired data. Thus, the substratum must be detected and aligned with the bottom of the scan to yield correct height information. The scan is characterized by a small amount of signal compared to the background. Therefore, no second peak can form in the intensity histogram (Fig. 4(c)), and Otsu's method is not able to correctly separate the biofilm from the background.


image file: d4sm01537a-f4.tif
Fig. 4 Tutorial 2: biofilm growing on a flat surface in a shear flow. (a) Raw intensity field along the dashed line in (d). (b) Isolated biofilm after processing. (c) Intensity histogram of the full measurement with binarization threshold in red. (d) Resulting height map of the droplet surface. The red line marks the location of the slice in (a) and (b). (e) Intensity signal and resulting segmentation along the red lines highlighted in (a) and (b).

Alternatively, a filter can be implemented based on the known shape of a typical scan containing small samples. The inherent noise in an OCT scan containing only background signal will create a Gaussian intensity distribution. Here, the foreground has a higher intensity, creating an inflection point in the intensity histogram that can be used to detect the threshold. The resulting threshold is again shown as a red line in Fig. 4(c). Finally, small, mostly floating, structures are eliminated via a modified median filter, that does not fill in any gaps. This filter compares the value of each pixel with its neighborhood and changes it from one to zero, if the median value within this neighborhood is zero. The resulting dataset contains the full three-dimensional geometry of a biofilm, enabling the calculation of parameters such as biofilm thickness (Fig. 4(d)), total biovolume, roughness metrics, or porosity. The intensity signal and resulting image segmentation along the red lines in Fig. 4(a) and (b) is shown in Fig. 4(e).

Since the OCT beam is able to penetrate more than a millimeter into the sample, thick, complex geometries can be resolved, whereas CLSM measurements struggle to penetrate more than a few hundred micrometers of material51 (see Fig. 2(b)). Additionally, voids within or beneath the biofilm can be resolved, compared to confocal laser scanning microscopy, where apparent voids can also be caused by signal attenuation or limited penetration of the fluorescent dye.51

3.1.3 Wall detection in opaque media. Many applications involve measurements near solid surfaces. In such cases, the location of the wall often needs to be determined with precision. Fig. 5(a) shows the vertical distribution of the mean intensity signal obtained when performing an A-scan of a water–milk mixture between two solid (PMMA) surfaces. The upper surface is clear and the lower surface is opaque, to avoid reflections. We observe a diffuse interface between the bottom wall and the liquid, which makes wall detection challenging. In particular, the scattering intensity of the milk is much larger than that of the clear material at the top as well as the opaque bottom of the channel. The interface can be detected via the maximum change of intensity between adjacent pixels. A different – and more robust – approach is to first down-sample the A-scan replicates, then calculate the standard deviation of the resulting intensities in time.
image file: d4sm01537a-f5.tif
Fig. 5 Tutorial 3: wall detection in a milk-filled channel. (a) Mean intensity along an A-scan. (b) Standard deviation of the mean intensity depending on the size of the averaging window, corresponding to the locations in (a).

Fig. 5(b) shows the standard deviation of the intensity signal σI for different window sizes used in the down-sampling. The colors of the curves in Fig. 5(b) correspond to the vertical locations marked in Fig. 5(a). We observe that the signal fluctuations in the bulk of the fluid and the solid (dotted lines) are much smaller compared to the fluctuations at the solid–fluid interfaces (red and blue lines). In addition, the fluctuations become independent of the window size for the positions corresponding to the top (red) and bottom (blue) walls. Thus, one way to determine the locations of the walls is by identifying the local maxima of the standard deviation of the intensity signal obtained from an A-scan.

3.1.4 Particle detection in transparent media. The intensity field obtained by OCT can be used to detect opaque particles dispersed in a transparent fluid. This enables investigating dynamics of non-colloidal particles migrating with relative velocities with respect to the fluid flows or using OCT as a particle-based flow measurement technique (e.g. PIV, PTV, etc.) by imaging the time-dependent dynamics of the faithful tracer particles. The former application is discussed in this section (t4_particle_detection.py) while an example of the latter is presented in Section 4.2.

The specific tomographic field of view accessible to OCT provides complementary information to the conventionally-used, top-view fluorescent microscopy in microfluidics.52Fig. 6 shows OCT intensity fields that were obtained when investigating the migration of rigid particles in a dilute polymeric fluid.53 Measurements were taken at a streamwise position of 60 mm, in a rectangular duct (cross-section 1 × 3.25 mm2). The long-chain polymeric solution (polyacrylamide, PAA) – transparent at the given concentration of 210 ppm – is detected as a weak source of contrast. In the raw intensity images shown in Fig. 6(a) and (d), traces of the polymeric network is visible as small dots. The more prominent bright spots correspond to PSP polyamide tracer particles (56 μm in diameter and dispersed at a volume fraction of 0.8% wt/vol). Two observations can be made. First, opaque particles have a better-defined top surface, as the OCT beam decays as it penetrates the solid, opaque particle. For relatively small particles, this effect will be negligible. Second, these opaque particles will cast a shadow within which the back-scattered signal will be dimmer. This will impose an upper limit on the volume fraction of the opaque particles dispersed in the fluid, as the statistics of the particles in lower-depth positions will be overshadowed by the upper layers.


image file: d4sm01537a-f6.tif
Fig. 6 Tutorial 4: polyacrylamide (PAA) 210 ppm, with 0.8% wt/vol 56 μm PSP polyamide tracer particles. The flow is directed into the plane. (a) and (d) Sample raw intensity field. (b) and (e) Binarized frame. (c) and (f) Probability distribution function of the particles over 500 frames. (a)–(c) Q = 5 mL min−1, (d)–(f) Q = 20 mL min−1.53

Fig. 6(b) and (e) show the results of image processing applied to the raw intensity fields, while Fig. 6(c) and (f) display the probability distribution function (PDF) of particles passing through the cross-section over 500 frames. We observe stationary contrast points, such as particles stuck to the duct walls, bubbles, glare points, and diffraction from solid boundaries. These points affect the scaling and statistics of the calculated PDF.

To address this issue, the first processing step involves subtracting the mean image from each frame in the series. This step was intentionally skipped for Fig. 6 to highlight the influence of stationary features. The second step normalizes the grayscale images, adjusting the gray value histogram of each frame to the full span from 0 to 255. Finally, a high-pass filter can sharpen particle interfaces, which is particularly useful for particle-based velocimetry techniques. However, this filtering was also omitted in the preparation of Fig. 6(b) and (e).

Next, a threshold is applied to binarize the filtered grayscale images into black-and-white ones. The threshold is determined using the method described in Section 3.1.2. The goal of these preprocessing steps is to retain as many particles of interest as possible while eliminating extraneous optical information and noise captured by the OCT system.

The left column of Fig. 6 (with flow rate Q = 5 mL min−1) illustrate the focusing effect of elasticity at low particle inertia. In the right column, at a higher flow rate (Q = 20 mL min−1), we observe inertial migration of the particles to a preferential location between the wall and the centerline (Ségre–Silfverberg effect).

3.2 Doppler-based schemes

3.2.1 A-Scans: 1D velocimetry. Using the Doppler phase shift mode introduced in Section 2.2, a velocity profile can be measured along the beam direction. Using the relation between the Doppler phase shift and the velocity in eqn (10), we calculate the streamwise velocity profile. Fig. 7(a) shows the velocity profile of laminar Newtonian flow in a duct (Fig. 2(d)). Here, the same setup as in Section 3.1.3 is used, with a milk–water solution flowing between two PMMA walls. The profile is validated with the analytical Boussinesq solution for rectangular ducts (see Amini et al.41 for details). The corresponding code can be found in t3_t5_DOCT_1D.py.
image file: d4sm01537a-f7.tif
Fig. 7 Tutorial 5: Doppler OCT velocimetry. (a) Validation of the full duct height velocity profile measured for a Newtonian fluid with the Boussinesq approximation series, and (b) raw intensity A-scan sequence.

Fig. 7(b) shows the time sequence of A-scans, in which the top and bottom walls are observable. As shown in Fig. 7(a), the local peaks in the intensity signal have been used to detect the exact position of the walls. Here, the depth resolution is 2.58 μm along the beam. The duct was positioned with an inclination of 6°. The profile is obtained for the spanwise middle point of the duct to minimize the effects of the sidewall. The height of the duct is 1 mm, and the volumetric flow rate is 0.4 mL min−1.

3.2.2 B-Scans: 2D velocimetry. Stacking lateral (or longitudinal) 1D A-scans will result in a 2D measurement of the flow field. The current state of the art allows for A-scan acquisition frequencies of [scr O, script letter O](10–100) kHz. The effective frequency (inverse of the time interval between two consecutive recordings) of B-scans is the A-scan frequency divided by the number of lateral pixels in the B-scan plus a small overhead for the fly-back of the mirror galvanometers.

It is important to note that Doppler OCT is inherently event-based, capturing physical information only at instances and locations, where contrast points pass through the test section. While it provides highly accurate instantaneous measurements, these are based on a non-uniform spatial and temporal grid. As a result, the entire velocity field must be corrected using either the volumetric flow rate or a known non-zero velocity at a single point. Gowda et al.12 used the following formulation for the velocity correction based on the volumetric flow rate

 
image file: d4sm01537a-t11.tif(11)
where Q is the volumetric flow rates set by a volumetric pump or measured by an independent device.

Here, we used the setup shown in Fig. 2(d). Undiluted milk is used as the scattering medium and the flow cell is a rectangular duct with cross-section 1 × 3.25 mm2. Fig. 8 shows an example of a 2D velocity field obtained by a D-OCT B-scan scheme. The associated script is available in t6_DOCT_2D.py. All of the following measurements have been trimmed to the interior of the channel. Fig. 8(a) shows the raw intensity field, which is captured simultaneously with the Doppler phase shift measurement. Fig. 8(b) displays a single-frame instantaneous velocity field, where the scattered nature of the raw data is evident. By limiting the data points to those deviating within a 10% margin from the mean of 500 frames, the sparsity of the raw data becomes apparent (Fig. 8(c)). Finally, Fig. 8(d) presents the temporal mean velocity field calculated over 500 frames (i.e., B-scan recordings). To demonstrate the usefulness of OCT for near-wall measurements, we can compute the mean magnitude of the shear rate field from the mean flow u, using

 
image file: d4sm01537a-t12.tif(12)


image file: d4sm01537a-f8.tif
Fig. 8 Tutorial 6: Doppler OCT 2D B-scans. (a) Intensity field. (b) Instantaneous velocity field. (c) Sparse data points within 10% margin of the mean velocity. (d) Mean velocity field over 500 frames. (e) Shear rate field. (f) Convergence of the mean velocity at different channel heights (5%, 10%, 25%, and 50% of the full height). The shaded regions represent a 5% deviation from the final mean.

This is shown in Fig. 8(e). To reduce noise in the signal, a Gaussian filter was applied prior to calculating the gradient. The convergence of the mean velocity at different channel heights along the spanwise centerline is shown in Fig. 8(f). Here, it can be seen that in this case, approximately 250 B-scans are required to obtain a converged result. The scattering properties of the medium and the density of contrast agents are key factors in this convergence. Note that convergence rates near walls can be different compared to far-field regions.

4 Applications

In this section, we provide several applications in fluid mechanics and soft matter physics, where OCT has been used. We hope that these showcases can provide further insight into the capacity of OCT, but also to inspire its use in problems that are traditionally addressed using other techniques.

4.1 Time-resolved velocimetry

The acquisition frequency of the OCT is relatively high ([scr O, script letter O](10–100) kHz) compared to the typical macroscopic time scales in many soft matter systems. Therefore, a wide range of filtering and signal processing methods are applicable to curate the raw, noisy data. The noise is mostly due the sparsity of the event-based measurement, as the contrast agents pass through the test section in a non-continuous manner. In this section, an example of ad hoc signal-processing methods to reduce noise is presented for the case of a complex fluid flow susceptible to shear-banding driven instabilities.

In general, as a common flow heterogeneity observed in some non-Newtonian fluid flows, shear-banding54 is related to meso-structural re-configuration the material undergoes in response to local shear. It has been shown that shear-banding fluids are prone to instabilities.55,56 Here, a pNIPAM-based microgel is studied with time-resolved OCT-based velocimetry (hereafter TR-DOCT). The sample fluid shows a high yield stress and weak footprints of shear-banding57 in its rheological flow curve. It should also be noted that the opaqueness of such fluids with packed internal structures (i.e., a 3D network of cross-linked microgel particles) would generally not allow the use of conventional velocimetry techniques (e.g., PIV, PTV, LDV, etc.). However, OCT measurements are possible without any added contrast agents.

Fig. 9(a) (red curve) shows the raw time signal of the normalized fluctuation velocity for a sample point located at the half-height of a duct (see Fig. 2) over 9800 recordings at 5.5 kHz. The raw signal shows sporadic unphysical large peaks. A scheme based on the second derivative of the signal can be used to detect the outliers (Fig. 9(b)). The outliers, identified by the peaks in the second derivative signal, are replaced through interpolation of their neighboring values. To determine the optimal threshold for detecting these outliers, a sweep of the threshold values is performed while monitoring variations in the rms of the resulting signal. It was observed that the control parameter urms shows two distinct drops as the threshold is reduced. The first drop corresponds to the removal of high-frequency noise (spurious outliers), while the second drop is associated with filtering out the actual physical portion of the time-resolved signal. The plateau between drops can be used to estimate the optimal threshold, balancing effective noise removal and signal preservation. The resulting outlier-free signal is shown in green color throughout Fig. 9. It should be noted, that this spectral decoupling is due to high frequency ranges of the instrument noise, compared to the relatively low frequency of the physical fluctuations in this millifluidic channel flow at low inertia.


image file: d4sm01537a-f9.tif
Fig. 9 Time-resolved Doppler velocimetry. (a) Raw time-resolved signal for a single point located at the half-height elevation of the duct, over 9800 consecutive A-scans at 5.5 kHz. (b) The peaks in the second derivative of the signal have been used as indicators of the outliers in the signal. (c) Low pass filtered signal, allowing frequencies below 50 Hz. (d) Histogram of the raw, outlier-free, and low pass filtered signals. (e) Spatiotemporal presentation of the raw time-resolved velocity profiles over half-height of the duct for 9800 A-scans (equivalent to 1.8 s). The sporadically distributed outliers range over ±500% of the bulk velocity UB. (f) Outlier-free spatiotemporal presentation of the velocity profiles, limiting the velocity variations to ±50% of the bulk velocity UB, and (g) using a low pass filter along time axis, and a moving average along the spatial axis to extract large scale structures of the fluctuation velocity.

Furthermore, through a priori knowledge of the noise spectrum, ad hoc tailored filters can be implemented to the outlier-free signal. Here, we have implemented a low-pass filter with a cut-off frequency of 50 Hz to isolate fluctuations from large scale structures passing through the test section. The filter was a 14th-order infinite impulse response (IIR) design, with a passband frequency of 50 Hz, stopband frequency of 65 Hz, passband ripple of 1 dB, and stopband attenuation of 30 dB. Fig. 9(c) shows the original signal in red and the velocity signal after outlier removal and low pass filtering in black. Fig. 9(d) shows the histogram of the raw (red), outlier-free (green) and large-scale low pass filtered signals (black). Implementing the above steps on the whole half-height velocity profile, Fig. 9(e)–(g) illustrate the raw, outlier-free and low pass filtered signals, respectively.

4.2 Particle-based velocimetry using OCT

Using high frequency B-scans in a vertical plane parallel to the flow direction, the intensity field obtained from OCT can be used for 2D2C (i.e., 2 velocity components on a 2D field of view) particle-based velocimetry schemes such as planar PIV and PTV. Unlike Section 3.1.4, where macroscopic particles with non-zero relative velocities compared to their surrounding fluid medium were considered, here small, neutrally buoyant tracer particles are used, which faithfully follow the flow.

More specifically, 220 ppm of titanium dioxide (TiO2) particles (nominal diameter 1 μm) were dissolved in DI-water. Fig. 10 shows the particle-based velocimetry in a 1 × 1 mm2 duct with a 4 mm-long rectangular cavity of 1 × 1 mm2 cross-section. The cavity is located 40 mm from both the inlet and the outlet of the duct. A constant flow rate of 0.2 mL min−1 is maintained and the OCT intensity A-scans are stacked in a vertical plane along the flow direction in the mid-span of the duct and the cavity, making a 1000 pixel wide B-scan. Moreover, the measurement were performed at 76 kHz A-scan acquisition frequency for 500 consecutive frames (B-scans) spanning over a duration of 6.58 s. Pixel dimensions are 2.58 μm in depth and 5 μm in the longitudinal directions. In order to guide the reflections away from the receiver, the setup is tilted at a small angle.


image file: d4sm01537a-f10.tif
Fig. 10 Particle-based velocimetry schemes based on OCT intensity B-scans in flow direction on the mid-span plane of a cavity. (a) Snapshots of the intensity measurements at different focal plane depths. Frame colors correspond to the color bar in (b). (b) Superposition of the snapshots in (a), color coded based on the depth of the focal plane. (c) Sample gray-scale input frame, after subtraction of the mean (over 40 frames). (d) Normalized gray-scale image to the range [0,255]. (e) High pass filtered image, with sharpened particle edges. (f) Binarized image (black-and-white scale). (g) Superposition of 5 frames, with intervals of 5 frames for independent sampling. (h) Particle image velocimetry (PIV) results for 2D2C velocity field. (i) Lagrangian particle tracking (LPT) results for trajectories of the particles obtained through collapsing a sequence of 40 frames.

We consider a 2 mm depth of the field of interest. The PIV/PTV input frames are obtained by superposing five series of measurements acquired with the OCT focal plane sweeping in the depth direction (Fig. 10(a)). The superposition of the frames, shown in Fig. 10(b), assumes that the flow field is steady. A snapshot of the mean-subtracted stacked intensity field (Fig. 10(c)) is then normalized to fit the grayscale range [0,255] (Fig. 10(d)). A high-pass filter (HPF) is then applied to the image to sharpen the particle interfaces (Fig. 10(e)), before the image is binarized (Fig. 10(f)). Given the steady flow field, 5 frames (each 5 frames apart) are superimposed to increase the tracer particles density (Fig. 10(g)).

Fig. 10(h) shows the mean flow field obtained through post processing the images with a PIV script. Three passes have been used in searching for correlation of interrogation windows (IWs) of 64 × 64, 32 × 32, and 16 × 16 pxl2, respectively. The search windows (SWs) are set to 2 times the dimensions of the IWs at each pass. The steps (i.e., increments between the center point of neighbor IWs) are set to 50% overlap. The same images were also used for Lagrangian particle tracking (LPT) through collapsing a time sequence of 40 processed images (Fig. 10(g)), shown in Fig. 10(i) as a proof of concept.

4.3 Slip velocity

Slip refers to the phenomenon where the velocity of a fluid differs from that of the solid surface in contact with it.58 Depending on the length scale considered, slip can be categorized as either intrinsic or apparent. Intrinsic slip occurs at the molecular level, where fluid constituents are effectively sliding on the solid surface. Experimental measurements have reported molecular slip lengths of the order of tens of nanometers.59–66 Commonly used measurement techniques are colloidal probe atomic force microscopy (AFM)67,68 and surface force apparatus (SFA),60,63 which provide nanometric resolution. Apparent slip, in contrast, is typically observed at larger scales, such as in flows over gas or liquid layers. The slip lengths measured using conventional techniques typically range from 1 to 100 μm.69–73 With a spatial resolution of [scr O, script letter O](1) μm, OCT is well suited to measure apparent slip. In the following, we will refer to apparent slip simply as slip.
4.3.1 Single phase yield stress fluids. Yield-stress fluids (for example, microgels and concentrated emulsions) tend to slip on smooth surfaces, and an unknown degree of slip disturbs both rheological characterisation of yield-stress fluids and flow measurements. Fig. 11(a) shows an example of a 2D B-scan on the cross-section of a rectangular duct. A yield stress fluid (YSF) has been used, in which the internal structure of the complex fluid provides the required opaqueness for the OCT measurements, i.e., no contrast agent (dyes or particles) needs to be added. The stress versus strain behavior of this class of complex fluids can be modeled with the Herschel–Bulkley constitutive equations:
 
image file: d4sm01537a-t13.tif(13)
Here, τy denotes the yield stress (i.e., the thresholding limit of stress required to fluidize the material), while κ and n represent, respectively, the consistency parameter and the power-law exponent of the model.74Fig. 11(b) compares the velocity profile measured below the top wall (see the dotted line in Fig. 11(a)) with the analytical solution obtained by inserting the Herschel–Bulkley model (13) into the stress term in the Navier–Stokes equations:75
 
image file: d4sm01537a-t14.tif(14)
where G is the streamwise pressure gradient and κ and n denote the Herschel–Bulkley constitutive model fit parameters. Here, us represents the slip velocity, as a prominent slippage on the wall is observed in YSFs, and the yielding height zy (i.e., the elevation of the starting point of the unyielded plug region in the center of the duct, where the local shear stress is below that of the yielding limit) is obtained by:
 
image file: d4sm01537a-t15.tif(15)

image file: d4sm01537a-f11.tif
Fig. 11 A sample YSF in a rectangular duct. (a) Cross-sectional velocity field. (b) Validation of the velocity profile obtained on the mid-span of the duct with the analytical solution eqn (14) based on the Herschel–Bulkley constitutive equation.
4.3.2 Fluid interfaces. In addition to non-Newtonian fluids, slip occurs in situations where there is a fluid–fluid interface. Examples include superhydrophobic surfaces (SHSs) – where the interface is between water and air – and lubricant-infused surfaces (LISs), where water flows over an immiscible liquid, often an oil. With OCT, near-interface velocity and interface shape can be measured simultaneously, allowing for accurate local slip length calculations. Fig. 12 illustrates slip length measurement over a LIS in a rectangular duct. The rectangular grooves are infused with hexadecane and aligned parallel to the overlying water flow. The grooves have a width of 223 μm, a depth of 237 μm, and are 80 mm long, corresponding to the length of the rectangular duct. The cross-section of the duct is 1 × 3.25 mm2.
image file: d4sm01537a-f12.tif
Fig. 12 Experimental measurement of slip length on LIS. (a) Intensity image of the cross-section of the rectangular duct. At the upper wall the oil infusing the grooves appears black and water appears gray. The colored areas correspond to the probed regions. The scale bar equals 250 μm. (b) Exemplary velocity profiles on a water–solid area (blue) and on a water–oil area (orange). The colored intervals around the markers represent the standard deviation of the measurements. (c) Slip velocities normalized with the maximum velocity with respect to the spanwise position. (d) Local slip lengths with respect to the spanwise position.

Water is mixed with bovine milk (volume ratio of 5[thin space (1/6-em)]:[thin space (1/6-em)]1) to distinguish it from the lubricant phase (Fig. 12(a)). Additionally, milk provides the scattering particles needed for Doppler measurements. A series of A-scans were performed in the spanwise direction, from one central ridge to an adjacent one, covering the water–lubricant, and water–solid interfaces. Fig. 12(b) shows two profiles; red curve corresponds to profile at water–solid boundary, where the velocity is zero, and the blue curve is over a water–lubricant interface, where a non-zero velocity is measured. From these velocity profiles, the local slip length b is calculated as the ratio between the slip velocity and the velocity gradient,

 
image file: d4sm01537a-t16.tif(16)
Fig. 12(c) shows the slip velocities (left panel) and the corresponding slip lengths (right panel). The liquid interface forms a curved meniscus that is deflected into the groove. The curvature of the meniscus, extracted from the B-scan, provides insight into the relationship between interface curvature and slippage.

4.4 Shear-induced structure detection

Since the OCT intensity signal arises from the back-scattering properties of the material, structural heterogeneities can be detected if they cause sufficiently large refractive index variations. In this section, we demonstrate an example of the detection of shear-induced structure (SIS) in single-phase polymeric fluids. Here, local shear enhances the nematic order within an otherwise entangled phase at rest.76,77

Fig. 13(a) shows a B-scan (cross-sectional intensity) of a highly concentrated aqueous solution of high molecular weight (MW > 15 × 106 Da) polyacrylamide in quiescence. Since the fluid sample is transparent – and thereby undetectable by OCT – a rheologically insignificant amount of rhodamine dye (0.05% wt/vol) has been added to it, which is seen in Fig. 13(a) as bright dots. When we introduce a flow in the channel, it is observed that due to rheologically complex attributes of this viscoelastic fluid, the high shear rate regions of the duct in flow undergo a nematic phase change (Fig. 13(b)). The bright and dark regions in the OCT intensity shows a distinctive footprint of the so-called oriented and entangled phases in the polymer network. To capture the effect of orientation of the polymer chains near the high shear rate regions, polarized light imaging (PLI) measurements are performed on the fluid at rest (Fig. 13(c)) and in flow (Fig. 13(d)). The brighter signal obtained from the center line of the top view of the duct indicates higher contribution of the oriented (bright) region integrated along scanning (i.e., z) direction.


image file: d4sm01537a-f13.tif
Fig. 13 Flow of polyacrylamide (PAA) in a rectangular duct. (a) Intensity measurement on the fluid at rest. (b) Intensity measurement on the flow at 0.4 mL min−1. (c) Polarized light imaging on the fluid at rest. (d) Polarized light imaging on the flow at 0.4 mL min−1. (e) Mean velocity field on the duct cross-section. (f) Time-resolved half-height velocity profile spacetime. (g) Time-resolved half-height fluctuation velocity profile spacetime.

Fig. 13(e) shows the mean velocity distribution. We observe a complex flow due to the interplay between the orientation, modified rheology, and the instantaneous velocity field leads. A locally higher velocity of the fluid in the relatively low viscosity phase in the oriented regions is also visible. The modified local rheology of the medium determines the amplitude of fluctuations, as observed in the mean (Fig. 13(f)) and fluctuation (Fig. 13(g)) space-times. The data highlights that higher temporal variations of possibly elastic instabilities occur in the entangled phase, which retains its initially high elasticity. Note that the time-resolved velocimetry data presented in Fig. 13 is derived by binning every 50 consecutive A-scans into a single data point. None of the signal processing steps outlined in Section 4.1 have been applied here, as the focus of this analysis is to identify the locations of high-fluctuation regions within the flow field, rather than the dynamics of large-scale structures.

4.5 Fluid–structure interaction

In this example, we demonstrate how OCT can be used for studying the interaction between fluid flows and deformable solids. The lower wall of a millifluidic channel is patterned with a surface composed of regularly placed pillars whose height corresponds to 60% of the channel height. The pillars, made of a flexible resin, are bent when a laminar flow is imposed in the channel at the flow rates of 20, 50 and 90 mm3 s−1. The shear force caused by the flow will bend the pillars, and the extent of the deflection δ depends on both the force applied and the material properties of the pillars. At equilibrium, the bending of the pillars is determined by balancing the fluid shear force and the pillar stiffness. The non-dimensional deflection δ at equilibrium of pillar with the diameter d can be written as
 
image file: d4sm01537a-t17.tif(17)
where η is the fluid viscosity, Q the flow rate, L is the pillars' height, E the Young modulus of the pillars and H and D are the height and width of the channel, respectively.

Using a 3D C-scan, we measure the deflection of the structure from its resting condition to estimates its bending stiffness. Fig. 14(a) shows how the pillars bend in response to fluid flow, and quantitative measurements can be used to estimate E and the bending modulus B. Velocity measurements are carried out using D-OCT at two different inclinations to measure the streamwise and wall-normal components of the velocity field around the pillars (Fig. 14(b) and (c)). These measurements confirm the presence of Poiseuille-type flow above the pillars and provide insights into how the fluid followed the curve of the pillars as they bend. As final demonstration, we use both miscible (glycerol and milk) and immiscible (silicone oil and milk) fluids in static and dynamic conditions. In the glycerol–milk system, milk gradually displace glycerol from above, and with OCT scans the interface between the two fluids are visualized as they mixed. In contrast, the silicone oil–milk system, due to the immiscibility and different densities, exhibited a more complex interaction, with milk displacing oil from below, and oil bubbles being trapped between the pillars, as shown in Fig. 14(d).


image file: d4sm01537a-f14.tif
Fig. 14 Study of interaction between flexible pillars and laminar flow. (a) The pillars reconstructed from a 3D scan with OCT are straight in absence of flow (left) and bent at the flow rate of Q = 70 mm3 s−1 (right). (b) Velocity field in the channel for Q = 50 mm3 s−1 where the streamwise component is shown in the tiles on the left and the wall-normal component in the tiles on the right. Where the pillars are represented with solid white lines the measurement plane crosses a line of pillars whereas if the pillars are shown as dashed lines, the plane is in between them. (c) Streamwise component of the velocity at different locations and for different flow rates. The locations are represented with a red cross on the map at the right bottom of each plot. (d) 2D cut of the system with pure silicone oil in black and pure milk in white, viewed from above (left) and viewed from the side (right). Bubbles of oil are present between pillars. Figure adapted from Ricard.78

4.6 Fluid–fluid interaction

In this final example, we use OCT to capture the movement of oscillating drops in a laminar flow.

We consider a millifluidic channel where the bottom wall is engraved with longitudinal grooves exposed to a steady laminar flow (3.5 mL min−1) of a milk–water mixture. The cross section of the grooves have dimensions 243 × 376 μm. Lubricant oil (hexadecane) infuses the grooves and eventually elongated drops are formed due to capillary instabilities at the water–oil interface. The front of the drops is pinned to the bottom of the grooves because of the high contact angle hysteresis. The water–lubricant interface of the confined droplets are captured under dynamic conditions and the height maps are derived from the intensity data. The compact design of the OCT device allows it to be directly integrated with the small-scale microfluidic setup, enabling volume acquisitions during flow experiments. These observations reveal the shape alterations of lubricant droplets under laminar flow. When the duct is filled but no flow is present, the drops' interface remain flat along the streamwise direction (Fig. 15(a)). However, under stationary flow conditions, the interfaces deform, protruding over the adjacent ridges (Fig. 15(b)). Panels (c) and (d) show the 2D projections of the surfaces highlighting the vertical deformation in several spanwise positions inside the central groove of the analyzed volume.


image file: d4sm01537a-f15.tif
Fig. 15 Topological 3D scans of hexadecane drops confined in parallel grooves. (a) The interface liquid–solid and liquid–liquid is captured in absence of flow and (b) with a flow rate of 3 mL min−1. (c) The interface profiles of the central drop at different spanwise position are plotted for the steady and (d) in the dynamic case. The arrow in (d) shows the direction of the spanwise position of slices towards the groove side-walls.

In the same experiment, a series of intensity acquisitions of the vertical plane along a single drop was captured at a frequency of 5 Hz over approximately 7 minutes. As shown in the image series (see video in the ESI), the oscillating motion of the interface is clearly resolved. This demonstrates the capacity of using OCT for capturing multi-phase dynamics. However, there are some limitations to consider. The optical field of view is constrained to the millimeter scale, depending on the lens used, and the temporal resolution t depends on the lateral dimension of the field of view, number of pixels N, and the scanning frequency fS as image file: d4sm01537a-t18.tif. For the acquisition of the B-scan, one should add 2 ms which is approximately the time needed for the probe to move back at the initial position after each A-scan. This temporal limitation should be compared to the characteristic time scale of the phenomenon under study to find the best settings.

5 Notes to practitioners

In this section, we share a set of practical guidelines drawn from our experience with OCT measurements. While these guidelines reflect general principles for operating OCT systems, case-specific adjustments may be necessary to achieve optimal results.

(1) Avoid autocorrelation noise – visible as horizontal bright lines – by increasing the A-scan rate36 or avoiding reflective interfaces that are perpendicular to the light beam. If this is not possible, the OCT system may be modified to reduce this noise during data acquisition.42,43,79

(2) A useful range of inclination angles for D-OCT measurements is between 3° and 9°, allowing for a high range of velocities over an almost vertical cross-section.

(3) The bottom surface of a flow-cell should be matte and opaque to minimize optical artifacts.

(4) The thickness of the optical access window – usually with a refractive index larger than water – should be limited to a few millimeters. Thick windows artificially increase the path length, potentially requiring modification of the reference arm of the OCT.

(5) Spectral averaging – repeating and averaging each A-scan in D-OCT measurements – decreases the effective A-scan rate. For a given target scan rate, a higher acquisition rate with the corresponding averaging appears to yield better results.

(6) Excessive noise in Doppler measurements may be caused by insufficient overlap between adjacent A-scans. This overlap should be larger than 50%.

(7) Velocity distributions that are close to the limits of the velocity range may wrap to a negative Doppler phase.

6 Conclusions and outlook

Optical coherence tomography (OCT) has emerged as a powerful tool for characterizing fluids, structures and their interactions in soft matter problems. Its unique ability to capture mesoscopic features in both space and time has filled an instrumental gap, enabling researchers to investigate confined and dynamic systems. The short acquisition times, especially compared to confocal laser scanning microscopy, make it possible to capture changes in three-dimensional structures on a scale of minutes. Limiting the acquisition to 2-dimensional B-scans, even faster changes can be measured, enabling for example contactless creep tests. Doppler-OCT can be used to obtain accurate velocity profiles, especially close to walls, where other measurement techniques often struggle.

While OCT has been employed in a variety of soft matter contexts, its potential remains largely untapped in several areas such as active matter, microfluidics, and bioengineering. We anticipate that further developments will push the boundaries of what can be measured, such as real-time polarized light imaging and probing for micro-structure anisotropies. However, there are still challenges that need to be overcome to further broaden the OCT applications. Achieving quantitative measurements in transparent media requires the addition of contrasting agents, which is largely unexplored. This is particularly, challenging in interfacial flows, where the adsorption of the seeding particles can modify the interfacial physics, for example through Marangoni-stress. Currently, Doppler-OCT measurements require some a priori knowledge to correctly scale the velocities as in eqn (11). Further research in the dependency of this correction factor on environmental parameters would significantly expand the range of applications of Doppler-OCT.

In this review, we have outlined the technical principles of OCT, provided hands-on tutorials to encourage adoption, and showcased its versatility in applications ranging from time-resolved velocimetry to fluid–structure interactions and interface tracking. We hope that the tutorials and showcases in this work increase the accessibility of OCT, contribute to a broader user base and encourage novel applications.

Author contributions

The paper was written by KA, CW, SS with feedback OT, FL and SB.

Data availability

Since this is a tutorial review, the data presented has been published by the authors according to the references or prepared specifically for the purpose of this tutorial. In the latter case, the data can be reproduced using the Python scripts. The Python scripts for this article can be found at this repository https://github.com/Fluids-Surfaces-Group/.

Conflicts of interest

There are no conflicts to declare.

Acknowledgements

We would like to thank Christophe Brouzet and Guillaume Ricard for Fig. 14 and the associated work. CW, SB and SS gratefully acknowledge the support of European Research Council (ERC) through project (CoG-101088639 LUBFLOW). KA, FL gratefully acknowledge the support of the Marie Skłodowska-Curie grant agreement no. 955605 YIELDGAP. OT gratefully acknowledges the support of ERC (StG-852529 MUCUS).

Notes and references

  1. T. Yonetsu, B. E. Bouma, K. Kato, J. G. Fujimoto and I.-K. Jang, Circ. J., 2013, 77, 1933–1940 CrossRef PubMed.
  2. J. L. Gutierrez-Chico, E. Alegría-Barrero, R. Teijeiro-Mestre, P. H. Chan, H. Tsujioka, R. de Silva, N. Viceconte, A. Lindsay, T. Patterson and N. Foin, et al. , Eur. Heart J.:Cardiovasc. Imaging, 2012, 13, 370–384 Search PubMed.
  3. J. Welzel, Sking Res. Technol., 2001, 7, 1–9 CrossRef CAS PubMed.
  4. T. Gambichler, G. Moussa, M. Sand, D. Sand, P. Altmeyer and K. Hoffmann, J. Dermatol. Sci., 2005, 40, 85–94 CrossRef PubMed.
  5. T.-H. Tsai, C. L. Leggett, A. J. Trindade, A. Sethi, A.-F. Swager, V. Joshi, J. J. Bergman, H. Mashimo, N. S. Nishioka and E. Namati, J. Biomed. Opt., 2017, 22, 121716 Search PubMed.
  6. S. Haavisto, A. I. Koponen and J. Salmela, New insight into rheology and flow properties of complex fluids with Doppler optical coherence tomography, 2014 Search PubMed.
  7. S. Haavisto, J. Salmela, A. Jäsberg, T. Saarinen, A. Karppinen and A. Koponen, Rheological characterization of microfibrillated cellulose suspension using optical coherence tomography, 2015 Search PubMed.
  8. J. Lauri, A. Koponen, S. Haavisto, J. Czajkowski and T. Fabritius, Cellulose, 2017, 24, 4715–4728 CrossRef CAS.
  9. M. Jalaal, C. Seyfert, B. Stoeber and N. J. Balmforth, J. Fluid Mech., 2018, 837, 115–128 Search PubMed.
  10. N. Weiss, T. G. van Leeuwen and J. Kalkman, Phys. Rev. E:Stat., Nonlinear, Soft Matter Phys., 2013, 88, 042312 Search PubMed.
  11. P. H. Tomlins and R. K. Wang, J. Phys. D: Appl. Phys., 2005, 38, 2519 CrossRef CAS.
  12. V. K. Gowda, C. Brouzet, T. Lefranc, L. D. Söderberg and F. Lundell, J. Fluid Mech., 2019, 876, 1052–1076 CrossRef.
  13. J. Lauri, S. Haavisto, J. Salmela, A. Miettinen, T. Fabritius and A. I. Koponen, Cellulose, 2021, 28, 3373–3387 CrossRef CAS.
  14. C. Xi, D. L. Marks, D. S. Parikh, L. Raskin and S. A. Boppart, Proc. Natl. Acad. Sci. U. S. A., 2004, 101, 7516–7521 CrossRef CAS PubMed.
  15. E. J. Sewalt, J. Kalkman, J. van Ommen, G. M. Meesters and V. van Steijn, Food Res. Int., 2022, 157, 111049 CrossRef CAS PubMed.
  16. C. E. Riva, M. Geiser, B. L. Petrig and O. B. F. R. Association, Acta Ophthalmol., 2010, 88, 622–629 CrossRef PubMed.
  17. A. Jäsberg, A. Puisto, I. Leppänen, A. I. Koponen and M. J. Alava, Cellulose, 2023, 30, 3539–3550 Search PubMed.
  18. C. Haisch and R. Niessner, Water Res., 2007, 41, 2467–2472 Search PubMed.
  19. M. Wagner and H. Horn, Biotechnol. Bioeng., 2017, 114, 1386–1402 Search PubMed.
  20. K. T. Huisman, B. Blankert, H. Horn, M. Wagner, J. S. Vrouwenvelder, S. Bucs and L. Fortunato, J. Membr. Sci., 2023, 122291 Search PubMed.
  21. C. Xi, D. Marks, S. Schlachter, W. Luo and S. A. Boppart, J. Biomed. Opt., 2006, 11, 034001 CrossRef PubMed.
  22. F. Blauert, H. Horn and M. Wagner, Biotechnol. Bioeng., 2015, 112, 1893–1905 Search PubMed.
  23. C. Picioreanu, F. Blauert, H. Horn and M. Wagner, Water Res., 2018, 145, 588–598 Search PubMed.
  24. L. Gierl, K. Stoy, A. Faíña, H. Horn and M. Wagner, npj Biofilms Microbiomes, 2020, 6, 18 CrossRef CAS PubMed.
  25. C. Wittig, M. Wagner, R. Vallon, T. Crouzier, W. van der Wijngaart, H. Horn and S. Bagheri, npj Biofilms Microbiomes, 2025, 11, 17 Search PubMed.
  26. A. M. J. Edwards, P. S. Atkinson, C. S. Cheung, H. Liang, D. J. Fairhurst and F. F. Ouali, Phys. Rev. Lett., 2018, 121, 184501 CrossRef CAS PubMed.
  27. H. Huang, Y. Huang and W. Lau, et al. , Sci. Rep., 2018, 8, 12962 Search PubMed.
  28. D. A. Boas and A. K. Dunn, J. Biomed. Opt., 2010, 15, 011109 CrossRef PubMed.
  29. K. Abe, P. S. Atkinson, C. S. Cheung, H. Liang, L. Goehring and S. Inasawa, Soft Matter, 2024, 20, 2381–2393 Search PubMed.
  30. A. Saxena, C. Tsakonas, D. Chappell, C. S. Cheung, A. M. J. Edwards, H. Liang, I. C. Sage and C. V. Brown, Micromachines, 2021, 12, 1583 Search PubMed.
  31. B. E. Bouma, J. F. de Boer, D. Huang, I. K. Jang, T. Yonetsu, C. L. Leggett, R. Leitgeb, D. D. Sampson, M. Suter, B. Vakoc, M. Villiger and M. Wojtkowski, Nat. Rev. Methods Primers, 2022, 2, 79 Search PubMed.
  32. A. F. Fercher, W. Drexler, C. K. Hitzenberger and T. Lasser, Rep. Prog. Phys., 2003, 66, 239 CrossRef.
  33. Z. Chen, Encyclopedia of Modern Optics – Tomography and Optical Imaging, Elsevier, 2005, pp. 206–217 Search PubMed.
  34. P. Targowski and M. Iwanicka, Appl. Phys. A:Mater. Sci. Process., 2012, 106, 265–277 Search PubMed.
  35. G. Häusler and M. W. Lindner, J. Biomed. Opt., 1998, 3, 21–31 CrossRef PubMed.
  36. N. Nassif, B. Cense, B. Park, M. Pierce, S. Yun, B. Bouma, G. Tearney, T. Chen and J. D. Boer, Opt. Express, 2004, 12, 367–376 Search PubMed.
  37. A. Yasin Alibhai, C. Or and A. J. Witkin, Curr. Ophthalmol. Rep., 2018, 6, 7–16 CrossRef.
  38. J. Schindelin, I. Arganda-Carreras, E. Frise, V. Kaynig, M. Longair, T. Pietzsch, S. Preibisch, C. Rueden, S. Saalfeld, B. Schmid, J.-Y. Tinevez, D. J. White, V. Hartenstein, K. Eliceiri, P. Tomancak and A. Cardona, Nat. Methods, 2012, 9, 676–682 CrossRef CAS PubMed.
  39. S. Van der Walt, J. L. Schönberger, J. Nunez-Iglesias, F. Boulogne, J. D. Warner, N. Yager, E. Gouillart and T. Yu, PeerJ, 2014, 2, e453 Search PubMed.
  40. MATLAB R2023a, The MathWorks Inc., Natick, Massachusetts, United States, 2023 Search PubMed.
  41. K. Amini, A. A. Mishra, A. K. Sivakumar, D. Arlov, F. Innings, R. Kádár, O. Tammisola and F. Lundell, Phys. Fluids, 2024, 36, 023107 CrossRef CAS.
  42. R. K. Wang and Z. Ma, Phys. Med. Biol., 2006, 51, 3231–3239 Search PubMed.
  43. C. S. Seelamantula, M. L. Villiger, R. A. Leitgeb and M. Unser, J. Opt. Soc. Am. A, 2008, 25, 1762–1771 CrossRef PubMed.
  44. N. Otsu, IEEE Trans. Syst. Man Cybern., 1979, 9, 62–66 Search PubMed.
  45. J. M. Schmitt, S. H. Xiang and K. M. Yung, J. Biomed. Opt., 1999, 4, 95–105 CrossRef CAS PubMed.
  46. J. S. Lee, IEEE Trans. Pattern Anal. Mach. Intell., 1980, 2, 165–168 CAS.
  47. R. Kafieh, H. Rabbani and S. Kermani, J. Med. Signals Sens., 2013, 3, 45–60 Search PubMed.
  48. A. Stankiewicz, T. Marciniak, A. Dabrowski, M. Stopa, P. Rakowicz and E. Marciniak, Bull. Pol. Acad. Sci.:Tech. Sci., 2017, 65, 71–78 Search PubMed.
  49. A. Baghaie, Z. Yu and R. M. D'Souza, Quant. Imaging Med. Surg., 2015, 5, 603–617 Search PubMed.
  50. H.-C. Flemming and J. Wingender, Nat. Rev. Microbiol., 2010, 8, 623–633 CrossRef CAS PubMed.
  51. M. Wagner, D. Taherzadeh, C. Haisch and H. Horn, Biotechnol. Bioeng., 2010, 107, 844–853 CrossRef CAS PubMed.
  52. S. Tanriverdi, J. Cruz, S. Habibi, K. Amini, M. Costa, F. Lundell, G. Mårtensson, L. Brandt, O. Tammisola and A. Russom, Microsyst. Nanoeng., 2024, 10, 87 CrossRef CAS PubMed.
  53. K. Amini, G. Martensson, O. Tammisola and F. Lundell, Experimental Investigation on Particle-Laden Flows of Viscoelastic Fluids in Micro-Channels Using Optical Coherence Tomography, 2023, https://arxiv.org/abs/2302.13050 Search PubMed.
  54. T. Divoux, M. A. Fardin, S. Manneville and S. Lerouge, Annu. Rev. Fluid Mech., 2016, 48, 81–103 CrossRef.
  55. P. Pakdel and G. H. McKinley, Phys. Rev. Lett., 1996, 77, 2459–2462 Search PubMed.
  56. S. S. Datta, A. M. Ardekani, P. E. Arratia, A. N. Beris, I. Bischofberger, G. H. McKinley, J. G. Eggers, J. E. López-Aguilar, S. M. Fielding, A. Frishman, M. D. Graham, J. S. Guasto, S. J. Haward, A. Q. Shen, S. Hormozi, A. Morozov, R. J. Poole, V. Shankar, E. S. G. Shaqfeh, H. Stark, V. Steinberg, G. Subramanian and H. A. Stone, Phys. Rev. Fluids, 2022, 7, 080701 CrossRef.
  57. T. Divoux, V. Lapeyre, V. Ravaine and S. Manneville, Phys. Rev. E:Stat., Nonlinear, Soft Matter Phys., 2015, 92, 060301 Search PubMed.
  58. R. W. Johnson, Handbook of fluid dynamics, CRC Press, 2016 Search PubMed.
  59. R. Pit, H. Hervet and L. Léger, Tribol. Lett., 1999, 7, 147–152 CrossRef CAS.
  60. J. Baudry, E. Charlaix, A. Tonck and D. Mazuyer, Langmuir, 2001, 17, 5232–5236 CrossRef CAS.
  61. V. S. Craig, C. Neto and D. R. Williams, Phys. Rev. Lett., 2001, 87, 054504 CrossRef CAS PubMed.
  62. E. Bonaccurso, M. Kappl and H.-J. Butt, Phys. Rev. Lett., 2002, 88, 076103 CrossRef PubMed.
  63. C. Cottin-Bizonne, B. Cross, A. Steinberger and E. Charlaix, Phys. Rev. Lett., 2005, 94, 056102 CrossRef CAS PubMed.
  64. P. Joseph and P. Tabeling, Phys. Rev. E:Stat., Nonlinear, Soft Matter Phys., 2005, 71, 035303 CrossRef PubMed.
  65. D. Lasne, A. Maali, Y. Amarouchene, L. Cognet, B. Lounis and H. Kellay, Phys. Rev. Lett., 2008, 100, 214502 CrossRef CAS PubMed.
  66. E. Lauga, M. Brenner, H. A. Stone, J. Foss, C. Tropea and A. Yarin, Handbook of experimental fluid dynamics, 2005 Search PubMed.
  67. L. R. Scarratt, L. Zhu and C. Neto, Langmuir, 2020, 36, 6033–6040 CrossRef CAS PubMed.
  68. L. Zhu, P. Attard and C. Neto, Langmuir, 2011, 27, 6712–6719 Search PubMed.
  69. S. J. Lee, H. N. Kim, W. Choi, G. Y. Yoon and E. Seo, Soft Matter, 2019, 15, 8459–8467 RSC.
  70. S. J. Lee, S. Heo, G. Y. Yoon, E. Seo and W. Choi, AIP Adv., 2020, 10, 125123 Search PubMed.
  71. B. R. Solomon, K. S. Khalil and K. K. Varanasi, Langmuir, 2014, 30, 10970–10976 Search PubMed.
  72. J.-H. Kim and J. P. Rothstein, Exp. Fluids, 2016, 57, 1–9 CrossRef.
  73. J. Ou and J. P. Rothstein, Phys. Fluids, 2005, 17, 103606 Search PubMed.
  74. W. H. Herschel and R. Bulkley, Kolloid-Z., 1926, 39, 291–300 Search PubMed.
  75. P. Panaseti, A.-L. Vayssade, G. C. Georgiou and M. Cloitre, Rheol. Acta, 2017, 56, 539–553 CrossRef CAS.
  76. R. Bird, R. Armstrong and O. Hassager, Dynamics of Polymeric Liquids, John Wiley & Sons, New York, 1987, vol. 1 Search PubMed.
  77. W.-M. Kulicke, R. Kniewske and J. Klein, Prog. Polym. Sci., 1982, 8, 373–468 CrossRef CAS.
  78. G. Ricard, Characterisation of textured surfaces under a laminar flow by Optical Coherence Tomography, 2018, https://www.bagherigroup.com/wp-content/uploads/2018/08/2018.08_report_internship_GuillaumeRicard.pdf Search PubMed.
  79. J. Ai and L. V. Wang, Appl. Phys. Lett., 2006, 88, 111115 CrossRef.

Footnotes

Electronic supplementary information (ESI) available. See DOI: https://doi.org/10.1039/d4sm01537a
KA and CW had equal contributions.

This journal is © The Royal Society of Chemistry 2025
Click here to see how this site uses Cookies. View our privacy policy here.