Applying Global Scale Factor?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Applying Global Scale Factor?

John Livesey
I'm modifying (with my very rudimentary java skills) a plugin to report the
x,y coordinates of points on which one clicks... (the rest of the plugin
handles numbering and marking points and was kindly provided to me by a
generous imageJ user in Spain [thank you!]).  I've figured out how to report
the location of a click in pixels, but since the image has been scaled
(Analyze > Set Scale - global), I'd also like to report the scaled values.
However, I've not located the function / variable into which the global
scale factor is stored by the Set Scale dialog... Can someone let me know
what this variable is and briefly how to apply it? [or point me to the
appropriate documentation of this variable, which I'm sure is there, but I
cannot seem to find].

Thanks,
John
- - - - -
John Livesey, Ph.D. / Associate Professor of Pharmacology
T.J. Long School of Pharmacy & Health Sciences at University of the Pacific
3601 Pacific Avenue, Stockton, CA 95211 U.S.A.
[hidden email] / 209-946-2485