Python Version = 3.6.6
On SCC:
module load python3
pip3 install --user PyMaxFlow
note: Must use ssh -X for GUI!!
- python-tk
- PIL
- numpy
- pickle
- scipy
- maxflow
- matplotlib
- skimage
python3 image_gui.py
- Click on foreground
- Click-and-drag to annotate foreground of image
- Click on background
- Click-and-drag to annotate background of image
- Click "Finish Labelling"
- Close pop-up
python3 max-flow.py
python3 otsu_thresholding.py