← PACTHub

Reconstruction and evaluation

Animated walkthroughs

Section 04 presents two video previews: a 32-second FOV / sound-speed walkthrough and the 51-second Q calculation. Click to open the complete film, jump between chapters, scrub or enter fullscreen. Captions sit below the image. The GitHub link in the Section 04 heading opens the pipeline download. The repository entry in Section 05 provides source, parameter examples and documentation.

From PAdata to 3D volumes

The standard workflow is PAdata → validation and preprocessing → FOV selection → sound-speed selection → BP / MB → numerical 3D volumes and MIPs. Each acquisition uses its published sample_metadata.json and reconstruction_parameters.json.

Get the code

Download the workflow and interfaces ↓ · Source and complete guide on GitHub ↗. The archive contains PAdata/JSON interfaces, preprocessing, MB, workflow pseudocode and tests. The package includes a public literature UBP. The actual internal BP program is confidential and is not distributed. Its README provides installation commands, execution steps and the input contract.

Two parameter files

sample_metadata.json checks the acquisition ID, FTC storage axes, shape and frame count. reconstruction_parameters.json supplies signal, geometry, FOV, sound-speed and reconstruction settings. Detector coordinates can be embedded from the Calibration file into that JSON; MB settings are stored in defaults.mb.

FOV and sound speed

Retain the recorded FOV and sound speed or enable selection. Large-FOV BP estimates the XY centre and long axis. Sound-speed selection scans candidates with fixed frames, geometry and preprocessing. Outputs include candidate scores and an effective parameter pair for replay.

BP and MB outputs

Public literature UBP is connected by default, with the recorded bandpass, energy normalization and crop order. MB uses a finite-disk forward/adjoint model. MB also exports BP_matched with identical preprocessed RF. Volumes use ZYX order and millimetre coordinates; display windowing is separate from numerical data.

Computation and website display

Download the acquisition data and code, then run reconstruction on a local machine or GPU server. The website provides sample displays, instructions and downloads. Numerical outputs can then be prepared as display assets with defined windows, physical bounds and scale bars.

Measured-mouse Q

Chapter 06 uses the manuscript mouse GT and test image. The 3D calculation extracts local background, positive contrast, reference-defined weak/strong support and structural overlap, giving Q = 82.53.

Evaluation

PSNR, full-image SSIM and L1 measure overall error and similarity. Structural quality Q complements them by examining high-energy vascular regions and weak structures. Comparisons share spatial alignment, evaluation domain, reference volume and intensity conventions.

Q calculation video

The 51-second video follows paired input, positive local contrast, reference tubular support, weak/strong groups, structural overlap and a measured mouse. Q = 100√(Dweak Dstrong), with D = 2Σmin(g·hX,hR)/Σ(g·hX+hR) in each group. Calculations use 3D volumes; projections illustrate the steps.

Display and quantification

Display images may use independent linear windows; metrics are calculated on the predefined numerical data. Each user-selected temporal region uses the same valid pixels across all measured timepoints. One display window is shared throughout the sequence.