saalfeldlab / paintera

GNU General Public License v2.0
100 stars 17 forks source link

Specify unit of the resolution attribute #362

Open igorpisarev opened 4 years ago

igorpisarev commented 4 years ago

Currently it's not clear if the resolution should be defined in um (microns) or nm. It would be helpful to mention it in the readme and perhaps in the UI as well.

We could also support a more flexible format such as VoxelDimensions from bigdataviewer which contains the unit. I'm using it in n5-viewer too: https://github.com/saalfeldlab/n5-viewer/blob/master/src/main/java/org/janelia/saalfeldlab/n5/bdv/N5ExportMetadataReader.java#L94