Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>TCK Tractography ViewerNew to Visual Studio Code? Get it now.
TCK Tractography Viewer

TCK Tractography Viewer

NeuroZ68

|
6 installs
| (1) | Free
Interactive 3D viewer for MRtrix3 .tck tractography files. Click a .tck file to visualize streamlines with directional RGB coloring.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TCK Tractography Viewer — VS Code Extension

🧠 Click a .tck file → see it in 3D. Just like NIfTI viewers, but for tractography.

TCK Viewer License

Features

  • One-click viewing — Open any .tck file from the VS Code file explorer
  • Interactive 3D — Rotate, zoom, and pan with orbit controls (Three.js)
  • Directional RGB coloring — Red = Left-Right, Green = Anterior-Posterior, Blue = Superior-Inferior
  • Multiple color modes — Directional, length-based (viridis colormap), or uniform
  • Preset views — Superior, Anterior, Left, Right, Reset
  • Adjustable line width — Real-time slider
  • Performance — Handles hundreds of thousands of streamlines via subsampling
  • HUD — File name, streamline count, FPS counter
  • Configurable — Max streamlines, default color mode, background color, line width via VS Code settings

Usage

  1. Open a folder containing .tck files in VS Code
  2. Click on any .tck file in the Explorer
  3. The 3D viewer opens automatically

Or use the command palette: TCK Viewer: Open TCK File

Controls

Action Mouse
Rotate Left-click + drag
Pan Right-click + drag
Zoom Scroll wheel

Toolbar Buttons

  • Color mode: Directional / Length / Uniform
  • Views: S (superior), A (anterior), L (left), R (right), ⟲ (reset)
  • Line width: Adjustable slider

Settings

Setting Default Description
tckViewer.maxStreamlines 50000 Max streamlines to display
tckViewer.colorMode directional Default color mode
tckViewer.backgroundColor #1a1a2e Viewer background color
tckViewer.lineWidth 1.5 Default line width

Supported Formats

  • MRtrix3 .tck — Standard tractography format from MRtrix3, produced by tckgen

Requirements

  • VS Code ≥ 1.80.0
  • No external dependencies needed at runtime

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft