Login  Register

save image as CSV?

Posted by Stanislav Vitha on Nov 16, 2007; 4:51pm
URL: http://imagej.273.s1.nabble.com/save-image-as-CSV-tp3697977.html

Hi,
is there a way to save the image as comma separated value (ideally with
the option of including/not including a header in the first line)?  
The images are grayscale, 8, 16 or 32 bit.
Something like this:  The coordinates (X,Y) and pixel values (Ch1) should
be in the calibrated units.

X,Y,Ch1
0.000,0.000,125000.000
1.000,0.000,130000.000
2.000,0.000,140000.000
3.000,0.000,125000.000
4.000,0.000,135000.000
5.000,0.000,130000.000
6.000,0.000,120000.000
7.000,0.000,140000.000
8.000,0.000,140000.000
9.000,0.000,140000.000
...
...
152.000,377.000,95000.000

Thanks!

Stan Vitha


Dr. Stanislav Vitha      [hidden email]
Microscopy and Imaging Center
Texas A&M University
BSBW 119
College Station, TX 77843-2257