Description Usage Arguments Value Examples
View source: R/Select_subpopulation_geoLet.R
Instatiated an object of the class geoLet, Select works on a single patient containing the extracted ROI N.B: pay attention, Select requires a geoLet object in which the ROI is already extracted. See the examples for more details. Select applies two image preprocessing steps on each study you want to analyze: 1) Normalize the values inside ROI, considering the histogram of gray levels and setting as extremes fstPerc and lst Perc NormValue = (OriginalValue-fstPerc)/(lstPerc-fstPerc) 2) Binarize the images inside ROI by applying a Threshold, and setting to normalised values, the pixels with intensities between ThresholdDown and ThresholdUp NaN all values with intensities outside the threshold values
1 2 |
fstPerc |
is the lowest Percentile of the histogram that you use to normalize the pixel values |
lstPerc |
is the highest Percentile of the histogram that you use to normalize the pixel values |
ThDown |
is the lowest threshold value |
ThUp |
is the highest threshold value |
ThStep |
is the step threshold value |
without.na |
is the option to decide to if analyze the image with or without na. Set this parameter to TRUE is suggested. |
#' Select returns a mmButo oject with the values selected
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
#First of all create an object obj of the class geoLet()
obj <- geoLet()
#now load the DICOM serie of the patient that you want analyze
#using the method openDICOMFolder and indicating the path
# obj$openDICOMFolder(Path = "/home/kboaria/Desktop/Davide/Retto/Validation/Patient1/")
#Before running Select you have to extract the ROI that you want analyze by using the method getROIVoxels of the geoLet object
geoLetVoxelList<-obj$getROIVoxels(Structure = "GTV")
# Now you can run Select on GTV object;#'
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.