]> Creatis software - clitk.git/blobdiff - tools/clitkCropImage.ggo
Change behavior of clitkCropImage with like option
[clitk.git] / tools / clitkCropImage.ggo
index e8650de42447336cd1b09755ac4cabdc99313f33..a70452dda7c8d650770c799f66d15124905c27a1 100644 (file)
@@ -1,7 +1,8 @@
 #File clitkCropImage.ggo
 package "clitkCropImage"
 version "1.0"
-purpose "Crop an image according to a given extends or AutoCrop with a background value or like another image"
+purpose "Crop an image according to a given extends or AutoCrop with a background value or like another image.
+In all cases, by default, the output origin is set to be able to overlay input and output without registration."
 
 option "config"                   -  "Config file"                 string  no
 option "imagetypes"        -  "Display allowed image types" flag    off
@@ -15,7 +16,7 @@ option "input"                i       "Input image filename"            string        yes
 option "output"        o       "Output image filename"           string        yes
 
 section "Used determined crop"
-option "boundingBox"           b       "Bounding box of the crop region (in 2D: =x1,y2, x2,y2)"  int   no  multiple
+option "boundingBox"           b       "Bounding box of the crop region (in 3D: =x1,x2,y1,y2,z1,z2)"  int      no  multiple
 option "lower"         l       "Size of the lower crop region (multiple values)"         int   no  multiple
 option "upper"         u       "Size of the upper crop region (multiple values)"         int   no  multiple
 option "origin"        -       "Set new origin to zero"          flag  off  
@@ -25,6 +26,7 @@ option "BG"           -       "Background value in input."      double default="0" no
 
 section "Crop like another image"
 option "like"          -       "Crop like this image (must have the same spacing"   string no
+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
 option "BGLike"                -       "Background value in output (if like larger)"        double default="0" no