FIL.2D.conv.Filter.voxelVolumes: a new kind of filtering able to work on geoLet objects

Description Usage Arguments Value Examples

View source: R/Filter.R

Description

It applies filter to an geoLet object to simplify RADIOMICS issues

Usage

1
2
3
4
FIL.2D.conv.Filter.voxelVolumes(study.VV, ROI.VV, filter.pipeline,
  pixelSpacingArr, collection = "default", cropResult = TRUE,
  scaleFactor = "voxel", cropImageVoxelCube_inProcessing = TRUE,
  ROINameForNormalization = NA)

Arguments

filter.pipeline

is a list where is indicated the pipeline of filtering to be applied (in sequence)

collection

is the collection: the default is 'default'

cropResult

is a boolean (TRUE or FALSE) which indicates if the result should be cropped or not, in order to save memory. Default is TRUE

scaleFactor

can be 'voxel' or 'space'. If 'voxel' (the default) it consider the sam sigma values (if specified) for all the geoLet object, if 'space' it normalize the sigma according to the different pixelSpacing.

ROINameForNormalization

the name of the ROI used to normalize the signal

obj.geoLet

is the new.mmButo object

valueForNormalization

the highest value used to normalize the 'ROINameForNormalization' voxel values

ROIName

the name of the ROI to extract

ROINameForNormalization

Optional, default NA. If you want to normalize the voxelCubes accoring to some specific ROIs (i.e. Urin) you can indicate here the ROIName. By this way, the other parameter upperValueForNormalization. Signals into such ROIS will be aligned at the biggest.

Value

a list containing the filtered images (cropped or not)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# Create an instante of new.mmButo and load some cases
obj<-geoLet()
obj$openDICOMFolder("/progetti/immagini/urinaEasy")

# build the filtering pipeline
filterPipeline<- list()
filterPipeline[[1]]<-list("kernel.type"="LoG", "sigma"=1.5)

# filter the images (normalizing the GTV signal with Urin) cropping the result
a<-FIL.2D.conv.Filter(obj.geoLet = obj,ROIName = "GTV",ROINameForNormalization='Urina', valueForNormalization=10000,filter.pipeline = filterPipeline )

# if you want to normalize with the signal in urins, for example:
a<-FIL.2D.conv.Filter(obj.geoLet = obj,ROIName = "GTV",ROINameForNormalization='Urina', valueForNormalization=10000,filter.pipeline = filterPipeline , ROINameForNormalization = "Urina")

## End(Not run)

robertogattabs/RadAgent documentation built on June 30, 2018, 12:02 a.m.