pub fn laplacian_unwrap(
phase: &[f64],
mask: &[u8],
nx: usize,
ny: usize,
nz: usize,
vsx: f64,
vsy: f64,
vsz: f64,
) -> Vec<f64>Expand description
Laplacian phase unwrapping
Uses FFT-based Poisson solver with periodic boundary conditions. Fast and robust but may have issues at mask boundaries.
§Arguments
phase- Wrapped phase (nx * ny * nz)mask- Binary mask (nx * ny * nz), 1 = inside ROInx,ny,nz- Array dimensionsvsx,vsy,vsz- Voxel sizes in mm
§Returns
Unwrapped phase