Connected Components Labeling for PyTorch

October 12, 2020 ยท View on GitHub

References


Follwing Block-based Union Find Algorithm from YACCLAB.

  • Running on GPU.
  • PyTorch Interface
  • Fix some bit alignment problem
  • little refactoring

Example

Tested on scikit-image example ,follows example.ipynb

img.png

Install

> python3 setup.py install

> python3 setup.py test