Hostname: page-component-77f85d65b8-grvzd Total loading time: 0 Render date: 2026-04-18T18:39:42.106Z Has data issue: false hasContentIssue false

Joint reconstruction and segmentation of noisy velocity images as an inverse Navier–Stokes problem

Published online by Cambridge University Press:  04 July 2022

Alexandros Kontogiannis
Affiliation:
Department of Engineering, University of Cambridge, Trumpington Street, Cambridge CB2 1PZ, UK
Scott V. Elgersma
Affiliation:
Department of Chemical Engineering & Biotechnology, University of Cambridge, Philippa Fawcett Drive, Cambridge CB3 0AS, UK
Andrew J. Sederman
Affiliation:
Department of Chemical Engineering & Biotechnology, University of Cambridge, Philippa Fawcett Drive, Cambridge CB3 0AS, UK
Matthew P. Juniper*
Affiliation:
Department of Engineering, University of Cambridge, Trumpington Street, Cambridge CB2 1PZ, UK
*
Email address for correspondence: mpj1001@cam.ac.uk

Abstract

We formulate and solve a generalized inverse Navier–Stokes problem for the joint velocity field reconstruction and boundary segmentation of noisy flow velocity images. To regularize the problem, we use a Bayesian framework with Gaussian random fields. This allows us to estimate the uncertainties of the unknowns by approximating their posterior covariance with a quasi-Newton method. We first test the method for synthetic noisy images of two-dimensional (2-D) flows and observe that the method successfully reconstructs and segments the noisy synthetic images with a signal-to-noise ratio (SNR) of three. Then we conduct a magnetic resonance velocimetry (MRV) experiment to acquire images of an axisymmetric flow for low (${\simeq }6$) and high (${>}30$) SNRs. We show that the method is capable of reconstructing and segmenting the low SNR images, producing noiseless velocity fields and a smooth segmentation, with negligible errors compared with the high SNR images. This amounts to a reduction of the total scanning time by a factor of 27. At the same time, the method provides additional knowledge about the physics of the flow (e.g. pressure) and addresses the shortcomings of MRV (i.e. low spatial resolution and partial volume effects) that otherwise hinder the accurate estimation of wall shear stresses. Although the implementation of the method is restricted to 2-D steady planar and axisymmetric flows, the formulation applies immediately to three-dimensional (3-D) steady flows and naturally extends to 3-D periodic and unsteady flows.

Information

Type
JFM Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Given the images of a measured velocity field $\boldsymbol {u}^\star$, we solve an inverse Navier–Stokes problem to infer the boundary $\varGamma$ (or $\partial \varOmega$), the kinematic viscosity and the inlet velocity profile on $\varGamma _i$. The solution to this inverse problem is a reconstructed velocity field $\boldsymbol {u}^\circ$, from which the noise and the artefacts $(\boldsymbol {u}^\star -\mathcal {S}\boldsymbol {u}^\circ )$ have been filtered out.

Figure 1

Figure 2. Geometric flow of $\partial \varOmega$ (figure 2a) relies on the computation of its signed distance field ${\phi _{\pm }}$ (figure 2b) and its normal vector extension ${\mathring {\boldsymbol {\nu }}}$ (figure 2c). The shape gradient $\zeta$ (figure 2d), which is initially defined on $\partial \varOmega$, is extended to the whole image $I$ (${\mathring {\zeta }}$ in figure 2ef). Shape regularization is achieved by increasing the diffusion coefficient $\epsilon _{\zeta }$ to mitigate small-scale perturbations when assimilating noisy velocity fields $\boldsymbol {u}^\star$. Figure 2( f) shows results at a lower value of $\mbox {Re}_{\zeta }$ than figure 2(e). (a) Shape of $\partial \varOmega$. (b) Level-sets of ${\phi _{\pm }}$. (c) Magnitude of ${\phi _{\pm }}$ and ${\mathring {\boldsymbol {\nu }}}$. (d) Shape gradient $\zeta$ on $\partial \varOmega$. (e) ${\mathring {\zeta }}$ in $I$ ($\mbox {Re}_{\zeta }=1$). ( f) ${\mathring {\zeta }}$ in $I$ ($\mbox {Re}_{\zeta }=0.01$).

