Skip to main content

Transform

The Transform tool provides geometric transformation operations for modifying the spatial properties of volume and mask data. Use this tool to reorient images, adjust physical dimensions, translate the origin, or center data at the scene origin.

Accessing the Tool

  1. Navigate to the Image tab in the ribbon.
  2. Click Transform in the Transform section.

Tabs

The Transform tool organizes operations into four tabs:


Reorient Tab

Rotate volume and mask datasets around a specified axis.

Parameters

ParameterDescription
Target objectsSelect which objects to transform (active, selected, or all volume/mask objects)
AngleRotation angle in degrees
AxisRotation axis as X, Y, Z unit vector or preset (X, Y, Z axis)
Volume interpolationInterpolation method for volume data (Nearest, Linear, Cubic)
Mask interpolationInterpolation method for mask data (Nearest recommended)

Reorientation Methods

MethodDescription
Angle + AxisSpecify rotation angle and axis vector
Preset orientationsQuick rotations (90°, 180°, 270° around principal axes)
tip

Use Nearest interpolation for masks to preserve label values without introducing interpolation artifacts.


Rescale Tab

Modify the physical dimensions or pixel spacing of the datasets.

Physical Dimensions Mode

Specify the desired physical size in millimeters:

ParameterDescription
X (mm)Target physical width
Y (mm)Target physical height
Z (mm)Target physical depth
Maintain aspect ratioLock proportional scaling

Pixel Spacing Mode

Directly set the voxel spacing values:

ParameterDescription
X spacing (mm)Distance between voxel centers in X
Y spacing (mm)Distance between voxel centers in Y
Z spacing (mm)Distance between voxel centers in Z
info

Rescaling only modifies the spacing metadata. The voxel data itself is not resampled. To change the number of voxels, use the Resample tool.


Translate Tab

Move the origin of the datasets.

Parameters

ParameterDescription
Translation X (mm)Shift along X axis
Translation Y (mm)Shift along Y axis
Translation Z (mm)Shift along Z axis

Options

OptionDescription
Set originSet absolute origin coordinates
Translate originMove origin by specified offset

Center Tab

Move datasets so their geometric center aligns with the scene origin (0, 0, 0).

This is useful for:

  • Aligning data from different sources
  • Preparing data for symmetric operations
  • Simplifying coordinate calculations

Click Center to apply the operation to the selected target objects.


Workflow

Reorienting a Volume

  1. Open the Transform tool.
  2. Select the Reorient tab.
  3. Choose target objects from the dropdown.
  4. Set the rotation angle (e.g., 90°).
  5. Select the rotation axis (e.g., Z-axis).
  6. Choose interpolation methods for volumes and masks.
  7. Click Apply.

Adjusting Spacing

  1. Open the Transform tool.
  2. Select the Rescale tab.
  3. Enter new spacing values or physical dimensions.
  4. Enable Maintain aspect ratio if proportional scaling is needed.
  5. Click Apply.

Apply Transformation Matrix

For advanced use cases, you can apply transformations via the Python scripting API.

See the VolumeOperations API Reference for available transformation methods including reorient(), transform(), change_spacing(), translate_origin(), change_origin(), and center_at_origin().

warning

Geometric transformations may cause DICOM metadata to become desynchronized with the image data. Verify coordinate alignment after transformations if metadata accuracy is required.