Login  Register

Antwort: Augmenting an ImagePlus with Additional Information

Posted by Joachim Wesner on Feb 22, 2010; 6:43pm
URL: http://imagej.273.s1.nabble.com/Augmenting-an-ImagePlus-with-Additional-Information-tp3689248p3689249.html

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
(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



                                                                           
             Michael Ellis                                                
             <michael.ellis@DI                                            
             GITALSCIENTIFIC.C                                          An
             O.UK>                      [hidden email]                
             Gesendet von:                                           Kopie
             ImageJ Interest                                              
             Group                                                   Thema
             <[hidden email].          Augmenting an ImagePlus with      
             GOV>                       Additional Information            
                                                                           
                                                                           
             22.02.2010 18:21                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
              ImageJ Interest                                              
                   Group                                                  
             <[hidden email].                                            
                   GOV>                                                    
                                                                           
                                                                           




Augmenting an ImagePlus with Additional Information

I am writing an ImageJ plugin to read our proprietary file format. Our
files are karyotyping files that contain zipped up TIFF files, polygon
data describing the chromosome boundaries and various other metrics.

So far I can load the image files and I'm adding the list of polygon
boundaries as PolygonRoi's to the ROIManager. However, if I use our
plugin to load a s second karyotype file, then I have either to append
to, or replace the contents of the ROIManager. I'd prefer to associate
the list of PolygonRoi's with the image.

So how best to do this?

Subclassing the ImagePlus might work, but I'm not a fan of type
casting; I suspect that it would have gotchas like having ImageJ's
"Duplicate" command lose the additional information.

Is there any other robust means of augmenting an image with additional
information?

Michael Ellis
Managing Director
Digital Scientific UK Ltd.
http://www.digitalscientific.co.uk
[hidden email]
tel: +44(0)1223 329993
fax: +44(0)1223 370040

Sheraton House
Castle Park
Cambridge
CB3 0AX


The contents of this e-mail may be privileged and are confidential.
It may not be disclosed to or used by anyone other than the
addressee(s), nor copied in any way.  If received in error, please
advise the sender and delete it from your system.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________