Figure 2

Algorithm 1: Reconstruction and segmentation of noisy flow velocity images.

Figure 3

Table 1. Input parameters for the inverse 2-D Navier–Stokes problem.

Figure 4

Figure 3. Reconstruction (algorithm 1) of synthetic noisy velocity images depicting the flow (from left to right) in a converging channel. Figures 3(a,b) and 3(d,e) show the horizontal, $u_x$, and vertical, $u_y$, velocities and share the same colourmap (colourbar not shown). Figure 3(cf) shows the discrepancy between the noisy velocity images and the reconstruction (colourbars apply only to figure 3cf). (a) Synthetic image $u^\star _x$. (b) Our reconstruction $u_x^\circ$. (c) Discrepancy $\sigma _{u_x}^{-1}(u^\star _x - \mathcal {S}u_x^\circ )$. (d) Synthetic image $u^\star _y$. (e) Our reconstruction $u_y^\circ$. ( f) Discrepancy $\sigma _{u_y}^{-1}(u^\star _y - \mathcal {S}u_y^\circ )$.

Figure 5

Figure 4. Reconstruction (algorithm 1) of synthetic images depicting the flow (from left to right) in a converging channel. Figure 4(a) depicts the reconstructed boundary $\partial \varOmega ^\circ$ (cyan line), the $2\sigma$ confidence region computed from the approximated posterior covariance $\tilde {\mathcal {C}}_{\mathring{\zeta}} \equiv \tilde {H}_{\mathring{\zeta}} \mathcal {C}_{\phi _{\pm }}$ (blue region), the ground truth boundary $\partial \varOmega ^\bullet$ (yellow line) and the initial guess $\partial \varOmega _0$ (white line). Figure 4(b) shows the reconstruction error as a function of iteration number. Velocity slices are drawn for 10 equidistant cross-sections (labelled with the letters A to J) for both the reconstructed images (figure 4c) and the ground truth (figure 4d), coloured red for positive values and blue for negative. (a) Velocity magnitude $\lvert \boldsymbol {u}^\circ \rvert$ and shape $\partial \varOmega ^\circ$. (b) Reconstruction error history. (c) Noisy data (grey) and reconstruction. (d) Ground truth velocity distributions.

Figure 6

Figure 5. (a) Reconstructed and (b) ground truth reduced hydrodynamic pressure ($p$) for the flow (from left to right) in the converging channel in figure 4. (a) Our reconstruction $p^\circ$. (b) Ground truth $p^\bullet$.

Figure 7

Figure 6. Wall shear rate $\gamma _w \equiv \boldsymbol {\tau }\boldsymbol {\cdot } \partial _{\boldsymbol {\nu }}\boldsymbol {u}$, where $\boldsymbol {\tau }$ is the unit tangent vector of $\partial \varOmega$, for the converging channel flow in figure 4. The wall shear stress is found by multiplying this by the viscosity. The reconstructed wall shear rate ($\gamma _w^\circ$) is calculated on $\partial \varOmega ^\circ$ and for $\boldsymbol {u}^\circ$, while the ground truth ($\gamma _w^\bullet$) is calculated on $\partial \varOmega ^\bullet$ and for $\boldsymbol {u}^\bullet$. The blue region is bounded by the two wall shear rate distributions for $\boldsymbol {u}^\circ$, calculated on the upper ($\partial \varOmega ^\circ _+$) and lower ($\partial \varOmega ^\circ _-$) limits of the $2\sigma$ confidence region of $\partial \varOmega ^\circ$. Note that the reconstructed solution can sometimes be found outside the blue region because the reconstructed shape $\partial \varOmega ^\circ$ may be less regular than $\partial \varOmega ^\circ _+$ or $\partial \varOmega ^\circ _-$. (a) Lower boundary. (b) Upper boundary.

Figure 8

Table 2. Input parameters for the inverse 2-D Navier–Stokes problem.

Figure 9

