A simple but useful(hopefully) package that implemented the image map in HTML.

How to use ROI selecting tool

  1. Select an image image
  2. Click on the image to add vertices of ROIs image
  3. If you want to create a new ROI, click on "New Polygon" image
  4. When you are done, press "Export" image
  5. It will pop up a dialog image

The format of the data is:
List<List>, each sub-list describes a polygon. To adjacent numbers represent a position.
x1,y1,x2,y2,x3,y3,...,//Polygon 1
x1,y1,x2,y2,x3,y3,...,//Polygon 2
x1,y1,x2,y2,x3,y3,...,//Polygon 3