get_mrsi2d_seg: Calculate the partial volume estimates for each voxel in a 2D...

View source: R/image_reg.R

get_mrsi2d_segR Documentation

Calculate the partial volume estimates for each voxel in a 2D MRSI dataset.

Description

Localisation is assumed to be perfect in the z direction and determined by the ker input in the x-y direction.

Usage

get_mrsi2d_seg(mrs_data, mri_seg, ker)

Arguments

mrs_data

2D MRSI data with multiple voxels in the x-y dimension.

mri_seg

MRI data with values corresponding to the segmentation class. Must be 1mm isotropic resolution.

ker

MRSI PSF kernel in the x-y direction compatible with the mmand package, eg: mmand::shapeKernel(c(10, 10), type = "box").

Value

a data frame of partial volume estimates and individual segmentation maps.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.