Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_dcm_matrix

Get image matrix


Description

Get image matrix

Usage

get_dcm_matrix(img, type = "raw", scan = "", size = 50, convert = TRUE)

Arguments

img

dicom file

type

img transformation

scan

apply uniform or gaussian blur effects

size

size of image

convert

to R matrix or keep tensor

Value

tensor

Examples

## Not run: 

img = dcmread('hemorrhage.dcm')
img %>% get_dcm_matrix(type = 'raw')


## End(Not run)

fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.