[annotator-dev] RFC: new ideas for specifying image regions

Robert Casties casties at mpiwg-berlin.mpg.de
Wed Feb 5 13:29:23 UTC 2014


I am starting to work again on our image annotation tool for our image
server digilib. I want to implement polygon-shaped image regions too and
I have been rethinking the JSON-format for specifying image regions.

After looking at GeoJSON (http://geojson.org/geojson-spec.html) I have
reworked our annotation format slightly:

<https://it-dev.mpiwg-berlin.mpg.de/tracs/Annotations/wiki/json-annotation-format>

To be close to GeoJSON the "type" of the shape is now in the "geometry"
object.

Also from GeoJSON I took the idea to specify the shapes only by points
and not lengths. So the Rectangle is specified by two corner points
instead of one point, height and width. This also makes coordinate
transformations easier.

GeoJSON does not have a Rectangle type, only Polygon (which makes sense
when working with different coordinate systems). Should we also rather
specify the rectangles as polygons?

I also thought about renaming the member for the image region in the
annotation from "shapes" to "regions" which would make it easier to deal
with the older format. Or should I stick with "shapes", what do you think?

Thanks
	Robert



More information about the annotator-dev mailing list