Login  Register

adding real axes to pixel format, possible addition to ImageJ

Posted by Zummy on Jan 10, 2006; 5:59pm
URL: http://imagej.273.s1.nabble.com/adding-real-axes-to-pixel-format-possible-addition-to-ImageJ-tp3704097.html

ImageJ List:

Okay, I am trying another tack.  How
hard would it be to add to ImageJ an array
on the X axis mapping from pixel X coordinates
to a floating point numbers.  So ImageJ
would report floating point numbers for X instead
of pixel coordinates.  Similarly for the Y
axis.

Seems like adding

float realxcoords[NUMBER_OF_PIXELS_IN_WIDTH];
and
float realycoords[NUMBER_OF_PIXELS_IN_HEIGHT];

would be a fairly simple addition, except
that we need a format to support it.  TIFF?
Or pair the images with another file?

I don't really want to carry around the baggage
of a 3D tool when it isn't warranted.

If this is already in ImageJ, let me know.

If you zoom in you could possibly do
some kind of interpolation of the axes.  You
would have to choose which part of the pixel
really was the location of the floating point number.

If the floating point coordinate file isn't found, then you could
fall back to initializing the arrays to pixel coordinates.

If we were to add such a feature to ImageJ, how would
we get it integrated into the release?

Does this sound like a valuable feature to people?

I am thinking we could add this to the FloatProcessor, if
we added an extra line of pixels on two perpendicular sides of
the image, and added some kind of flag notifying the program
to intepret these lines as real axes.

What do people think?

John