-
Notifications
You must be signed in to change notification settings - Fork 104
Using SimpleITK filters
aditiiyer edited this page May 25, 2022
·
9 revisions
CERR provides a wrapper to extend access to image filters in the SimpleITK package.
- CERR
- Python
- Compatible SimpleITK package
- Specify path to Python installation prior to launching Matlab
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:path/to/python
- Specify path to SimpleITK via CERROptions.json
"sitkLibPath": "path/to/python/Lib/site-packages/"
- Define JSON configurations for texture calculation. Supported filters include: GradientImageFilter, HistogramMatchingImageFilter, LaplacianRecursiveGaussianImageFilter, N4BiasFieldCorrectionImageFilter, and N4BiasAndHistogramCorrectionImageFilter.
global planC
strNum = 1;
configFilePath = '/path/to/config.json';
planC = generateTextureMapFromPlanC(planC,strNum,configFilePath );