Skip to main content

robust_mask

Function robust_mask 

Source
pub fn robust_mask(mag: &[f64], nx: usize, ny: usize, nz: usize) -> Vec<u8> 
Expand description

Create robust mask from magnitude using quantile-based thresholding

This matches MriResearchTools.jl’s robustmask function, including post-processing with smoothing and hole filling.