Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Example: 3D Shear Wave Elastography Liver Fibrosis

Crate: kwavers
Run: cargo run -p kwavers --example swe_3d_liver_fibrosis
Source: crates/kwavers/examples/swe_3d_liver_fibrosis.rs

Overview

Complete clinical workflow for 3D SWE assessment of liver fibrosis using multi-directional shear waves and volumetric analysis.

Clinical Workflow

  1. Generate synthetic liver phantom with spatially-varying stiffness (fibrosis grades F0–F4)
  2. Simulate multi-directional shear wave propagation (lateral + axial)
  3. Extract displacement fields via cross-correlation tracking
  4. Estimate 3D shear modulus map via local frequency estimation
  5. Classify fibrosis grade using METAVIR-calibrated thresholds
  6. Output volumetric stiffness map and per-ROI statistics

The example uses ElasticWaveSolver::propagate_volumetric_waves_with_body_forces because its console report includes the retained history length. Callers that consume only the wavefront tracker use track_volumetric_waves_with_body_forces, which retains one displacement magnitude per eligible voxel and saved time instead of all six displacement and velocity fields.

Fibrosis Grades

GradeStiffnessClinical significance
F0-F12–4 kPaNormal to mild
F25–7 kPaModerate
F3-F48–12 kPaSevere / cirrhosis

Part Reference

Part II — Elastography