Interactive 3D visualization

The 3D viewer uses PyVista/VTK for hardware-accelerated rendering. The cortical surface, electrode trajectories, and individual contact spheres are all rendered together in a freely rotatable scene.

Overlay toggles

Toggle any combination of: T1 brain surface, CT/T2/PET/SISCOM isosurfaces, pial surfaces (L/R), brain mask outline, and parcellation-coloured surfaces. Each has independent opacity control.

Parcellation labels

Hover over any point on the brain surface or over a contact sphere to query its anatomical label from the loaded FreeSurfer parcellation. Labels appear as a floating tooltip.

MNI normalization

Register the patient T1 to the MNI152NLin2009cAsym template using ANTs. Inverse warps allow mapping of electrode coordinates from patient space to standard MNI152 space.

Crosshair bridge

Press Ctrl+D in the Reconstruction page to send the current crosshair position as a red marker to the 3D view. Useful for verifying a contact position in 3D context.

Export options