Customizing Segmentation Foundation Model via Prompt Learning for Instance Segmentation