1 #File clitkCropImage.ggo
2 package "clitkCropImage"
4 purpose "Crop an image according to a given extends or AutoCrop with a background value or like another image"
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
14 option "input" i "Input image filename" string yes
15 option "output" o "Output image filename" string yes
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
23 section "AutoCrop with BG value"
24 option "BG" - "Background value in input." double default="0" no
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