Parameters: |
- input (mango.Dds) – Image to be filled, voxels inside the box are set to the
specified fill value.
- centre (3 sequence of float) – The centre coordinate of the box (cz,cy,cx).
- shape (3 sequence of float) – The shape/size of the box (sz_z,sz_y,sz_x).
- fill (numeric) – The value assigned to voxels inside the box.
- rotation (3x3 rotation matrix or (axis,angle) pair) – The orientation of the box, can be a 3x3 rotation
matrix (e.g. numpy.eye(3,3)) or an axis and angle (radians)
pair: ((axis_z, axis_y, axis_x), radian_angle).
- unit (str) – Units for the centre and shape
arguments, e.g. 'mm' or 'voxel', etc
- coordsys (str - 'relative' or 'absolute') – Whether the centre is a 'relative'
(to the input.origin) coordinate or an 'absolute' coordinate.
|