Skip to content

First Release

Latest
Compare
Choose a tag to compare
@xhs400 xhs400 released this 20 Nov 06:21
· 9 commits to master since this release
90bfbf2

usage: python pstrip.py -i Input_Image [-m Mask_Name] [-o Output_Name] [-p platform] [-g gamma] [-l lambda] [-c correction] [-v] [-h]

PCA model for Brain Extraction: We provide arguments for user to specify, although the default settings are sufficient for most of the cases.

required arguments:
-i , --input input image name

optional file arguments:
-m , --mask output mask name.
-o , --output brain extracted image.
If both mask and output image are not specified, output image will be generated into input image folder.

additional arguments:
-p , --platform platform (CPU/GPU), default GPU
-g , --gamma gamma for total variation term penalty, default 0.5
-la , --lambda lambda for sparse term penalty, default 0.1
-c , --correction number of correction (regularization) steps, default 0
-d , --debug Debug mode, default 0
-v, --version show program's version number and exit
-h, --help show this help message and exit
-V, --verbose increase output verbosity

Debug mode: 0: no intermediate results will be saved. 1: some of itermediate results will be saved. 2: all intermediate results will be saved in tmp_res folder. Be careful, this could occupy large space on disk if multiply images will be processed.