WriteAnalyzeImgAppend_1_0_2.m File Reference

Go to the source code of this file.

Functions


Function Documentation

(   img,
  hdr 
)


[result]=WriteAnalyzeImgAppend_1_0_2(img,hdr)

Writes image data to end of file. Note that if file exists
there is no way to find out if totally new file is to be created.

parameters:
name name of image file, will be created if not exist otherwise
data is appended to end of file
img image data (pix_val)
hdr image header from which following fields are read:
hdr.pre precision, in {8,16,32,64} bits
hdr.lim 2x1 array having min and max of image data without scale
factor

returns
0 in case of success, 1 in case of error

version 1.0.1,2005-10-19,Harri Merisaari, for standard use
version 1.0.2,17-04-2006,Harri Merisaari, re-use of WriteAnalyzeImg.m
source, fixed 'a' with 'w' and fseek

Copyright (c) 2005,2006 by Turku PET Centre


Parameters:
img 
hdr 
Returns:
result


Generated on Wed Sep 19 07:54:12 2007 for Turku PET Centre Matlab functions by  doxygen 1.5.2