Figure 7. As for figure 3 but for the synthetic images depicting the flow (from left to right) in the simulated 2-D model of an abdominal aortic aneurysm. (a) Synthetic image $u^\star _x$. (b) Our reconstruction $u_x^\circ$. (c) Discrepancy $\sigma _{u_x}^{-1}(u^\star _x - \mathcal {S}u_x^\circ )$. (d) Synthetic image $u^\star _y$. (e) Our reconstruction $u_y^\circ$. ( f) Discrepancy $\sigma _{u_y}^{-1}(u^\star _y - \mathcal {S}u_y^\circ )$.

Figure 10

Figure 8. As for figure 4 but for the synthetic images depicting the flow (from left to right) in the simulated 2-D model of an abdominal aortic aneurysm. (a) Velocity magnitude $\lvert \boldsymbol {u}^\circ \rvert$ and shape $\partial \varOmega ^\circ$. (b) Reconstruction error history. (c) Noisy data (grey) and reconstruction. (d) Ground truth velocity distributions.

Figure 11

Figure 9. (a) Reconstructed and (b) ground truth reduced hydrodynamic pressure ($p$) for the flow (from left to right) in the simulated 2-D model of an abdominal aortic aneurysm in figure 8. (a) Our reconstruction $p^\circ$. (b) Ground truth $p^\bullet$.

Figure 12

Figure 10. As for figure 6 but for the synthetic images depicting the flow (from left to right) in the simulated 2-D model of an abdominal aortic aneurysm in figure 8. (a) Lower boundary. (b) Upper boundary.

Figure 13

Figure 11. Initial guesses (input for algorithm 1) for the geometry ($\partial \varOmega _0$) and the inlet velocity profile (${\boldsymbol {g}_i}_0$) versus their corresponding ground truth (figure 11a) for the flow in the simulated 2-D model of an aortic aneurysm. The initial guess $\partial \varOmega _0$ (figure 11a) is generated by segmenting the noisy mask (figure 11b) of the ground truth domain $\varOmega ^\bullet$. (a) Initial guesses (priors) for $\partial \varOmega$ and $\boldsymbol {g}_i$. (b) Noisy mask of $\varOmega ^\bullet$.

Figure 14

Figure 12. Zeroth iteration (N–S solution for the initial guesses in figure 11) velocity images (figure 12a,b), streamlines (figure 12c) and discrepancies with the data (figure 12df) for the flow in the simulated 2-D model of an aortic aneurysm. Streamlines are plotted on top of the velocity/discrepancy magnitude image and streamline thickness increases as the velocity magnitude increases. Figures 12(ac) (colourbar not shown) and 12(df) (colourbar shown on the right) share the same colourmap. (a) $(u_x)_0$. (b) $(u_y)_0$. (c) $\boldsymbol {u}_0$. (d) $\sigma _{u_x}^{-1}(u^\star _x - \mathcal {S}(u_x)_0)$. (e) $\sigma _{u_y}^{-1}(u^\star _y - \mathcal {S}(u_y)_0)$. ( f) ${\mathcal {C}^{-1}_{\boldsymbol {u}}}(\boldsymbol {u}^\star -\mathcal {S}\boldsymbol {u}_0)$.

Figure 15

Table 3. Input parameters for the inverse 2-D Navier–Stokes problem.

Figure 16

Figure 13. Reconstruction (final iteration of algorithm 1) of synthetic noisy velocity images depicting the flow in the simulated 2-D model of an aortic aneurysm. Figures 13(a,b) and 13(d,e) show the horizontal, $u_x$, and vertical, $u_y$, velocities and share the same colourmap (colourbar not shown). Figure 13(cf) shows the discrepancy between the noisy velocity images and the reconstruction (colourbars apply only to figure 13cf). (a) Synthetic image $u^\star _x$. (b) Our reconstruction $u_x^\circ$. (c) Discrepancy $\sigma _{u_x}^{-1}(u^\star _x - \mathcal {S}u_x^\circ )$. (d) Synthetic image $u^\star _y$. (e) Our reconstruction $u_y^\circ$. ( f) Discrepancy $\sigma _{u_y}^{-1}(u^\star _y - \mathcal {S}u_y^\circ )$.

