This application extracts the principal components from DSC-MRI scans as mentioned in [1].
REQUIREMENTS: Directory containing the following images in a sub-folder:
- A single DSC-MRI image (filename must contain the text 'perf' or 'PERF' or 'DSC' to be correctly detected e.g. AAAA_perf.nii.gz )
- Its corresponding mask for which the measurements need to be extracted (filename must contain the text 'label' or 'segmentation') to be correctly detected e.g. AAA_label.nii.gz)
- An example directory structure for the input data is as follows:
- RootFolder (this is the one you select for input)
- Subject_AAAA
- AAAA_perf.nii.gz
- AAAA_label.nii.gz
USAGE:
- Launch the application from "Applications" -> "Perfusion PCA".
- Specify the input directory containing a DSC-MRI and the mask (Label:1) defining the voxels to extract the measurements.
- Specify the output directory to save results.
- Select Extract new parameters to extract parameters or Apply extracted parameters to apply the extracted parameters.
- Specify the number of PCA images to produce [default value = 0] (optional) or
- Specify the variance threshold (optional)
- Specify the 'Extracted parameters directory' (if in Apply extracted parameters mode)
- Press the "Confirm" button.
- The principal components will be extracted/applied and the results will be saved at the specified location.
Note:
- In extract new parameters mode
- If none of the optional parameters are specified, default value of 0 is used for the number of PCA images to produce.
- In apply extracted parameters mode
- In this mode one of the optional parameters is required.
This application is also available as with a stand-alone CLI for data analysts to build pipelines around, using the following example commands:
- The following command will train a new model based on the samples in the inputDir using 5 principal components:
${CaPTk_InstallDir}/bin/PerfusionPCA.exe -t 0 -i C:/properly/formatted/inputDir -o C:/outputDir -n 5
- The following command will train a new model based on the samples in the inputDir for a variance threshold of 99:
${CaPTk_InstallDir}/bin/PerfusionPCA.exe -t 0 -i C:/properly/formatted/inputDir -o C:/outputDir -vt 99
- The following command will perform inference using an existing model for inputs in C:/input based on C:/modelDir using 5 principal components:
${CaPTk_InstallDir}/bin/PerfusionPCA.exe -t 1 -i C:/properly/formatted/inputDir -m C:/inputModelDir -o C:/outputDir -n 5
References:
- H.Akbari, L.Macyszyn, X.Da, R.L.Wolf, M.Bilello, R.Verma, D.M.O'Rourke, C.Davatzikos, "Pattern analysis of dynamic susceptibility contrast-enhanced MR imaging demonstrates peritumoral tissue heterogeneity", Radiology. 273(2):502-10, 2014, DOI:10.1148/radiol.14132458