Parameters: |
- input (mango.Dds) – Image to be filled, voxels inside the cylinder are set to the
specified fill value.
- centre (3 sequence of float) – The centre coordinate of the cylinder (cz,cy,cx).
- radius (float) – The radius of the cylinder.
- axislen (float) – The length of the cylinder axis.
- fill (numeric) – The value assigned to voxels inside the cylinder.
- rotation (3x3 rotation matrix or (axis,angle) pair) – By default the axis of the cylinder is parallel to the image z-axis.
The orientation of the cylinder, 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, radius and axislen
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.
|