MedicineToken / Medical-SAM2

Medical SAM 2: Segment Medical Images As Video Via Segment Anything Model 2
Apache License 2.0
479 stars 58 forks source link

3D medical image processing #57

Closed Vanityplunde closed 1 month ago

Vanityplunde commented 1 month ago

hello! Is the model only able to process ".jpg", ".jpeg", ".JPG", and ".JPEG" formats? Can segmentation be performed directly on .nii files? Does 3D segmentation refer to a time series of 2D slices?

jiayuanz3 commented 1 month ago

yes, it currently cannot be performed directly on .nii files, as it follows the structures in SAM2 (they process video as a sequences of images first). yes, processing 3D medical images involves treating them as sequences of 2D slices.