Login  Register

Re: export intensity value

Posted by Wayne Rasband on Nov 12, 2005; 4:58pm
URL: http://imagej.273.s1.nabble.com/export-intensity-value-tp3704494p3704495.html

> Is there plugin available to export each pixel intensity
> value ROI  ( a matrix) to a txt file or excel file?
I plugin is not needed. Use Image>Duplicate to create an image  
containing just the contents of the selection, then export to a tab-
delimited, excel-compatible text file using File>Save As>Text ImageJ.  
These steps can be automated using the following macro:

   setBatchMode(true);
   run("Duplicate...", "title="+getTitle+"-copy");
   saveAs("Text Image");
   close();

-wayne