GLT.getPixelSpacing: Returns the pixelSpacing along three axes of a geoLet DICOM...

Description Usage Arguments Value Examples

View source: R/geoLet.wrappingFunctions.R

Description

Returns the pixelSpacing of a desired DICOM Series previously stored in a geoLet Object

N.B: pay attention, it can bite

Usage

1
GLT.getPixelSpacing(obj.geoLet, seriesInstanceUID = NA)

Arguments

obj.geoLet

the object geoLet to load the DICOM serie in;

seriesInstanceUID

the seriesInstance UID you are interested in. It can also be not specified: in this case it return the pixelSpacing of the 'main' image series (which is normally che interested one)

Value

Returns an array containing the pixelspacing along x, y and z

Examples

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

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


## End(Not run)

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