{"id":22068146,"url":"https://github.com/XueyuLiu/GBMSeg","last_synced_at":"2025-07-24T05:32:05.792Z","repository":{"id":250135513,"uuid":"733512761","full_name":"XueyuLiu/GBMSeg","owner":"XueyuLiu","description":"The official implementation of the paper 'Feature-prompting GBMSeg: One Shot Reference Guided Training-Free Feature Matching for Glomerular Basement Membrane Segmentation and Quantification.'","archived":false,"fork":false,"pushed_at":"2024-07-04T02:46:49.000Z","size":34943,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-25T11:52:47.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XueyuLiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-19T13:51:07.000Z","updated_at":"2024-07-25T11:52:57.751Z","dependencies_parsed_at":"2024-07-25T12:10:55.910Z","dependency_job_id":null,"html_url":"https://github.com/XueyuLiu/GBMSeg","commit_stats":null,"previous_names":["xueyuliu/gbmseg"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XueyuLiu%2FGBMSeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XueyuLiu%2FGBMSeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XueyuLiu%2FGBMSeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XueyuLiu%2FGBMSeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XueyuLiu","download_url":"https://codeload.github.com/XueyuLiu/GBMSeg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227421266,"owners_count":17775005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T20:03:47.559Z","updated_at":"2025-07-24T05:32:05.760Z","avatar_url":"https://github.com/XueyuLiu.png","language":"Jupyter Notebook","funding_links":[],"categories":["Paper List"],"sub_categories":["Follow-up Papers"],"readme":"# Feature-prompting GBMSeg: One-Shot Reference Guided Training-Free Prompt Engineering for Glomerular Basement Membrane Segmentation\n\u003cbr\u003e**[Xueyu Liu](https://scholar.google.com.hk/citations?user=jeatLqIAAAAJ\u0026hl=zh-CN), Guangze Shi, Rui Wang, Yexin Lai, Jianan Zhang, Lele Sun, Quan Yang, Yongfei Wu*, Weixia Han, Ming Li, and Wen Zheng**\u003cbr\u003e\n\u003csup\u003e1\u003c/sup\u003e[Taiyuan University of Technology](https://www.tyut.edu.cn/), \u0026nbsp;\n\u003csup\u003e2\u003c/sup\u003e[The Second Affiliated Hospital of Shanxi Medical University](https://www.sydey.com/)，\u0026nbsp;\n\u003csup\u003e3\u003c/sup\u003e[Shanxi Provincial People's Hospital](https://www.sxsrmyy.com/)\n\n\n### 🚀🚀This work has been accepted by MICCAI2024!🚀🚀\n\n\nWe 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. \n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"800\" alt=\"ablation\" src=\"img/ablation.png\"\u003e\n\u003c/p\u003e\n\n## Usage \n### Setup \n\n- Cuda 12.0\n- Python 3.9.18\n- PyTorch 2.0.0\n\n\n### Datasets\n    ../                          # parent directory\n    ├── ./data                   # data path\n    │   ├── reference_images      # the one-shot reference image\n    │   ├── reference_masks       # the one-shot reference mask\n    │   ├── target_images        # testing images\n\n### Usage\n```\npython main.py\n```\n\n\n##  Citation\n\n\nIf you find this project useful in your research, please consider citing:\n\n\n```BibTeX\n@InProceedings{Liu_Featureprompting_MICCAI2024,\n        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},\n        title = { { Feature-prompting GBMSeg: One-Shot Reference Guided Training-Free Prompt Engineering for Glomerular Basement Membrane Segmentation } },\n        booktitle = {proceedings of Medical Image Computing and Computer Assisted Intervention -- MICCAI 2024},\n        year = {2024},\n        publisher = {Springer Nature Switzerland},\n        volume = {LNCS 15009},\n        month = {October},\n        page = {276 -- 285}\n}\n```\n\n\n## Acknowledgement\nThanks [DINOv2](https://github.com/facebookresearch/dinov2), [SAM](https://github.com/facebookresearch/segment-anything). for serving as building blocks of GBMSeg.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXueyuLiu%2FGBMSeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXueyuLiu%2FGBMSeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXueyuLiu%2FGBMSeg/lists"}