#include "roi_Imadeus_IO.h"Functions | |
| int | strip_int (char *str, char **end, int *nr_digits) |
| int | getparam_roi (char *line, int *ROI_No) |
| int | getparam_int (char *line, char *idstring, int *value) |
| int | getparam_str (char *line, char *idstring, char *str) |
| int | getparam_combination (char *line, char **comb) |
| void | str_tok (char *str, char *delim, char **token, char **remainder) |
| int | getparam_region (char *line, ROI_list *rl, char *roiname, int roiNo) |
| int | str_rep (char *str, char c1, char c2) |
| void | str_remove_trailing_zeros (char *str) |
| void | getparam2_float (char *line, char *idstring, float *value) |
| int | roi_read_Imadeus (const char *fname, ROI_list *rl, roi_Imadeus_data *rId) |
| void | roi_Imadeus_set_default (roi_Imadeus_data *rId) |
| int | roi_write_Imadeus (const char *fname, ROI_list *rl, roi_Imadeus_data *rId) |
|
||||||||||||||||
|
Gets value of parameter field that has float separated by ','
|
|
||||||||||||
|
Gets value of roi combination tag in one plane and writes data into string
|
|
||||||||||||||||
|
Gets value of parameter field and sets into integer variable
|
|
||||||||||||||||||||
|
Gets value of roi region tag in one plane and writes data into end of ROI plane list in last RoiList
|
|
||||||||||||
|
Get roi start tag. Adds new number into array, or creates new variable if it doesn't exist
|
|
||||||||||||||||
|
Gets value of parameter field for string parameters and sets its value in to char array
|
|
|
Sets default values into structure.
|
|
||||||||||||||||
|
Reads ROI of Imadeus 1.15 format into struct
|
|
||||||||||||||||
|
Writes ROI of Imadeus 1.15 format from struct. File is overwritten.
|
|
|
Shortens string that represents number to last nonzero number, but saves zero next to delimeter ','.
|
|
||||||||||||||||
|
Replaces 1st found character with another
|
|
||||||||||||||||||||
|
Returns pointer to token. This is used instead of strtok. Size of token string is not checked, so ensure that token parameter has array long enough.
|
|
||||||||||||||||
|
Strips integer number from string. Maximum 256 digits in number.
|
1.4.1