segmentObjectsFromEmbeddings
Segment objects in medical image using Medical Segment Anything Model (MedSAM) image embeddings
Since R2024b
Syntax
Description
Add-On Required: This feature requires the Medical Imaging Toolbox Model for Medical Segment Anything Model add-on.
[
segments objects from an image of size mask,score] = segmentObjectsFromEmbeddings(medsam,embeddings,imageSize,BoundingBox=boxPrompt)imageSize using the Medical
Segment Anything Model (MedSAM) image embeddings embeddings and the
bounding box coordinates boxPrompt as a visual prompt, and returns the
predicted object mask mask and the corresponding prediction score
score.
Note
This functionality also requires Deep Learning Toolbox™ and Computer Vision Toolbox™ along with the Medical Imaging Toolbox™ Model for Medical Segment Anything Model add-on.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2024b

