Login  Register

How to assign a double (or other variable) to an image

Posted by DwightBart on Jan 29, 2008; 9:50pm
URL: http://imagej.273.s1.nabble.com/How-to-assign-a-double-or-other-variable-to-an-image-tp3697381.html

I would like to assign one or more values to an image. How do I do that?

I'm writing a PlugIn to perform noise analysis on infrared images.  At
some point, the algorithm asks the User to input a "signal transfer
function" (SiTF) that maps image units to degrees-Centigrade.

 

After running my analysis, I'd like to be able to assign the SiTF value
to the image.  Why?  So that if I run the analysis again (on, say, a
different ROI) I don't have to type the darned number in again.  I can
just read it off the image.

 

Visual Basic used to have "tags" for any object; they were strings that
could be used for anything.  I'm wondering if there is something similar
associated with an Image within ImageJ that I can use to store my SiTF
value.

 

Any ideas?

 

Dwight Bartholomew