SSBD team attended the RIKEN Hackathon FY2019 and developed a software tool in Python that allows the ROI contours of a TIFF image to be saved into BDML/BD5 format using Galaxy workflow. The tool can be used separately from Galaxy.
https://github.com/openssbd/python-bdml
* BDML/BD5 is an open format based on XML and HDF5 for representing quantitative biological data with spatiotemporal dynamical information. ref: Kyoda K, et al. (2015) Bioinformatics, 31(7): 1044-52. https://doi.org/10.1093/bioinformatics/btu767