GLT.openDICOMFolder: Load a DICOM serie into a geoLet object

Description Usage Arguments Value Examples

View source: R/geoLet.wrappingFunctions.R

Description

Allow to load a DICOM serie into a geoLet object.

N.B: pay attention, it can explode if not properly used

Usage

1
GLT.openDICOMFolder(obj.geoLet, pathToOpen, defaultExtension = "*.dcm")

Arguments

obj.geoLet

the object geoLet to load the DICOM serie in;

pathToOpen

the path where the DICOM serie is locate, on the filesystem

defaultExtension

the 'typical' extension of your DICOM files. Default is '.dcm'

Value

wel.... nothing. It directly load the serie into the passed geoLet object. Technically it shouldn't work but apparently it does.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

obj<-geoLet()
GLT.openDICOMFolder(obj = obj, pathToOpen='./DICOMSeries/pat001' );

It is equivalent to:

obj<-geoLet();
obj$openDICOMFolder(pathToOpen='./DICOMSeries/pat001' );

## End(Not run)

kbolab/moddicom documentation built on Nov. 29, 2020, 9:11 p.m.