Image segmentation using Minimum Spanning Forests
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
disjointset
graph
imagenoise
segmentation Fix bug in GBS Oct 30, 2014
test
utils
web
.bowerrc
.gitignore
LICENSE
Procfile
README.md
bower.json
main.go

README.md

image-segmentation

Try it online

Image segmentation using Minimum Spanning Forests.

Implements:

Also, as a helper for the second segmentation algorithm:

Developed as a project for the course "Graph Theory, Networks and Applications" at Mälardalen University. The course's project report can be found here.

Setup

Prerequisites:

$ go get github.com/miguelfrde/image-segmentation
$ cd $GODIR/src/github.com/miguelfrde/image-segmentation
$ bower install
$ mkdir tmp

The tmp directory needs to be created since result images will be served from it in Heroku.

Run

$ PORT=8080 go run main.go

Go to localhost:8080 and try some images!

Test

$ go test ./...

TODO

  • Implement the parallel version of the PHMSF algorithm
  • Implement more MST or non-graph based segmentation algorithms