|
TPCCLIB
|
Procedures for Analyze images. More...
Go to the source code of this file.
Functions | |
| int | anaExists (const char *filename, char *hdrfile, char *imgfile, char *siffile, ANALYZE_DSR *header, TPCSTATUS *status) |
| int | anaReadHeader (const char *filename, ANALYZE_DSR *dsr, int verbose) |
Procedures for Analyze images.
Definition in file analyzeio.c.
| int anaExists | ( | const char * | filename, |
| char * | hdrfile, | ||
| char * | imgfile, | ||
| char * | siffile, | ||
| ANALYZE_DSR * | header, | ||
| TPCSTATUS * | status ) |
Verify if specified file name is an Analyze 7.5 file.
| filename | File name, either header file, image file, or base name without extensions. |
| hdrfile | If file name refers to an Analyze file, then header file name will be written in this char pointer (space needs to allocated by caller); If header and image are combined, then this will be the name of combined file; enter NULL if not needed. |
| imgfile | If file name refers to an Analyze file, then image file name will be written in this char pointer (space needs to allocated by caller); If header and image are combined, then this will be the name of combined file; enter NULL if not needed. |
| siffile | If file name refers to an Analyze file, and if SIF exists, then SIF file name will be written in this char pointer (space needs to allocated by caller); enter NULL if not needed. |
| header | Pointer to Analyze header, which is filled in this function; enter NULL, if not needed. |
| status | Pointer to status data; enter NULL if not needed. |
Definition at line 16 of file analyzeio.c.
Referenced by imgRead().
| int anaReadHeader | ( | const char * | filename, |
| ANALYZE_DSR * | dsr, | ||
| int | verbose ) |
Read Analyze header contents.
| filename | Name of file to read (including path and extension). |
| dsr | Pointer to previously allocated header structure. |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout |
Definition at line 144 of file analyzeio.c.
Referenced by anaExists().