SegRef3D

From image stacks to quantitative 3D data.

SegRef3D helps researchers segment structures, refine masks, measure calibrated volumes, and reconstruct 3D models from serial images and volumetric data.

Open SegRef3D Lite · Download Local GPU v1.3.2 · Tutorial · Ask AI · 日本語

SegRef3D Lite segmentation and mask refinement interface SegRef3D Lite 3D STL preview

Start with your images

Your data What SegRef3D can help you do
Serial histology / optical microscopy Segment structures, refine masks, measure calibrated volume, and reconstruct 3D.
Serial electron microscopy Work across an ordered image stack, quantify labeled structures, and reconstruct them.
CT / MRI Load volumetric data, segment or refine structures, measure volume, and export 3D data.
Micro-CT Use known voxel spacing for quantitative segmentation, measurement, and reconstruction.
Visible Human / anatomical image stacks Segment anatomical structures from ordered images and create quantitative 3D data.
Existing masks / AI segmentation Import masks, refine them, measure the result, and export it for further analysis.

Serial physical sections may require registration before quantitative 3D analysis. Reliable pixel/voxel and slice spacing are essential for physical measurements.

Demo datasets

SegRef3D Lite includes two microscopy image stacks that load directly in the browser:

Choose a demo on the start screen or in Open. Apple and RabbitCT demos also remain available. Demo images download only when selected. Your own images are processed locally during normal use. See demo data licenses, citations and modifications. These data licenses are separate from SegRef3D’s Apache-2.0 software license.

What do you want to do?

Why SegRef3D?

Built for image stacks and volumes

Use one workflow for serial histology, microscopy, CT/MRI, micro-CT, other ordered images, and supported 3D volumes: segment → refine → quantify → 3D.

Human in the loop

SegRef3D is designed around Create → Train → Predict → Review & Correct as well as AI segmentation → researcher refinement → quantitative output. Automatic results remain editable before measurement or reconstruction.

Quantitative 3D

SegRef3D connects calibrated spacing and reviewed masks to volume statistics, NIfTI labelmaps, TIFF stacks, and STL surface models.

Saved mask PNG sequences use the displayed canonical volume order: volume z=0 is mask0001.png and volume z=N-1 is maskNNNN.png. New SegRef3D mask sets include segref3d-mask-manifest.json declaring segref3d-canonical-v1 ordering.

Local first

Normal SegRef3D Lite editing, measurement, and export run in your browser. Optional Colab-based AI workflows upload data only when you explicitly submit a job. Check your institution’s policy before uploading research or medical data.

AI-assisted segmentation is available through local or optional Colab-based workflows. Results can be refined in SegRef3D before quantitative analysis or 3D export.

Choose your SegRef3D

Version Best for Start
SegRef3D Lite Most users; Windows, macOS, or Linux; no installation Open in browser
SegRef3D Local GPU v1.3.2 Windows + compatible NVIDIA CUDA GPU; local SAM2 Download ZIP
SegRef3D Local CPU v1.2.6 Windows CPU-only/offline desktop legacy workflow Download ZIP

Start with SegRef3D Lite unless you specifically need a Windows desktop build. Choose Local GPU to run the included SAM2 workflow locally. Local CPU is a legacy/fallback option without local SAM2.

Local GPU v1.3.2 provides local SAM2 box-prompt segmentation and multi-frame tracking. It uses PyTorch 2.11.0+cu128 (CUDA 12.8) and supports RTX 50-series / Blackwell sm_120. SegRef3D Local GPU v1.3.2 has been verified on Windows with an NVIDIA GPU, including its main workflows, section switching during and after Click drawing, and SegCT/MRI structure suggestions for DICOM data. A compatible NVIDIA GPU is required.

Download SegRef3D Local GPU v1.3.2 for Windows · Release notes

Local v1.3.0 also includes Interpolate Between Frames; Preview 3D and STL export with 1x, 5x, or 10x slice interpolation; PNG and legacy SVG mask import; Label PNG and colored SVG mask export; and session-based autosave storage.

For a Local build: download the ZIP, extract the complete folder, and run SegRef3D.exe. See the Local installation guide for driver, folder, and startup notes.

Ask AI about your workflow

Not sure where to start? Tell the AI what images you have → what you want to achieve → your computer environment, then receive a recommendation based on the official SegRef3D documentation.

Ask ChatGPT, Gemini, Claude, or Perplexity using the official prompt

Describe conditions and non-sensitive metadata only. Do not paste confidential research images or identifiable patient information into a third-party AI service.

Tutorials

I want to… Guide
Get started with SegRef3D Lite Basic tutorial
Watch the SegRef3D Lite workflow in Japanese SegRef3D Lite 使い方解説|AIセグメンテーションから3D表示まで
Watch the basic workflow Tutorial video
Learn the complete desktop workflow Full SegRef3D tutorial
Work with serial histology Registration / serial section guide
Use AI for arbitrary structures SegAnything tutorial
Segment supported CT/MRI anatomy SegCT/MRI workflow
Choose NIfTI, TIFF, STL, or CSV output Lite export tutorial
Install a Windows Local edition Local installation guide

View the release history · Legacy downloads · AI-readable documentation

Troubleshooting: Windows 11 blocks an internal PYD

The current Local GPU distribution is unsigned and may show VTK preview unavailable, DLL load failed while importing vtkInteractionStyle, or “blocked by an application control policy” (「アプリケーション制御ポリシーによってこのファイルがブロックされました」) when Smart App Control blocks an internal .pyd. In Event Viewer, check Microsoft → Windows → CodeIntegrity → Operational for the affected file and time. The reported event identified vtkInteractionWidgets.cp312-win_amd64.pyd as not meeting Enterprise signing level requirements. An antivirus allowing the EXE does not necessarily allow its DLL/PYD dependencies. Disabling SAC allowed startup on the reported PC; this is a diagnosis/temporary workaround, not a requirement.

The long-term remedy is code signing that covers bundled native binaries; see the signing and release design. The separate v1.3.1 WinError 193 issue was caused by ARM64 runtime DLLs in the x64 bundle. v1.3.2 uses verified Microsoft x64 runtimes and rejects architecture mismatches. The v1.3.2 release has since been verified on Windows with an NVIDIA GPU; see the release notes for the reported checks and the separate SAC limitation.

Disabling Smart App Control is not a requirement to use SegRef3D. Treat any such change only as diagnosis or a temporary workaround for the current release, subject to the device administrator’s security policy.

Citation and license

If you use SegRef3D in research, please cite:

  1. Muro S, Ibara T, Nimura A, Akita K. SegRef3D: A Versatile Open-Source Platform for Artificial Intelligence-Assisted Segmentation and Three-Dimensional Reconstruction in Morphological Research. Int J Imaging Syst Technol. 2026;36(2):e70313. DOI
  2. Muro S, Ibara T, Nimura A, Akita K. Seg and Ref: A Newly Developed Toolset for Artificial Intelligence-Powered Segmentation and Interactive Refinement for Labor-Saving Three-Dimensional Reconstruction. Microscopy (Oxford). 2025. DOI

BibTeX and examples of published use

SegRef3D is developed by Satoru Muro and distributed under the Apache License 2.0.