view_slice_mat.Rd
Display a visual of one slice of an image matrix
view_slice_mat(mat, slice = NULL, col = grDevices::grey(0:64/64), ...)
mat | 2D or 3D intensity matrix, e.g. the return value from |
---|---|
slice | Slice number, or NULL if matrix is 2D |
col | Color scheme |
... | Additional arguments to |
if (FALSE) view_slice_mat(img_data_to_3D_mat(nifti_data_4d, coord_extra_dim = 10), slice = 20)