Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.49 KB

README.md

File metadata and controls

56 lines (34 loc) · 1.49 KB

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