laminar_iterative_smoothing

nighres.laminar.laminar_iterative_smoothing(profile_surface_image, intensity_image, fwhm_mm, roi_mask_image=None, save_data=False, overwrite=False, output_dir=None, file_name=None)[source]

Smoothing data on multiple intracortical layers

Parameters:
  • data_image (niimg) – Image from which data should be sampled
  • profile_surface_image (niimg) – 4D image containing levelset representations of different intracortical surfaces on which data should be sampled
  • fwhm_mm (float) – Full width half maximum distance to use in smoothing (in mm)
  • roi_mask_image (niimg, optional) – Mask image defining a region of interest to restrict the smoothing
  • save_data (bool) – Save output data to file (default is False)
  • overwrite (bool) – Overwrite existing results (default is False)
  • output_dir (str, optional) – Path to desired output directory, will be created if it doesn’t exist
  • file_name (str, optional) – Desired base name for output files with file extension (suffixes will be added)
Returns:

Dictionary collecting outputs under the following keys (suffix of output files in brackets)

  • result (niimg): smoothed intensity image (_lis-smooth)

Return type:

dict

Notes

Original Java module by Pierre-Louis Bazin

Important: this method assumes isotropic voxels