bingogome / samm

A 3D Slicer integration to Meta's SAM.
https://arxiv.org/abs/2304.05622
MIT License
241 stars 34 forks source link

When I segment a 3D Volume, how could I mask different frames of image in one initialization #48

Closed WHU-YH-jx closed 1 year ago

WHU-YH-jx commented 1 year ago

Now I segment one frame of the 3D image, I must re-initialization then put prompt points in next frame. Is it possible to mask all frames of the 3D image in one initialization.

bingogome commented 1 year ago

The initialization should be a one-time thing. Once initialized, all embeddings throughout the volume are cached. The new changes https://github.com/bingogome/samm/commit/5b63c7dfa120c39066215fb766f8b246be3e2414 made some improvements over system glitches and should be easier to use.