How to change the pixel position into the real position in the picture?

I konw how to set the real scale, but I don’t know how to set the real position corresponding to the pixel position. Thank you.
image

Hi @Naylor,
Probably you want to use either toScaled or toUnscaled, see
https://imagej.nih.gov/ij/developer/macro/functions.html#toScaled and beyond.