Page 1 of 1

use "stream" tool to read out raw image file to integer cvs file

Posted: 2015-12-14T18:33:38-07:00
by teachbio
My RAW file is "ARW" from Sony Alpha camera. I would like to read .ARW file, the RGB values of each pixel and output as a CSV file format.

I have tried
stream -map r -storage-type integer _DSC2000.ARW 2000r.dat
The .dat file is binary and could not be read by text processor or Excel.

Does anyone know how to extract the values of each pixel from RAW image data?

Re: use "stream" tool to read out raw image file to integer cvs file

Posted: 2015-12-14T19:56:48-07:00
by fmw42
try outputing as txt: format and then parse the text data as you need it and then reformat to CSV. See http://www.imagemagick.org/Usage/files/#txt