Main Content
extractEmbeddings
Extract image embeddings from Medical Segment Anything Model (MedSAM) encoder
Since R2024b
Description
extracts the embeddings of the input medical image embeddings
= extractEmbeddings(medsam
,I
)I
from the encoder
of a Medical Segment Anything Model (MedSAM), medsam
, by running a
forward pass on the image encoder.
Note
This functionality requires Deep Learning Toolbox™, Computer Vision Toolbox™, and the Medical Imaging Toolbox™ Model for Medical Segment Anything Model. You can install the Medical Imaging Toolbox Model for Medical Segment Anything Model from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2024b