Skip to content

Coil compression ​

Coil compression is applied as an operator-independent preprocessing step. HighOrderMRI uses one right-side linear transform for both acquired data and coil-sensitivity maps so that the compressed data remain consistent with the same encoding model.

The current implementation performs global SVD/PCA coil compression, optionally after receive-noise whitening. This corresponds to the global software/array-compression family described previously. [12] [13] The implementation does not perform spatially varying geometric-decomposition coil compression (GCC).

Complete CPU example ​

This synthetic example demonstrates covariance estimation, fitting, and the same transform on data and sensitivity maps. Real noise samples must represent the receiver conditions of the acquisition.

julia
using HighOrderMRI, Random, LinearAlgebra

rng = MersenneTwister(21)
noise = randn(rng, ComplexF64, 256, 4)
data = randn(rng, ComplexF64, 128, 4)
csm = ones(ComplexF64, 8, 8, 1, 4)
covariance = estimate_noise_covariance(noise; coil_dim=2)
transform = fit_coil_compression(data; coil_dim=2,
    n_virtual_coils=2, noise_covariance=covariance)
data_cc = apply_coil_compression(data, transform; coil_dim=2)
csm_cc = apply_coil_compression(csm, transform; coil_dim=4)
@assert size(data_cc) == (128, 2)
@assert size(csm_cc) == (8, 8, 1, 2)
C = transform.compression_matrix
@assert isapprox(C' * covariance * C, Matrix{ComplexF64}(I, 2, 2))

Fit and application copy inputs to CPU arrays. After this step, transfer the compressed data and maps as required by the chosen encoding backend.

Workflow ​

When representative noise-only data are available, estimate the receive-noise covariance with estimate_noise_covariance:

julia
noise_covariance = estimate_noise_covariance(
    noise_data;
    coil_dim=2,
)

If the noise scan and MRI acquisition use different dwell times or effective receiver bandwidths, compute the corresponding scale factor with noise_prewhitening_scale_factor:

julia
prewhitening_scale = noise_prewhitening_scale_factor(
    acquisition_dwell_time,
    noise_dwell_time;
    receiver_bandwidth_ratio=noise_receiver_bandwidth_ratio,
)

One transform can then be fitted and applied to both acquired data and coil-sensitivity maps using compress_coils:

julia
data_cc, csm_cc, coil_transform = compress_coils(
    data_matrix,
    csm;
    data_coil_dim=2,
    csm_coil_dim=ndims(csm),
    n_virtual_coils=10,
    noise_covariance,
    prewhitening_scale_factor=prewhitening_scale,
)

Use data_cc in recon_HOOp and csm_cc when constructing HighOrderExplicitOp or HighOrderLowRankOp. No compression-specific mode is required in the encoding operator; the number of receive channels is inferred from the supplied coil-sensitivity maps.

Receive-noise whitening ​

Let D∈CNo×Nc denote the calibration observations and let Ψnoise∈CNc×Nc denote the positive-definite receive-noise covariance estimated from a noise prescan. Receive-noise whitening accounts for correlated channel noise before the compression subspace is fitted. [14]

When the noise and acquisition sampling conditions differ, HighOrderMRI uses the dimensionless scale

s=TacqTnoiseRBW,

and defines the effective acquisition covariance as

Ψacq=Ψnoises.

A right whitening matrix Wn is constructed such that

WnHΨacqWn=I.

If the covariance is represented by the upper Cholesky factor

Ψnoise=UΨHUΨ,

then the implemented right whitening matrix is

Wn=sUΨ−1.

The notation Wn distinguishes receive-noise whitening from the reconstruction weighting operator W used in expressions such as AHWHWA.

Global SVD compression ​

The noise-whitened calibration matrix is factorized as

DWn=UΣVH.

If Vr contains the first r right singular vectors, the combined whitening/compression transform is

C=WnVr.

The same transform is applied to measured data and coil-sensitivity maps:

Dcc=DC,Scc=SC,

where S denotes the coil-sensitivity maps reshaped with receive channels in columns. The compressed covariance then satisfies

CHΨacqC=I.

For the stated calibration matrix, truncated SVD provides the minimum Frobenius-norm rank-r approximation among global linear subspaces. [5] This result does not imply a general optimum for parallel-imaging g-factor, arbitrary k-space sampling, or spatially varying coil-compression models.

Calibration-region fitting ​

The compression transform may be estimated from a calibration subset and subsequently applied to the full acquisition using fit_coil_compression and apply_coil_compression:

julia
coil_transform = fit_coil_compression(
    @view(data_matrix[calibration_samples, :]);
    coil_dim=2,
    energy_threshold=0.99,
    noise_covariance,
)

data_cc = apply_coil_compression(
    data_matrix,
    coil_transform;
    coil_dim=2,
)

csm_cc = apply_coil_compression(
    csm,
    coil_transform;
    coil_dim=ndims(csm),
)

Specify exactly one of n_virtual_coils and energy_threshold. An energy threshold describes the fraction of squared singular-value energy retained in the fitted calibration matrix; it is not an image-accuracy criterion.

For controlled comparisons, the fitted transform should be held fixed across reconstruction conditions. Report the retained virtual-coil count and retained_energy. When noise_covariance is supplied, the reported retained energy refers to the whitened calibration matrix.

Absence of a noise prescan ​

If noise_covariance is omitted, identity covariance is assumed and the procedure reduces to conventional global PCA/SVD compression. This case should not be described as noise-optimal when receive-channel noise is correlated.

estimate_noise_covariance expects noise-only data acquired with channel ordering and receiver gains compatible with the MRI acquisition. If the noise scan and MRI acquisition use different dwell times or effective receiver bandwidths, specify the corresponding noise_prewhitening_scale_factor. The covariance must be positive definite; otherwise additional noise observations or an explicitly defined covariance-regularization procedure are required.

Density compensation is unrelated to receive-noise covariance estimation and should not be applied before estimating the covariance.

Relation to geometric-decomposition coil compression ​

Geometric-decomposition coil compression (GCC) uses spatially varying, aligned compression matrices along a nonsubsampled Cartesian dimension and can retain coil sensitivity more efficiently than a single global transform in the acquisition geometries for which it was designed. [15]

The current HighOrderMRI encoding operators instead accept a single right-side transform that can be applied consistently to arbitrary Cartesian or non-Cartesian acquired data and their coil-sensitivity maps. Accordingly, the implemented method should be described as global SVD/PCA coil compression, optionally preceded by receive-noise whitening, rather than as GCC. A GCC implementation would require a separate hybrid-space/operator treatment and independent validation.

Reporting ​

For a methods or performance study, report:

  • the source and extent of the calibration data;
  • whether receive-noise covariance was used;
  • noise/acquisition dwell times and receiver-bandwidth scaling, when applicable;
  • virtual-coil count or retained-energy threshold;
  • final retained energy;
  • confirmation that the same transform was applied to acquired data and coil-sensitivity maps;
  • confirmation that the fitted transform was held fixed across compared encoding operators.

HighOrderMRI.jl documentation · dev · code fa12c44 · docs fa12c44