GeoJSON can be used to establish interoperability between different tools that need to exchange spatial image annotations. GeoJSON basically specifies vectorial geometries, that need to be rasterized in order to be useful for the tools in GIA.
Rasterization should be feasible using the skimage.draw module, (e.g., skimage.draw.polygon).
Example GeoJSON file: https://gist.github.com/wavded/1200773?short_path=99c1af9
xref FAIR-imaging/galaxy-image-community#47
GeoJSON can be used to establish interoperability between different tools that need to exchange spatial image annotations. GeoJSON basically specifies vectorial geometries, that need to be rasterized in order to be useful for the tools in GIA.
Rasterization should be feasible using the
skimage.drawmodule, (e.g.,skimage.draw.polygon).Example GeoJSON file: https://gist.github.com/wavded/1200773?short_path=99c1af9
xref FAIR-imaging/galaxy-image-community#47