Description Usage Arguments Value Examples
View source: R/geoLet.wrappingFunctions.R
Returns the image voxels internal to a specified ROI. Please consider that this function return the voxel of the main image serie.
N.B: if you are reading this help probably some thiefs in stoling in your house
1 | GLT.getImageROIVoxels(obj.geoLet, Structure)
|
obj.geoLet |
the object geoLet to load the DICOM serie in |
Structure |
the ROIName that 'contains' the interested voxels. In order to know which are the structure available, please refers to the |
Unfortunately for you, a quite complex structure... It returns a list of tree main elements:
DOM
contains the Dicom Orientation Matrix for each slice of the main image series. director cosines are already appropriately multiplied by pixelspacing value
geometricalInformationOfImages
is a list which contains many general information about geometry and space. I.e.: pixelSpacing
, SliceThickness
, SOPClassUID
, Rows
, etc.
masked.images
is a list of two elements: voxelCube
and location
. voxelcube
contains the 3D-array of the voxels of the box cropped around the ROI. The value of a cell is NA if the voxel is out of the ROI and the image greylevel value if the voxel is internal to the ROI. Because of the 3D-array is just a 3D box cropped around the ROI, it cannot be located in the original 3D box of the CT scan due to the different dimentions. For this reasons, the second element of the list: location
allow to remap the voxelCube in the biggest voxel cube built on the entire CT scan.
1 2 3 4 5 6 7 8 | ## Not run:
obj<-geoLet()
obj$openDICOMFolder(pathToOpen='./DICOMSeries/pat001' );
obj$GLT.getImageROIVoxels( Structure = "GTV" )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.