X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkCropImage.ggo;h=a674f8bbef5b5450493a3c0eae14ccde4acb0579;hb=6f9f7ec60d11ef7a4c189aa190e36027fa758dde;hp=ce5eab1bf95eb33df9c375bb39411684a8d39298;hpb=b19b2e28476b45595584110623b360e1b6edbb5a;p=clitk.git diff --git a/tools/clitkCropImage.ggo b/tools/clitkCropImage.ggo old mode 100755 new mode 100644 index ce5eab1..a674f8b --- a/tools/clitkCropImage.ggo +++ b/tools/clitkCropImage.ggo @@ -1,14 +1,32 @@ #File clitkCropImage.ggo package "clitkCropImage" version "1.0" -purpose "Reduce the image size by removing regions at the lower and upper end." +purpose "Crop an image according to a given extends or AutoCrop with a background value or like another image" -option "config" - "Config file" string no -option "verbose" v "Verbose" flag off +option "config" - "Config file" string no +option "imagetypes" - "Display allowed image types" flag off +option "verbose" v "Verbose" flag off +option "verboseOption" - "Display options values" flag off +option "verboseWarningOff" - "Do not display warning" flag off + +section "I/O" option "input" i "Input image filename" string yes option "output" o "Output image filename" string yes -option "boundingBox" b "Bounding box of the crop region" int no multiple -option "lower" l "Size of the lower crop region" int no multiple -option "upper" u "Size of the upper crop region" int no multiple + +section "Used determined crop" +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 + +section "AutoCrop with BG value" +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 "BGLike" - "Background value in output (if like larger)" double default="0" no + + + +