]> Creatis software - clitk.git/blob - registration/clitkBSplineDeformableRegistration.ggo
198f995515b0292fc4320171b453c7dc7a0a4024
[clitk.git] / registration / clitkBSplineDeformableRegistration.ggo
1 #File clitkBSplineDeformableRegistration.ggo
2 #Author: Jef Vandemeulebroucke <jefvdmb@gmail.com>
3 #Date : Tue 15 July 2008 16.35 
4
5 package "clitk"
6 version "Register 2 images using optimized ITK FFD (high memory requirements) or BLUT FFD. Both implementations are provided, mainly for debugging purposes.."
7
8 option "config"         -       "Config file"                   string          no
9
10
11 section "Run Time"
12
13 option "verbose"        v       "Verbose"                       flag            off
14 option "threads"        -       "Number of threads to use for intensive algorithms (default=min(cores,8))"      int      no
15
16
17 section "Input"
18
19 option "reference"              r       "Input reference 3D image (float)"      string          yes
20 option "target"                 t       "Input target    2D image (float)"      string          yes
21 option "mask"                   m       "Mask to placed over the reference image"                 string                no
22
23
24 section "Output"
25
26 option "vf"                     -       "Result DVF"                            string          yes
27 option "coeff"                  -       "Result coefficient images"             string          no      multiple
28 option "output"                 o       "Deformed target image"                 string          yes
29 option "before"                 -       "Difference image before (but after rigid transform)"           string          no
30 option "after"                  -       "Difference image after "               string          no
31
32
33 section "Transform (Note that for BLUT FFD only one of --control, --spacing is required. The other will be adjusted to fit the region and allow exact representation. SamplingFactor will be set accordingly"
34
35 option "init"                   -       "Initial coefficient images"                                    string          no              multiple
36 option "rigid"                  -       "Prior rigid transform matrix from reference to target space"   string          no      
37 option "order"                  -       "Spline Order FFD"                                              int       no    multiple        default="3"
38 option "control"                -       "Internal control points for each dimension"                    int       no    multiple        
39 option "spacing"                -       "Control point spacing for each dimension (mm)"                 double    no    multiple        
40 option "wlut"                   -       "With LUT for BSpline calculation"                              flag      off
41 option "samplingFactor"         -       "LUT sampling factor"                                           int       no    multiple        
42
43
44 section "Interpolator"
45
46 option "interp"         -       "Interpolation: 0=NN, 1=Linear, 2=BSpline, 3=BLUT"      int     no  default="1"
47 option "interpOrder"    -       "Order if BLUT or BSpline (0-5)"                        int     no  default="3"
48 option "interpSF"       -       "Sampling factor if BLUT"                               int     no  default="20"
49
50
51 section "Metric (optimized, threaded (opt) versions are marked *)"
52
53 option "metric"         -       "Type: 0=Mean-Squares*, 1=Normalized CC*, 2=Histogram CC, 3=Gradient-Difference, 4=Viola-Wells MI, 5=Histogram MI, 6=Mattes' MI*, 7=Normalized MI, 8=CR, 9=SSD for BLUT FFD**"  int     no      default="9"
54 option "samples"        -       "Specify fraction [0, 1] of samples of the reference image used for the metric (* only). Use high fraction for detailed images (eg. 0.2, 0.5), for smooth images 0.01 might be enough." float   no      default="1"
55 option "intThreshold"   -       "Fixed image samples intensity threshold (* only)"                                                      float   no              
56 option "subtractMean"   -       "1: Subtract mean for NCC calculation (narrows optimal)"                                                flag    on      
57 option "bins"           -       "2,5-8: Number of histogram bins"                                                                       int     no      default="50"
58 option "random"         -       "4,6: Samples should be taken randomly, otherwise uniformly"                                            flag    off     
59 option "stdDev"         -       "4: specify the standard deviation in mm of the gaussian kernels for both PDF estimations"              float   no      default="0.4"   
60 option "explicitPDFDerivatives" -       "6: Calculate PDF derivatives explicitly (rigid=true; FFD=false)"                               flag    off
61
62
63 section "Optimizer"
64
65 option "optimizer"      -       "0=Simplex, 1=Powell, 2=FRPR, 3=Regular Step GD, 4=VersorRigid3D, 5=Conjugated Gradient, 6=L-BFGS, 7=L-BFGS-B" int no default="7" 
66 option "delta"          -       "0: Initial delta, otherwise automatic"                                                 double  no                      
67 option "step"           -       "1,2,3,4: Initial stepsize (to be multiplied with the gradient)"                        double  no      default="2.0"   
68 option "relax"          -       "3,4: Relaxation of the stepsize (multiplied each time the gradient changes sign)"      double  no      default="0.7"
69 option "valueTol"       -       "0,1,2: Tolerance on the function"                                                      double  no      default="0.01"
70 option "stepTol"        -       "0,1,3,4: Tolerance on the step size"                                                   double  no      default="0.1"
71 option "gradTol"        -       "3,4,6,7: Tolerance on the (projected) gradient magnitude (7: 1=low->1e-10=high precision)"     double  no      default="1e-5"                  
72 option "lineAcc"        -       "6: Line accuracy (eg: high=0.1, low=0.9)"      double  no      default="0.9"
73 option "convFactor"     -       "7: Convergence factor: terminate if factor*machine_precision>reduction in cost (1e+12 low -> 1e+1 high precision) "    double          no      default="1e+7"
74 option "maxIt"          -       "0-7: Maximum number of iterations"                                     int     no      default="500"
75 option "maxLineIt"      -       "1,2: Maximum number of line iterations"                                        int     no      default="50"    
76 option "maxEval"        -       "6,7: Maximum number of evaluations"                                            int     no      default="500"
77 option "maxCorr"        -       "7: Maximum number of corrections"                                              int     no      default="5"
78 option "selectBound"    -       "7: Select the type of bound: 0=none, 1=u, 2=u&l, 3=l"                  int     no      default="0"
79 option "lowerBound"     -       "7: The lower bound"                                                    double  no      default="0.0"
80 option "upperBound"     -       "7: The upper bound"                                                    double  no      default="0.0"
81
82
83 section "Registration"
84
85 option "levels"         -       "Number of resolution levels"                                   int     no      default="1"                                             
86
87