An open API service indexing awesome lists of open source software.

https://github.com/XueyuLiu/GBMSeg

The official implementation of the paper 'Feature-prompting GBMSeg: One Shot Reference Guided Training-Free Feature Matching for Glomerular Basement Membrane Segmentation and Quantification.'
https://github.com/XueyuLiu/GBMSeg

Last synced: 4 months ago
JSON representation

The official implementation of the paper 'Feature-prompting GBMSeg: One Shot Reference Guided Training-Free Feature Matching for Glomerular Basement Membrane Segmentation and Quantification.'

Awesome Lists containing this project

README

          

# Feature-prompting GBMSeg: One-Shot Reference Guided Training-Free Prompt Engineering for Glomerular Basement Membrane Segmentation

**[Xueyu Liu](https://scholar.google.com.hk/citations?user=jeatLqIAAAAJ&hl=zh-CN), Guangze Shi, Rui Wang, Yexin Lai, Jianan Zhang, Lele Sun, Quan Yang, Yongfei Wu*, Weixia Han, Ming Li, and Wen Zheng**

1[Taiyuan University of Technology](https://www.tyut.edu.cn/),  
2[The Second Affiliated Hospital of Shanxi Medical University](https://www.sydey.com/), 
3[Shanxi Provincial People's Hospital](https://www.sxsrmyy.com/)

### 🚀🚀This work has been accepted by MICCAI2024!🚀🚀

We present GBMSeg, a training-free framework that automates the segmentation and measurement of the glomerular basement membrane (GBM) in TEM using only one-shot reference images. GBMSeg leverages the robust feature matching capabilities of pretrained foundation models (PFMs) to generate initial prompts, designs novel prompting engineering for optimized prompting methods, and utilizes a class-agnostic segmentation model to obtain the final segmentation result.


ablation

## Usage
### Setup

- Cuda 12.0
- Python 3.9.18
- PyTorch 2.0.0

### Datasets
../ # parent directory
├── ./data # data path
│ ├── reference_images # the one-shot reference image
│ ├── reference_masks # the one-shot reference mask
│ ├── target_images # testing images

### Usage
```
python main.py
```

## Citation

If you find this project useful in your research, please consider citing:

```BibTeX
@InProceedings{Liu_Featureprompting_MICCAI2024,
        author = { Liu, Xueyu and Shi, Guangze and Wang, Rui and Lai, Yexin and Zhang, Jianan and Sun, Lele and Yang, Quan and Wu, Yongfei and Li, Ming and Han, Weixia and Zheng, Wen},
        title = { { Feature-prompting GBMSeg: One-Shot Reference Guided Training-Free Prompt Engineering for Glomerular Basement Membrane Segmentation } },
        booktitle = {proceedings of Medical Image Computing and Computer Assisted Intervention -- MICCAI 2024},
        year = {2024},
publisher = {Springer Nature Switzerland},
        volume = {LNCS 15009},
        month = {October},
       page = {276 -- 285}
}
```

## Acknowledgement
Thanks [DINOv2](https://github.com/facebookresearch/dinov2), [SAM](https://github.com/facebookresearch/segment-anything). for serving as building blocks of GBMSeg.