Using SimpleITK filters - cerr/CERR GitHub Wiki

CERR provides a wrapper to extend access to seelct image filters in the SimpleITK package. See sitkWrapper.m for supported filters.

Requirements

Usage

  • Specify path to Python installation prior to launching Matlab
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:path/to/python
"sitkLibPath": "path/to/python/Lib/site-packages/"

Filter parameters

  • paramS.sitkFilterName.val : SITK filter name. Supported filters include: GradientImageFilter, HistogramMatchingImageFilter, LaplacianRecursiveGaussianImageFilter, N4BiasFieldCorrectionImageFilter, and N4BiasAndHistogramCorrectionImageFilter.
  • paramS.(parName).val : Required parameters ('parName') for SITK filter
global planC
strNum = 1;
planC = generateTextureMapFromPlanC(planC,[],strNum,paramS);