]> Creatis software - clitk.git/blob - tools/clitkCropImage.ggo
a674f8bbef5b5450493a3c0eae14ccde4acb0579
[clitk.git] / tools / clitkCropImage.ggo
1 #File clitkCropImage.ggo
2 package "clitkCropImage"
3 version "1.0"
4 purpose "Crop an image according to a given extends or AutoCrop with a background value or like another image"
5
6 option "config"            -  "Config file"                 string  no
7 option "imagetypes"        -  "Display allowed image types" flag    off
8 option "verbose"           v  "Verbose"                     flag    off
9 option "verboseOption"     -  "Display options values"      flag    off
10 option "verboseWarningOff" -  "Do not display warning"      flag    off
11
12 section "I/O"
13
14 option "input"          i       "Input image filename"            string        yes
15 option "output"         o       "Output image filename"           string        yes
16
17 section "Used determined crop"
18 option "boundingBox"    b       "Bounding box of the crop region (in 3D: =x1,x2,y1,y2,z1,z2)"  int      no  multiple
19 option "lower"          l       "Size of the lower crop region (multiple values)"         int   no  multiple
20 option "upper"          u       "Size of the upper crop region (multiple values)"         int   no  multiple
21 option "origin"         -       "Set new origin to zero"          flag  off  
22
23 section "AutoCrop with BG value"
24 option "BG"             -       "Background value in input."      double default="0" no
25
26 section "Crop like another image"
27 option "like"           -       "Crop like this image (must have the same spacing"   string no
28 option "BGLike"         -       "Background value in output (if like larger)"        double default="0" no
29
30
31
32