This function applies a multi-layer Laplacian enhancement filter to a volumetric image (3D brain MRI data). The filter enhances details while preserving edges using a non-local means approach with multiple scales.
laplace_enhance(
vol,
mask,
k = 2,
patch_size = 3,
search_radius = 2,
h = 0.7,
mapping_params = NULL,
use_normalization_free = TRUE
)A NeuroVol object representing the enhanced image.
A NeuroVol object representing the image volume to be enhanced.
A LogicalNeuroVol object specifying the region to process. If not provided,
the entire volume will be processed.
An integer specifying the number of layers in the decomposition (default is 2).
An integer specifying the size of patches for non-local means. Must be odd (default is 3).
An integer specifying the radius of the search window (default is 2).
A numeric value controlling the filtering strength. Higher values mean more smoothing (default is 0.7).
An optional list of parameters for the enhancement mappings.
Logical indicating whether to use normalization-free weights (default is TRUE).