LiveDemos

Interactive demonstrations of methods developed in our group. Each demo runs the trained model on real or simulated ultrasound channel data, so that the effect of the method can be seen directly, together with the corresponding publication.

Demo · Deep Beamforming

Ultrasound Deep Beamforming Studio

Three of our deep beamformers, ADAPT, PIVOT and RESONATE, run on the same PICMUS single plane wave (0°) acquisitions, so that their outputs can be compared directly. The demo is hosted on Hugging Face Spaces.

The Ultrasound Deep Beamforming Studio interface with a PICMUS dataset selector, dynamic range, tabs for PIVOT, ADAPT and RESONATE, and the PIVOT tuning slider.
01 · The Studio. The dataset and dynamic range are shared, and each beamformer has its own tab and controls. The PIVOT tab is shown, with the tuning slider t.
PIVOT B-mode images of the in-vitro contrast and speckle PICMUS data at t equal to 0 and t equal to 1, produced by the Hugging Face Studio.
02 · PIVOT in the Studio. In-vitro contrast and speckle data at t = 0 (resolution objective, left) and t = 1 (contrast objective, right).
0102 swipe or scroll
Using the Demo

Three beamformers on the same data

Six PICMUS datasets are available, i.e., resolution and distortion, contrast and speckle (in-silico and in-vitro each), and carotid cross-sectional and longitudinal (in-vivo), together with an adjustable dynamic range. Each run returns the B-mode image, a diagnostics panel and the raw arrays as an .npz file, and for PIVOT the diagnostics include gCNR, CNR and lateral and axial FWHM.

In PIVOT a slider sets t, which forms the intent vector q = [1 − t, t], from the resolution objective (t = 0) to the contrast objective (t = 1). In ADAPT the fused model weights are θ = α·θDAS + β·θFDMAS + γ·θCapon with α + β + γ = 1, and the three weights can be set directly. In RESONATE a gate over pins, cysts and speckle routes the apodizations of three experts per pixel, and the DAS image, the expert outputs and the gate are shown alongside the result.

The beamformers run on a GPU through Hugging Face ZeroGPU, and a PIVOT run took 0.68 s of GPU time in our test. Visitors who are not signed in to Hugging Face have a limited GPU quota, hence the demo may ask to wait or to sign in after several runs.

  • BeamformersADAPT (parameter-space fusion), PIVOT (objective-conditioned), RESONATE (mixture of experts)
  • DataPICMUS single plane wave (0°), six in-silico, in-vitro and in-vivo datasets
  • OutputsB-mode image, diagnostics and raw arrays (.npz)
  • HostingHugging Face Spaces on ZeroGPU

The Studio is embedded below. Signing in on Hugging Face gives more GPU quota. Research use only, not for clinical diagnosis.

Live Studio

If the Studio is starting up it may take a minute to load. If it does not load, open it on Hugging Face.

Overview of the objective-conditioned beamforming framework: time of flight extraction of a single 0 degree acquisition, a deep learning model conditioned on an intent input predicting apodization weights, and training against aperture-matched compounded targets at F-number 0.5 for resolution and 1.75 for contrast.
01 · Framework. A single 0°, 128-channel acquisition is converted to a ToFC patch cube and combined with the objective vector q. Training uses aperture-matched 31-angle CPWC targets (F# 0.5 for resolution, F# 1.75 for contrast); inference needs only the 0° acquisition.
In-vitro contrast and resolution data beamformed by PIVOT at t equal to 0, 0.25, 0.5, 0.75 and 1.
02 · Continuous control. Sweeping q(t) = [1 − t, t] from t = 0 to t = 1 on in-vitro contrast (top) and resolution (bottom) data gives a smooth, monotonic transition in lateral resolution and lesion contrast.
0102 swipe or scroll
The Method Behind the Demo

Objective-conditioned receive apodization

Plane wave imaging enables ultrafast acquisition, however the achievable resolution and contrast depend on the receive aperture, and conventional beamformers operate at a fixed aperture or F-number. Towards this, a physics-grounded, objective-conditioned deep beamformer is proposed, which predicts spatially varying receive apodization weights from single plane wave channel data. The objective is introduced through feature-wise linear modulation (FiLM), and each objective is tied to a physically defined receive aperture and supervised with the corresponding coherent plane wave compounding target.

The model is trained only on simulated channel data and evaluated zero-shot on the PICMUS and CUBDL datasets, including unseen probe geometries. On PICMUS it improves gCNR by up to 16.8% and axial resolution by 22% compared with the reference beamforming method, and switching between the objectives changes lesion contrast by up to 4.9% and lateral resolution by up to 11.4%.

  • InputSingle unsteered (0°) plane wave, 128 channels
  • ConditioningFiLM on objective vector q: [1, 0] resolution, [0, 1] contrast
  • TrainingSIMUS (MUST toolbox) simulations, 350 acquisitions, 3,150 patches
  • EvaluationZero-shot on PICMUS and CUBDL, including unseen probe geometries
  • vs learned baselinesLateral FWHM reduced by 5.9%, gCNR improved by 6.6%
Demo · Differentiable Simulation

diffUS: Differentiable Ultrasound Co-design

diffUS phantom before and after gradient-descent optimisation
Using the Demo

Optimising the imaging system by gradient descent

A JAX based differentiable simulator and beamformer, where the speed of sound and the transmit and receive apodization are optimised by gradient descent on image quality metrics, e.g., gCNR. Scene presets (QA phantom, liver, breast) are available, and an uploaded image can also be used as the scene.

Demo · Array Design

Beam Pattern of an Ultrasound Array

Beam pattern demo with the pressure map of a 64 element linear array
Using the Demo

Transmit pressure pattern of a 1D array

A browser based tool for linear, phased, convex, bent and custom 1D arrays, where the number of elements, pitch, element width, centre frequency (1 to 60 MHz), steering angle, focus depth and apodization are set, and the transmit pressure pattern is shown at once together with the beam width, the highest side lobe and the grating lobes. The pattern shown is computed with a fast analytic model, i.e., a sum of line sources, and a design can be checked with a full wave simulation in j-Wave on the server, which takes about a minute.

Neural Beamforming at Pulse Echo

The Studio runs beamformers from our neural beamforming programme, which started in 2021 with CNN approximations of minimum variance beamforming.