Drop a NIfTI or DICOM scan anywhere, or choose an example.
Drop a NIfTI or DICOM scan anywhere, or choose an example.
Interactive 3D segmentation of MRI and CT scans in the browser using
MedSAM2 (sam2.1_hiera_t512, Ma et al. 2025), fine-tuned from
Meta's Segment Anything Model 2.1. Click positive/negative points or drag a bounding box on
any axial, coronal or sagittal slice in Prompt view to preview the 2D mask,
then click Propagate in 3D to track the structure bidirectionally through
the volume using SAM 2's memory encoder and memory attention.
Accepted objects are saved on the original NIfTI voxel grid and affine alongside a volumetric TSV table (voxel count, volume in mm³ and mL, centroid and bounding box). Switch to 3-Plane or 3D to inspect in NiiVue, or click Edit on the segmentation output to refine masks by hand with the shared mask editor.
All four ONNX models (image encoder, mask decoder, memory encoder and memory attention)
match PyTorch SAM2VideoPredictor slice-by-slice on 3D MRI validation data and
run locally in your browser on WebGPU or WebAssembly.
Images are processed locally in this browser and are never uploaded. The MedSAM2 model files are downloaded from Hugging Face and cached by the browser.