imagej/imagej-ops — pull request #81 by DanielSeebacher (2014-11-14 14:35:30+00:00)
Title: Polygon ops

The default java.awt.polygon only stores points in an int array, but it is possible to get coordinates which are denoted with double values. Therefore I created a simple polygon class. Currently it only consists of a list to store RealPoints but it can be extended later.

I added the Moore Contours algorithm which can extract polygons from BitType images. I also included a BoundingBox as well as a ConvexHull Op.

Additionaly I created a JUnit Test for each Op.