unu-splice - Man Page

replace a slice with a different nrrd

Synopsis

unu splice -a,--axis <axis> -p,--position <pos> -s,--slice <nslice> [-i,--input <nin>] [-o,--output <nout>]

Description

Replace a slice with a different nrrd. This is functionally the opposite of “slice”.

Options

-a <axis> , --axis <axis>

axis to splice along (unsigned int)

-p <pos> , --position <pos>

position to splice at:

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

input nrrd. This is the slice to insert into nin

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

output nrrd (string); default: “-(rq

See Also

unu(1), unu-slice(1)

Referenced By

tend-shrink(1), unu(1).

August 2021