]> Creatis software - clitk.git/blob - tools/clitkResampleImage.ggo
GateAsciiImageIO is now cross-platform using itksys::RegularExpression
[clitk.git] / tools / clitkResampleImage.ggo
1 #File clitkImageResample.ggo
2 package "clitkResampleImage"
3 version "2.0"
4 purpose "Resample an image. You can specify the interpolation, you can apply a Gaussian filter before (automated if downsample)."
5
6 section "Common"
7 option "config"         -       "Config file"                        string     no
8 option "verbose"        v       "Verbose"                            flag       off
9 option "imagetypes"     -       "Verbose: allowed image types"       flag       off
10 option "thread"         -       "Nb of thread to use (default=max)"  int        no
11
12 section "Input & Output options"
13 option "input"          i       "Input image filename"                  string  yes
14 option "output"         o       "Output image filename"                 string  yes
15 option "like"           l       "Resample like this image"              string  no
16 option "size"           -       "Number of pixels of each coordonate"   int     no      multiple  default="0"
17 option "spacing"        -       "Spacing in mm between pixels"          float   no      multiple  default="-1.0"
18 option "default"        d       "Default pixel value"                   float   no      default = "0.0"
19 option "time"           t       "Last Dimension Is Time -> do not resample it (auto on for 4D)" flag    off
20
21 section "Interpolation"
22 option "interp"         -       "Interpolation type: {nn, linear, bspline, blut}"  string  no default="nn"
23 option "order"          b       "BSpline ordre (range 0-5)"                        int     no default="3"
24 option "sampling"       s       "BLUT sampling value"                              int     no default="30"
25
26 section "Gaussian filtering"
27 option "gauss"          g       "Apply Gaussian before (sigma in mm)"             float  no     multiple  default="0.0"
28 option "autogauss"      a       "Apply Gaussian with auto sigma when downsample"  flag   off