Woolz Image Processing
Version 1.7.5
|
WlzShiftObj [-h] [-o<output object file>] [-g] [-x<column shift>] [-y<line shift>] [-z<plane shift>] [<input object file>]
-h | Help - print help message |
-o | Output object file name. |
-g | shift object to the origin. |
-x | column shift. |
-y | line shift. |
-z | plane shift. |
# The following c shell script uses awk(1), WlzBoundingBox(1) and # WlzShiftObj(1) to shift infile.wlz so that its first # column, line, plane are at the origin. WlzShiftObj `WlzBoundingBox infile.wlz | \ awk '{print "-x -" $1 " -y -" $2 " -z -" $3}'` \ -o outfile.wlz infile.wlz # The following commad also shifts the object to it's origin. WlzShiftObj -g -o outfile.wlz infile.wlz