#include <stdio.h>#include <string.h>#include <math.h>#include <stdlib.h>#include <time.h>#include <unistd.h>#include "include/swap.h"#include "include/analyze.h"Functions | |
| int | anaExists (char *dbname) |
| int | anaReadHeader (char *filename, ANALYZE_DSR *h) |
| int | anaWriteHeader (char *filename, ANALYZE_DSR *h) |
| int | anaPrintHeader (ANALYZE_DSR *h, FILE *fp) |
| int | anaReadImagedata (FILE *fp, ANALYZE_DSR *h, int frame, float *data) |
| int | anaFlipping () |
|
|
Check if Analyze files exist. Returns 0, if they do not, 1 if .img and .hdr do exist, and 2, if also .sif exists. |
|
|
Check whether Analyze image is flipped in z-direction when it is read from/written to file (x,y-flipping is done always) |
|
||||||||||||
|
Print the contents of Analyze header to specified file pointer.
|
|
||||||||||||
|
Read analyze header contents. Returns 0, if ok.
|
|
||||||||||||||||||||
|
Read Analyze 7.5 image data, convert byte order if necessary, and scale values to floats. Reads only one frame at a time!
|
|
||||||||||||
|
Write analyze header contents. header field 'little' is used to determine the required byte order. Returns 0, if ok.
|
1.4.1