get_dcm_matrix | R Documentation |
Get image matrix
get_dcm_matrix(img, type = "raw", scan = "", size = 50, convert = TRUE)
img |
dicom file |
type |
img transformation |
scan |
apply uniform or gaussian blur effects |
size |
size of image |
convert |
to R matrix or keep tensor |
tensor
## Not run:
img = dcmread('hemorrhage.dcm')
img %>% get_dcm_matrix(type = 'raw')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.