#include "roi_Imadeus_IO.h"Go to the source code of this file.
Defines | |
| #define | ROI_RECTANGULAR 0 |
| #define | ROI_CIRCULAR 1 |
| #define | ROI_ELLIPSE 2 |
| #define | ROI_TRACE 3 |
Typedefs | |
| typedef _RoiList | RoiList |
Functions | |
| const char * | libpet_roi_version (void) |
| void | roi_init (ROI_list *rl) |
| void | roi_empty (ROI_list *rl) |
| void | roi_delete (ROI_list *rl, ROI *roi) |
| void | roi_delete_n (ROI_list *rl, int index) |
| int | roi_read (const char *fname, ROI_list *rl) |
| int | roi_save (const char *fname, ROI_list *rl) |
| int | roi_append (FILE *fp, ROI *roi) |
| int | roi_append_n (FILE *fp, ROI_list *rl, int ind) |
| int | roi_onoff (ROI *roi, int dimx, int dimy, float zoom, char **m) |
| int | roi_compute_rect (ROI *roi) |
| int | roi_compute_circle (ROI *roi) |
| int | roi_compute_ellipse (ROI *roi) |
| void | roi_print (ROI *roi) |
| int | jsqrt (int n) |
Variables | |
| char | roierrmsg [128] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A linked list for ROIs |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Deletes ROI from roilist |
|
||||||||||||
|
Deletes the index:th ROI |
|
|
Allocated memory is freed, all data is cleared. |
|
|
Before any use, this should be called, but not later. |
|
||||||||||||||||||||||||
|
The matrix is filled with 0's (outside of ROI) and 1's (inside the ROI border). If ROI extends outside image borders, those points are ignored. Matrix coordinates are up-to-bottom and left-to-right.
|
|
|
Prints the contents of (individual) roi data structure. |
|
||||||||||||
|
Adds ROI file contents (all ROIs) to specified data structure.
|
|
||||||||||||
|
|
|
|
The ROI library error message |
1.4.1