#include <stdlib.h>#include <string.h>#include <stdio.h>#include <ctype.h>#include "oldroi.h"#include "petc99.h"Functions | |
| void | roiDel (ROI_list *rl, int ind) |
| int | roiRead (const char *fname, ROI_list *rl) |
| int | roiComputeCirc (ROI *roi) |
| int | roiComputeElli (ROI *roi) |
| int | roiFillGaps (int *x, int *y, int nr, int **ffx, int **ffy) |
| int | roiOnOff (ROI *roi, int dimx, int dimy, float zoom, char **m) |
| int | roiSave (const char *fname, ROI_list *rl) |
| int | roiAppend (char *fname, ROI_list *rl, int ind) |
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
If ind=0, all ROIs in list are deleted keeping memory allocated, else only one ROI is deleted (ind=1, first ROI) keeping memory allocated. |
|
||||||||||||||||||||||||
|
Fills the gaps between ROI points; join them with new points. Allocates memory for new point data in fx and fy.
|
|
||||||||||||||||||||||||
|
The matrix is filled with 0's (outside of ROI), 1's (on the ROI border), and 2'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.
|
|
||||||||||||
|
Adds ROI file contents (all ROIs) to specified data structure.
|
|
||||||||||||
|
|
1.4.1