I’ve been trying importing some annotations from different format (Aperio xml, Hamamatsu ndpa, csv, etc…) to QuPath in order to visualize and/or continue previous work from my lab.
My question is about the Hamamatsu ndpa format. Eventually, the ndpa file is a xml-based format which is possible to import into QuPath using a script similar to that proposed to import Aperio files (
Labelled annotation import). However, the point positions are related to the image metadata, in particular to the “X (and Y) offset from slide centre” property. Using python (and Openslide) I’ve been able to check this information and import successfully the annotations. Now, I would like to avoid using python everytime (and for each file). Therefore, I need to access to this particular information or, even, the image metadata but, so far I only get the server metadata as is exposed in Metadata batch export . Is there any way to obtain this information via groovy script?