export intensity value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

export intensity value

Ye Chen
Hello,

Is there plugin available to export each pixel intensity value of a chosen
ROI  ( a matrix) to a txt file or excel file?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: export intensity value

Wayne Rasband
> 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