Sponsor:

Your company here, and a link to your site. Click to find out more.

unu-crop - Man Page

crop along each axis to make a smaller nrrd

Synopsis

unu crop [-min,--minimum [<pos0 ...>]] [-max,--maximum [<pos0 ...>]] [-b,--bounds <filename>] [-i,--input <nin>] [-o,--output <nout>]

Description

Crop along each axis to make a smaller nrrd.

Options

-min [<pos0 ...>] , --minimum [<pos0 ...>]

low corner of bounding box.

  • <int> gives 0-based index
  • M, M+<int>, M-<int> give index relative to the last sample on the axis (M==#samples-1).

(0 or more positions). default: “0

-max [<pos0 ...>] , --maximum [<pos0 ...>]

high corner of bounding box. Besides the specification styles described above, there’s also:

  • m+<int> give index relative to minimum.

(0 or more positions). default: “0

-b <filename> , --bounds <filename>

a filename given here overrides the -min and -max options (they don’t need to be used) and provides the cropping bounds as a 2-D array; first scanline is for -min, second is for -max. Unfortunately the “m” and “M” semantics (above) are currently not supported in the bounds file.

-i <nin> , --input <nin>

input nrrd

-o <nout> , --output <nout>

output nrrd (string); default: “-

See Also

unu(1)

Referenced By

unu(1), unu-inset(1).

August 2021