image-segmentation

command module
v0.0.0-...-ccf6f70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2014 License: MIT Imports: 15 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
* * Package disjointset implements a DisjointSet (Union-Find) datastructure * and an alternative linked list based version.
* * Package disjointset implements a DisjointSet (Union-Find) datastructure * and an alternative linked list based version.
* * Package graph implements a Graph that can be either a King's graph * or a Grid graph.
* * Package graph implements a Graph that can be either a King's graph * or a Grid graph.
* * This is probably the most important package in the repository.
* * This is probably the most important package in the repository.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL