f.extractor.sing.par: Function extractor for single filter parameter

Description Usage Arguments Details Examples

View source: R/geoletFeatures.R

Description

It extracts the feature values by applying the filter at a single LoG sigma.

Usage

1
2
3
4
5
f.extractor.sing.par(path, ROIName, feature.family = c("stat", "morph",
  "glcm", "rlm", "szm"), filterPipeline = list(), interpolate = FALSE,
  px = "", py = "", threshold = 0.001, discretize = "",
  bin.size = 25, bin.number = 25,
  fileName = "tmp.f.extractor.sing.par.RData", forceRecalculus = TRUE)

Arguments

path

The path to be browsed for folders containing DICOM images and Structure Set of patients

ROIName

A character object containing the name(s) (as vector) of ROIs to be analyzed. If there is more than one ROI (multiple references) or no ROI is listed the analysis is stopped

feature.family

The list of features to be extracted, by default all. The possible families are: statistical, grey level co-occurrence matrix, run-length matrix, size-zone matrix and fractal

filterPipeline

A list contains the filter pipeline to be applied, by default empty, to images before feature extraction. The first list argument is "kernel.type" as character and the second argument is "sigma" as numeric.

interpolate

A logical value, by default FALSE, for interpolating sigma values in filters using sigma for computation as LoG

px

The pixel spacing in x direction as string for interpolating sigma, by default empty.

py

The pixel spacing in y direction as string for interpolating sigma, by default empty.

threshold

A numeric value setting the threshold for applying the interpolation, by default .001

discretize

ROI discretization for feature extractions, by default none. The possible values are fixed.bin.size and fixed.bin.number.

bin.size

Size of bin for ROI discretization for feature extractions, by default 25.

bin.number

Number of bin for ROI discretization for feature extractions, by default 25.

fileName

The Rdata file name saved locally during the running, by default 'tmp.f.extractor.sing.par.RData'.

forceRecalculus

A logical value, by defaul TRUE, for forcing recalculus by deleting all the local Rdata previously created.

Details

Using an object of class ROImap it is possible to list all the ROIs contained in an explored directory for the analysis. It is possible to analyze different ROIs names referencing to the same structure in the different studies by putting al their names a a vector of character objects in the argument ROIName

Examples

1
2
3
4
5
6
7
## Not run: 
# Create a filter pipeline list
filterPip <- list()
filterPip[[1]] <- list('kernel.type'='LoG', 'sigma' = 0.3)
f.extractor.sing.par(path = './RadiomicsFolder', ROIName = 'GTV', feature.family = c('stat', 'glcm'), filterPipeline = filterPip, forceRecalculus = T)

## End(Not run)

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