Skip to content

Volume Renderer v2#1120

Draft
ElpadoCan wants to merge 10 commits into
mainfrom
renderer_3d_v2
Draft

Volume Renderer v2#1120
ElpadoCan wants to merge 10 commits into
mainfrom
renderer_3d_v2

Conversation

@ElpadoCan

@ElpadoCan ElpadoCan commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Taking inspiration from PRs #1110, #1102, #1096, #1106, and from https://github.com/keejkrej/acdc-son, this PR implements a 3D volume renderer that can be launched from a Python script (see below), or from the module 3 GUI.

Minimal code:

renderer = VolumeRendererWindow()
renderer.set_volume(zstack_array)   # (Z, Y, X) numpy array
renderer.run()

Features:

  • Lut colormap and slider for each channel
  • Auto and Reset buttons above each lut slider
  • Gamma correction with slider
  • Opacity slider for each channel
  • Top toolbar with "Home" view and "Save" button
  • "Save" buttons saves a PNG screenshot
  • Multi-channel overlay
  • Overaly segmentation mask
  • List of selectable Cell IDs to show only those cells
  • Clickable segmentation masks with "Ctrl" click to select more than one
  • z-anisotropy correction factor as a numeric control
  • z-anisotropy correction factor with the function scipy.ndimage.zoom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant