Segmentation via Graph Cuts at the Patch Level
GraPL is implemented inside the GraPL module directory. Our evaluation pipeline is also implemented in this under evaluate.py.
- Start by installing the necessary dependencies using the provided conda environment file
env.yml. - Unzip
datasets/BSDS500.zip. This file contains all of the necessary test images and their ground truths. - Use the included notebooks to segment images. You can use
GraPL_testbench.ipynbto test the GraPL codebase one segmentation at a time and get a sense of typical segmentation performance. Alternatively, our major experiments can be reproduced using the variousexperiment_*.ipynbnotebooks. BSDS500 is included in this codebase for easy reproducibility.