This repository contains implementation of the paper: Efficient Graph based image segmentation
- Building the grid graph
- implementation of union find datastructure with the custom loss function
- Using the above two to segment the image
- Implementation of K-d tree as explained in K-d tree
- Buidling the nearest neighbor graph
- Using Union find on nearest neighbor graph to perform image segmentation