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

https://github.com/thoth000/shape-aware-refinement

[JSAI2025] Research code for shape-aware refinement in segmentation using PDEs.
https://github.com/thoth000/shape-aware-refinement

anisotropic-diffusion pytorch segmentation

Last synced: 29 days ago
JSON representation

[JSAI2025] Research code for shape-aware refinement in segmentation using PDEs.

Awesome Lists containing this project

README

          

# Shape-Aware Refinement
This research proposes a **PDE-based trainable refinement module** for **tubular-structure segmentation** to enhance shape continuity.
![image](https://github.com/user-attachments/assets/3865efd2-732f-470a-9b96-36f107b2e5c5)

## Paper / Slides
- [Presentation Slides](https://github.com/thoth000/Shape-Aware-Refinement/blob/main/docs/presentation_ja.pdf)
- [JSAI 2025 Abstract (Japanese)](https://github.com/thoth000/Shape-Aware-Refinement/blob/main/docs/jsai_abstract.md)

## Overview
- PDE-based refinement improves mask continuity **while maintaining thin shape**
- Our approach is applied to **various architectures** for tubular-structure segmentation because of **post-process**

## Dataset
- [DRIVE dataset](https://github.com/zhengyuan-liu/Retinal-Vessel-Segmentation/tree/master/DRIVE)

## Environment
- Ubuntu 24.04.2 LTS
- NVIDIA TITAN RTX(Memory: 24GB) * 4

## How to run
1. setup the environment.
```bash
$ pip install -r requirements.txt
```

2. Download DRIVE dataset to `/dataset`.

3. Run `/dataset/data_process.py` to fit dataset for training models.
```bash
$ cd dataset
$ python data_process.py -dp DATASET_PATH -dn DATASET_NAME
```

4. train and test model.
```bash
$ cd pde-shape-refiner
$ main_ddp.sh
```