Figure 17

Figure 14. Reconstruction (final iteration of algorithm 1) of synthetic images depicting the flow in the simulated 2-D model of an aortic aneurysm. Figure 14(a) depicts the reconstructed boundary $\partial \varOmega ^\circ$ (cyan line), the $2\sigma$ confidence region computed from the approximated posterior covariance $\tilde {\mathcal {C}}_{\mathring{\zeta}} \equiv \tilde {H}_{\mathring{\zeta}} \mathcal {C}_{\phi _{\pm }}$ (blue region) and the ground truth boundary $\partial \varOmega ^\bullet$ (yellow line). Figure 14(b) shows the reconstruction error as a function of iteration number. (a) Velocity magnitude $\lvert \boldsymbol {u}^\circ \rvert$ and shape $\partial \varOmega ^\circ$. (b) Reconstruction error history.

Figure 18

Figure 15. (a) Zeroth iteration (N–S solution for the initial guesses in figure 11), (b) reconstructed (final iteration of algorithm 1) and (c) ground truth reduced hydrodynamic pressure for the simulated 2-D model of an aortic aneurysm in figure 14. All panels share the same colourmap (symmetric logarithmic scale) and the same colourbar. (a) Zeroth iteration $p_0$. (b) Our reconstruction $p^\circ$. (c) Ground truth $p^\bullet$.

Figure 19

Figure 16. Streamlines for the flow in the simulated 2-D model of an aortic aneurysm (figures 13 and 14), and comparison with total variation denoising using Bregman iteration (TV-B) with different weights $\lambda$. Streamlines are plotted on top of the velocity magnitude image and streamline thickness increases as the velocity magnitude increases. (a) Synthetic data $\boldsymbol {u}^\star$. (b) Our reconstruction $\boldsymbol {u}^\circ$. (c) Ground truth $\boldsymbol {u}^\bullet$. (d) TV-B $\lambda /\lambda _0=0.1$. (e) TV-B $\lambda /\lambda _0=0.01$. ( f) TV-B $\lambda /\lambda _0=0.001$.

Figure 20

Figure 17. Wall shear rate $\gamma _w \equiv \boldsymbol {\tau }\boldsymbol {\cdot } \partial _{\boldsymbol {\nu }}\boldsymbol {u}$, where $\boldsymbol {\tau }$ is the unit tangent vector of $\partial \varOmega$, for the flow in the simulated 2-D model of an aortic aneurysm in figure 14. The wall shear stress is found by multiplying this by the viscosity. The reconstructed wall shear rate ($\gamma _w^\circ$) is calculated on $\partial \varOmega ^\circ$ and for $\boldsymbol {u}^\circ$, while the ground truth ($\gamma _w^\bullet$) is calculated on $\partial \varOmega ^\bullet$ and for $\boldsymbol {u}^\bullet$. The $\pm 2\sigma$-bounds are calculated on the upper ($\partial \varOmega ^\circ _+$) and lower ($\partial \varOmega ^\circ _-$) limits of the confidence region of $\partial \varOmega ^\circ$. All panels share the same colourmap (symmetric logarithmic scale) and the same colourbar. (a) Zeroth iteration $(\gamma _w)_0$. (b) Our reconstruction $\gamma ^\circ _w$. (c) Ground truth $\gamma ^\bullet _w$. (d) Lower confidence bound $\gamma ^\circ _w-2\sigma$. (e) Upper confidence bound $\gamma ^\circ _w+2\sigma$.

Figure 21

Figure 18. Schematic of the rig that we use to conduct the MRV experiment consisting of: (1) 20 l holding tank; (2) peristaltic pump; (3) 2 l vessel; (4) clamp valves; (5) porous polyethylene distributor; (6) radiofrequency probe; (7) converging nozzle; (8) $4.7$ T superconducting magnet; (9) volumetric cylinder for flow measurements. Figure 18(b) shows a sketch of the converging nozzle with the active area of the spectrometer shown by a red box. The pulse sequence that we use for 2-D velocity imaging is shown in figure 18(c). (a) Magnet and flow loop. (b) Converging nozzle. (c) Spin-echo pulse sequence with slice selective refocusing and flow encoding.

