num_slices.Rd
Get the number of image slices in an image series
num_slices(img_data)
Image data returned by e.g. read_dicom or read_nifti1
read_dicom
read_nifti1
Number of slices
data(sample_dicom_img) data(sample_nifti_img) num_slices(sample_dicom_img) #> [1] 3 num_slices(sample_nifti_img) #> [1] 10