I've been looking at ij.measure.Calibration
http://rsb.info.nih.gov/ij/developer/api/ij/measure/Calibration.htmlfor possible use. I would like to specify different units for x and y
axes. Thus my x and y axes may not be the same units.
Does anyone else have a requirement like this? I don't have
a present requirement, but it's certainly possible that I will have
a future requirement. I might provide a 3-dimensional flattened
lookup method for the calibration of Y, returning a integer (which I will treat
as a double). Thus Y will appear as a 3 digits, but only 192 of those
numbers will be covered 1-8 x 1-6 x 1-4 so 111, 112, 113, 114
121, 122, 123, 124, 131, 132 ... 851, 852, 853, 854.
Also, I see xOrigin and yOrigin which look promising,
however, I believe the documentation is wrong when it says
that ImageJ doesn't use them. I believe it uses them when
displaying the x and y coordinates. I might subclass Calibration
to provide a slightly different computation for getX() and getY().
My xOrigin and yOrigin aren't in pixel coordinates.
Also, it would be nice to make Calibration easier to subclass.
copy()ing a subclass isn't exactly easy. I hope I did it right.
Maybe if supercopy() method was provided to copy the attributes.
All I want to do is change a couple of methods.
Well, my file format reader is getting into shape. Thanks for
providing ImageJ!
Thanks,
John