oasis_refine: OASISAD refine probability function

Description Usage Arguments Value

View source: R/oasisad_refine.R

Description

Refine voxel's probability of being white matter hypeintensity by neighbor information. Neighbor

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
oasis_refine(
  prob_map,
  neighbor = FALSE,
  seg = NULL,
  wm = NULL,
  wm_label = NULL,
  re_value = NULL,
  indx = NULL,
  indx3d = NULL
)

Arguments

prob_map

A dataframe includes a voxel's probability of being white matter and its nearest neighor voxels' vetorized indice.

neighbor

A boolean whether using neighor function to correct probability map

seg

File path of segmentation mask segmentation tool such as FSL Please set non-brain tissue in seg to 0

wm

File path of white matter pve from segmentation tool such as FSL

wm_label

A value indicates white matter label in input seg_voxel argument. If null, it is 3, by FSL.

re_value

A value used in neighbor calculation function to suppress probability of being WMH

indx

Voxels' vectorized indices

indx3d

Voxels' 3D indices

Value

Refined probability map


dty0606/oasisad documentation built on March 8, 2020, 11:18 p.m.