diff --git a/v2/libtpcnifti/analyzeio.c b/v2/libtpcnifti/analyzeio.c index 9b496a559327e8865b719631ee10b0644a692f11..b74009504125603c7969909f066d442229717f53 100644 --- a/v2/libtpcnifti/analyzeio.c +++ b/v2/libtpcnifti/analyzeio.c @@ -9,28 +9,27 @@ /*****************************************************************************/ /** Verify if specified file name is an Analyze 7.5 file. - @sa anaReadHeader, niftiExists + @sa anaReadHeader, niftiExists, micropetExists @return Returns 1 if it is Analyze, 0 if not. */ int anaExists( /** File name, either header file, image file, or base name without extensions. */ const char *filename, - /** If filename refers to an Analyze file, then header filename will be + /** 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. */ + If header and image are combined, then this will be the name of combined file; + enter NULL if not needed. */ char *hdrfile, - /** If filename refers to an Analyze file, then image filename will be + /** 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. */ + If header and image are combined, then this will be the name of combined file; + enter NULL if not needed. */ char *imgfile, - /** If filename refers to an Analyze file, and if SIF exists, then SIF filename + /** 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); - NULL if not needed. */ + enter NULL if not needed. */ char *siffile, - /** Pointer to Analyze header, which is filled in this function; enter NULL, - if not needed. */ + /** Pointer to Analyze header, which is filled in this function; enter NULL, if not needed. */ ANALYZE_DSR *header, /** Pointer to status data; enter NULL if not needed. */ TPCSTATUS *status @@ -135,6 +134,7 @@ int anaExists( /*****************************************************************************/ /** Read Analyze header contents. + @sa anaExists, micropetHeaderRead @return enum tpcerror (TPCERROR_OK when successful). */ int anaReadHeader( diff --git a/v2/libtpcnifti/niftiio.c b/v2/libtpcnifti/niftiio.c index 5a92dec03744864d475111a00f22d911bc777f2f..999c47863ce6206872e5bbf40219ea807f255cbe 100644 --- a/v2/libtpcnifti/niftiio.c +++ b/v2/libtpcnifti/niftiio.c @@ -11,28 +11,27 @@ /** Verify if specified file name is a NIfTI file. @remark Currently only NIfTI-1 is supported. @todo Support for NIfTI-2. - @sa niftiReadHeader, anaExists + @sa niftiReadHeader, anaExists, micropetExists @return Returns 0 if it is not NIfTI, otherwise the version of NIfTI. */ int niftiExists( /** File name, either header file, image file, or base name without extensions. */ const char *filename, - /** If filename refers to a Nifti file, then header filename will be + /** If file name refers to a NIfTI 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. */ + If header and image are combined, then this will be the name of combined file; + enter NULL if not needed. */ char *hdrfile, - /** If filename refers to a Nifti file, then image filename will be + /** If file name refers to a NIfTI 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. */ + If header and image are combined, then this will be the name of combined file; + enter NULL if not needed. */ char *imgfile, - /** If filename refers to a Nifti file, and if SIF exists, then SIF filename + /** If file name refers to a NIfTI file, and if SIF exists, then SIF file name will be written in this char pointer (space needs to allocated by caller); - NULL if not needed. */ + exter NULL if not needed. */ char *siffile, - /** Pointer to Nifti header, which is filled in this function; enter NULL, - if not needed. */ + /** Pointer to NIfTI header, which is filled in this function; enter NULL, if not needed. */ NIFTI_DSR *header, /** Pointer to status data; enter NULL if not needed. */ TPCSTATUS *status @@ -139,7 +138,7 @@ int niftiExists( /** Read Nifti header contents, including 4-byte extender. @remark Currently does not read Nifti-1 header extension. @todo Support for NIfTI-2. - @sa niftiExists, anaReadHeader + @sa niftiExists, anaReadHeader, micropetHeaderRead @return enum tpcerror (TPCERROR_OK when successful). */ int niftiReadHeader(