[Gate-users] About Output File
Hojjat Mahani
hojjat.mahani at yahoo.com
Thu Jan 30 19:00:20 CET 2014
Hi Smita,
The '.sin' file is simply a set of 2D projection images. It can be analysed by MATLAB, using the following commands:
fid = fopen ('[your output name]', 'r');
projection = fread (fid, 'uint16');
fclose (fid);
projection = reshape (projection, dim1, dim2, dim3); % dim1, dim2 and dim3 are dimensions of the .sin file
Alternatives are completely free tools: ImageJ and Amide. In both tools, once the image is selected, you must select the image type as 16-bit unsigned, little Endian.
Please have a look at the following links which direct you to the ImageJ and Amide web-sites, respectively:
ImageJ: http://rsbweb.nih.gov/ij/
Amide: http://amide.sourceforge.net/index.html
The '.hdr' file is also a header-file which contains GATE interfile-output information. Such a file will help you to identify .sin file specifications such as height, width and number of projection images (dim1, dim2 and dim3, respectively).
Good work,
Hojjat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140130/ef88db68/attachment.html>
More information about the Gate-users
mailing list