Re: Antwort: Augmenting an ImagePlus with Additional Information
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
URL: http://imagej.273.s1.nabble.com/Augmenting-an-ImagePlus-with-Additional-Information-tp3689248p3689251.html
On Feb 22, 2010, at 1:56 PM, Michael Ellis wrote:
> Joachim, hi
>
> On 22 Feb 2010, at 18:43, Joachim Wesner wrote:
>
>> Hi,
>>
>> I have/had the same problem to read some proprietary Tiff files with
>> extra
>> tags whose info should be available later in ImageJ.
>>
>> You can use ImagePlus´ getProperty/setProperty to do this, but I am
>> not
>> sure if these properties will survive duplication
>
> I just stumbled upon the getProperty/setProperty and wrote a plugin to
> test this. I can verify that any properties you do NOT survive image
> duplication. Shame that image duplication does not clone the
> properties, perhaps there is some good reason for this though?
The "Info" image property (a String) does survive image duplication. It is also preserved when the image is saved in TIFF format.
-wayne
> (actually I fear they will not), it was not yet important for me! (I
>> also
>> wrote a macro helper function to read these properties)
>
>>
>> Cheers.
>>
>> Mit freundlichen Grüßen / Best regards
>>
>> Joachim Wesner
>> www.leica-microsystems.com
>
> Best regards -- Michael Ellis