I would like to report an issue when using Inverted Y coordinates and calling.
For some reasons the Y values are changed even if the image as no scale.
The walkaround is to call
run("Set Measurements...", "area mean standard modal min centroid center perimeter bounding fit shape feret's integrated median skewness kurtosis area_fraction stack display redirect=None decimal=9");
to obtain non inverted Y coordinates
and Finally Invert the coordinates