]> Creatis software - clitk.git/blob - tools/clitkCropImage.ggo
Cosmetic
[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 In all cases, by default, the output origin is set to be able to overlay input and output without registration."
6
7 option "config"             - "Config file"                                                                                                             string  no
8 option "imagetypes"         - "Display allowed image types"                                                                                             flag    off
9 option "verbose"            v "Verbose"                                                                                                                 flag    off
10 option "verboseOption"      - "Display options values"                                                                                                  flag    off
11 option "verboseWarningOff"  - "Do not display warning"                                                                                                  flag    off
12
13 section "I/O"
14
15 option "input"              i "Input image filename"                                                                                                    string  yes
16 option "output"             o "Output image filename"                                                                                                   string  yes
17
18 section "Used determined crop"
19 option "boundingBox"        b "Bounding box of the crop region in pixel (in 3D: =x1,x2,y1,y2,z1,z2)"                                                    int     no          multiple
20 option "lower"              l "Size of the lower crop region (multiple values)"                                                                         int     no          multiple
21 option "upper"              u "Size of the upper crop region (multiple values)"                                                                         int     no          multiple
22 option "origin"             - "Set new origin to zero"                                                                                                  flag    off
23
24 section "AutoCrop with BG value"
25 option "BG"                 - "Background value in input."                                                                                              double  default="0" no
26
27 section "Crop like another image"
28 option "like"               - "Crop like this image (must have the same spacing"                                                                        string  no
29 option "updateOrigin"       - "By default, with like image, the output origin is the same than the like image. Set to on the flag to keep the origin."  flag    off
30 option "BGLike"             - "Background value in output (if like larger)"                                                                             double  default="0" no