VISTA-3D · CT Segmentation
Run automatic whole-volume CT segmentation with NVIDIA NV-Segment-CT and native MLX.
VISTA3D is the work of Yufan He and co-authors at NVIDIA. The model, its training method and the weights are theirs: see the original repository, NVIDIA-Medtech/NV-Segment-CTMR, and the paper, arXiv:2406.05285. This repository only repackages their released weights (nvidia/NV-Segment-CT) for MLX on Apple Silicon. Please cite their paper and star their repository if VISTA3D is useful to you.
Original repository · Original paper · Original weights · GitHub · Files · Docs · MedMLX paper
| Input | Output |
|---|---|
| 3D CT · NIfTI | Anatomical segmentation |
Apple Silicon · Metal · Python 3.13
Quick start
uv venv --python 3.13
source .venv/bin/activate
uv pip install "mlx-segment-ct>=0.4.0"
Replace the example input paths with your own files.
from mlx_segment_ct import run
result = run(model="mlx-segment-ct", image_path="ct.nii.gz", output_dir="outputs")
print(result["outputs"]["mask"])
Weights download from this repository on first use, at a pinned revision. To fetch them yourself, download that revision and pass the folder as weights_path="models":
uv tool install huggingface-hub
hf download MedMLX/vista3d-ct-mlx --revision e6f45856b4a59212ca10b44a9ade2e2d672f412b --local-dir models
Without prompts the run segments all classes; pass classes="liver, spleen" to select some.
Use & license
For research and education. Not validated for clinical use.
Weights: NVIDIA Open Model License. Notices.
Paper references
Citation
Please cite the original paper:
He, Y. et al. (2025). VISTA3D: a unified segmentation foundation model for 3D medical imaging. CVPR, 20863-20873. https://doi.org/10.1109/CVPR52734.2025.01943
If you use MedMLX, please cite the MedMLX paper:
@article{sandoval2026medmlx,
title = {MedMLX: On-Device Medical Imaging AI for Apple Silicon},
author = {Sandoval, J. and Sandoval, A. and Saleem, A.},
journal = {medRxiv},
year = {2026},
doi = {10.64898/2026.10.28.26366762}
}