Download these data files (here):
- DataFile1_PT_Anonym.zip
- DataFile1_PT_Anonym_RoiVolume_healthy.nii.zip
- DataFile1_PT_Anonym_RoiVolume_tumor.nii.zip
Unzip all zip files.
Create the script file Texture_Script.txt (see example of script below).
Edit the script and remplace all the "WD" by your working directory:
- ex on Linux: WD=/home/me/LIFExControlQualitySet
- ex on Mac: WD=/home/me/LIFExControlQualitySet
- ex on Windows: WD=C:/Users/me/LIFExControlQualitySet
Run:
- drag and drop the script file into LIFEx (left side after having selected texture protocol)
- results are saved in DataFile1_PT_Anonym_TextureResults.csv
Here, an example of script (save in txt format, not rtf):
#Common
LIFEx.texture.BinSize=2
LIFEx.texture.NbGrey=10
LIFEx.texture.SessionCsv=WD/DataFile1_PT_Anonym_TextureResults.csv
# Absolute
LIFEx.texture.ButtonAbsolute=true
LIFEx.texture.MinBound=0.0
LIFEx.texture.MaxBound=20.0
# RelativeMeanSd
LIFEx.texture.ButtonRelativeMeanSd=false
# RelativeMinMax
LIFEx.texture.ButtonRelativeMinMax=false
# SpatialResampling (0 = no spatial resampling = native spacing voxels)
LIFEx.texture.ZSpatialResampling=0
LIFEx.texture.YSpatialResampling=0
LIFEx.texture.XSpatialResampling=0
# Laplacian of Gaussian filter (LIFEx>=6.09)
#LIFEx.texture.LaplacianDimensionProcessing=3D
#LIFEx.texture.LaplacianSigma.z=0.8
#LIFEx.texture.LaplacianSigma.y=0.8
#LIFEx.texture.LaplacianSigma.x=0.8
# GLCM
LIFEx.texture.GLCM.DistanceWithNeighbours=1
# Patient0
LIFEx.texture.Img0=WD/DataFile1_PT_Anonym
LIFEx.texture.Img0Roi0=WD/DataFile1_PT_Anonym_RoiVolume_healthy.nii
LIFEx.texture.Img0Roi1=WD/DataFile1_PT_Anonym_RoiVolume_tumor.nii