fractalFeatures: Fractal features

Description Usage Arguments Examples

View source: R/06_fractalFeatures.R

Description

This function extracts fractal features using the box counting technique.

Usage

1
2
fractalFeatures(imgObj, fstPerc = 0, lstPerc = 100, ThDown = 0,
  ThUp = 100, onepxwide = T)

Arguments

imgObj

The imgObj get as input the GTV object extracted using getROIVoxels method.

fstPerc

A numeric value for normalized the image. It is the first percentile.

lstPerc

A numeric value for normalized the image. It is the last percentile.

ThDown

A numeric value for masked image filter. It is the minimum value of the threshold

ThUp

A numeric value for masked image filter. It is the maximum value of the threshold

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
# Create an instance of geoLet object and load a case
obj <- geoLet()
obj$openDICOMFolder(pathToOpen = './patient1')

# get the ROI
GTV <- obj$getROIVoxels(Structure = 'GTV')

# extract the fractal feature
 Fractal <- fractalFeatures(imgObj = GTV, fstPerc = 1, lstPerc = 99, ThDown = 0, ThUp = 100)


## End(Not run)

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