powered by
Get the dimensions of an image
img_dimensions(img_data)
Image data returned by e.g. read_dicom or read_nifti1
read_dicom
read_nifti1
Image dimensions, or NA if image has no slices
NA
# NOT RUN { data(sample_dicom_img) data(sample_nifti_img) img_dimensions(sample_dicom_img) img_dimensions(sample_nifti_img) # }
Run the code above in your browser using DataLab