Figure 22

Figure 19. High SNR images (average of 32 scans with $\textrm {SNR}_z\simeq 44,\textrm {SNR}_r\simeq 34$) that we acquired for the flow through the converging nozzle using MRV (units in $(\textrm {cm}\,\textrm {s}^{-1})$). (a) $u^\bullet _z$. (b) $u^\bullet _r$.

Figure 23

Table 4. Input parameters for the inverse 3-D axisymmetric Navier–Stokes problem.

Figure 24

Figure 20. Reconstruction (algorithm 1) of low SNR MRV velocity images depicting the axisymmetric flow (from left to right) in the converging nozzle (figure 18b). Figures 20(a,b) and 20(d,e) show the horizontal, $u_x$, and vertical, $u_y$, velocities and share the same colourmap (colourbar not shown). Figure 20(cf) show the discrepancy between the noisy velocity images and the reconstruction (colourbars apply only to figure 20cf). The reconstructed flow $\boldsymbol {u}^\circ$ is axisymmetric by construction; therefore, $u^\circ _z$ depicts an even reflection and $u^\circ _r$ depicts an odd reflection, so that they can be compared with the MRV images (see Appendix C). (a) Low SNR MRV image $u^\star _z$. (b) Our reconstruction $u_z^\circ$. (c) Discrepancy $\sigma _{u_z}^{-1}(u^\star _z - \mathcal {S}u_z^\circ )$. (d) Low SNR MRV image $u^\star _r$. (e) Our reconstruction $u_r^\circ$. ( f) Discrepancy $\sigma _{u_r}^{-1}(u^\star _r - \mathcal {S}u_r^\circ )$.

Figure 25

Figure 21. Reconstruction (algorithm 1) of synthetic images depicting the axisymmetric flow (from left to right) in the converging nozzle (figure 18b). Figure 21(a) depicts the reconstructed boundary $\partial \varOmega ^\circ$ (cyan line), the $2\sigma$ confidence region computed from the approximated posterior covariance $\tilde {\mathcal {C}}_{\mathring{\zeta}} \equiv \tilde {H}_{\mathring{\zeta}} \mathcal {C}_{\phi _{\pm }}$ (blue region), the ground truth boundary $\partial \varOmega ^\bullet$ (yellow line) and the initial guess $\partial \varOmega _0$ (white line). Figure 21(b) shows the reconstruction error as a function of iteration number. Velocity slices are drawn for 10 equidistant cross-sections (labelled with the letters A to J) for both the reconstructed images (figure 21c) and the high SNR images (figure 21d), coloured red for positive values and blue for negative. (a) Velocity magnitude $\lvert \boldsymbol {u}^\circ \rvert$ and shape $\partial \varOmega ^\circ$. (b) Reconstruction error history. (c) Low SNR data (grey) and reconstruction. (d) High SNR velocity data.

Figure 26

Figure 22. Total variation denoising using Bregman iteration with different weights $\lambda$ for the low SNR MRV images (figure 20a,d) depicting the axisymmetric flow (from left to right) in the converging nozzle. (a) $u_z$, TV-B $\lambda /\lambda _0=0.1$. (b) $u_z$, TV-B $\lambda /\lambda _0=0.01$. (c) $u_z$, TV-B $\lambda /\lambda _0=0.001$. (d) $u_r$, TV-B $\lambda /\lambda _0=0.1$. (e) $u_r$, TV-B $\lambda /\lambda _0=0.01$. ( f) $u_r$, TV-B $\lambda /\lambda _0=0.001$.

Figure 27

Figure 23. (a) Wall shear rates (as for figure 6) and (b) reduced hydrodynamic pressure inferred from the MRV images depicting the axisymmetric flow in the converging nozzle. (a) Wall shear rates $\gamma ^\circ _w$ and $\gamma ^\bullet _w$. (b) Our pressure reconstruction $p^\circ$.