spyrit.core.meas.DynamicLinear.build_H_dyn

DynamicLinear.build_H_dyn(motion: DeformationField, mode: str = 'bilinear') None[source]

Build the dynamic measurement matrix H_dyn.

Compute and store the dynamic measurement matrix H_dyn from the static measurement matrix H_static and the deformation field motion. The output is stored in the attribute self.H_dyn.

This is done using the physical version explained in [MaBP24].

Args:

motion (DeformationField): Deformation field representing the motion of the image.

mode (str): Interpolation mode. Can only be ‘bilinear’ for now. Bicubic interpolation will be available in a future release. Defaults to ‘bilinear’.

Returns:

None. The dynamic measurement matrix is stored in the attribute self.H_dyn.

References: .. _MaBP24:

[MaBP24] (MICCAI 2024 paper #883) Thomas Maitre, Elie Bretin, Romain Phan, Nicolas Ducros, Michaël Sdika. Dynamic Single-Pixel Imaging on an Extended Field of View without Warping the Patterns. 2024. hal-04533981