Change displayed image orientation labels (L, R, ...)

Hi,

Is there a way to rename the orientation marker in the slice viewports (Not flipping or changing direction, just simply changing the naming system)? I was able to change the names of the axes in the 3D view (e.g. “Anterior” to “Ventral”) and the orientation marker there is updated accordingly but the ones on the slices are not and still have RAS markers.

Thanks,
Giang

You need to set labels for each slice view, too:

getNode('vtkMRMLSliceNodeRed').SetAxisLabel(2,"Dorsal")
getNode('vtkMRMLSliceNodeRed').SetAxisLabel(3,"Ventral")

You can change settings in all slice views and modify the default for new slice views as shown in this example: https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Change_default_slice_view_orientation

1 Like