tools.rovir_fov

Contents

tools.rovir_fov#

bartorch.tools.rovir_fov()#

ROVir coil compression from non-Cartesian samples, rejecting what is past the field of view.

A grid exactly the size of the field of view, as gridding without oversampling (GROG) gives, folds whatever lies past its edge – the neck below a head – back into the image. Region-optimized virtual coils (ROVir, Kim et al. [1]) remove it before the reconstruction. Each channel’s samples near the centre of k-space are gridded by the adjoint of bartorch.linop.NUFFT, weighted by bartorch.estimate_density(), onto a size image covering extent times the field of view on every axis. The wanted region is the field of view and the interference region is the rest of that image: geometry only, no mask of the anatomy. rovir() solves the generalized eigenproblem of their channel correlations and orthonormalizes its vectors, so that whitened noise stays white.

ROVir’s directions of highest wanted-to-rejected ratio are often weak ones. So keep of them are kept, which drops the few that carry the interference, and the SVD of the image in them keeps the coils of most energy, as cc() would.

Parameters:
  • kspace (torch.Tensor) – (channels, *frames, samples) whitened samples; every readout starts at the centre of k-space, so a prefix of each is near it.

  • traj (torch.Tensor) – (*frames, samples, ndim) in grid units of the field of view, kx, ky[, kz], as for bartorch.linop.NUFFT.

  • coils (int) – Virtual coils kept.

  • keep (int, default=None) – ROVir directions the SVD chooses from; None keeps coils, which is ROVir alone.

  • size (int, default=48) – Edge of the low-resolution image the regions are read on.

  • extent (float, default=2.0) – Its field of view over the reconstruction’s, on every axis.

  • iterations (int, default=15) – Pipe-Menon iterations of the density.

  • return_energy (bool, default=False) – Also return the share of the field of view’s energy the virtual coils keep, and their energy outside it over inside it.

Returns:

  • matrix (torch.Tensor) – (channels, channels, 1, 1, 1), as ccapply() takes it with p=coils: its first coils rows are the virtual coils.

  • energy (tuple of float) – (kept, outside_over_inside), when return_energy.

Notes

The interference correlation includes the noise of the larger image, so noiseless samples make it singular and the eigenproblem fails.

References

Examples

>>> matrix = rovir_fov(kspace, traj, coils=6, keep=36)
>>> virtual = ccapply(kspace[..., None], matrix, p=6)