TPCCLIB
|
#include <libtpcroi.h>
Data Fields | |
char | imgfile [FILENAME_MAX] |
float | zoom |
float | recon_zoom |
int | matnum |
int | type |
int | status |
int | pos_x |
int | pos_y |
int | w |
int | h |
int | t |
int | roi |
char | roiname [256] |
int * | x |
int * | y |
int | point_nr |
void * | userdata |
ROI data structure
Definition at line 43 of file libtpcroi.h.
int ROI::h |
ROI height for other than trace ROIs.
Definition at line 63 of file libtpcroi.h.
Referenced by roi_append(), roi_compute_ellipse(), roi_compute_rect(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiComputeElli(), roiComputeRect(), roiRead(), and roiSave().
char ROI::imgfile[FILENAME_MAX] |
Image file for which the ROIs have been defined
Definition at line 45 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
int ROI::matnum |
Matrix number (plane and frame) where ROI was defined
Definition at line 51 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
int ROI::point_nr |
ROI line definition for trace ROIs; used only if type is ROI_TRACE, otherwise x and y should be NULL.
Definition at line 78 of file libtpcroi.h.
Referenced by roi_append(), roi_compute_circle(), roi_compute_ellipse(), roi_compute_rect(), roi_empty(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiComputeCirc(), roiComputeElli(), roiComputeRect(), roiDel(), roiOnOff(), roiRead(), and roiSave().
int ROI::pos_x |
ROI initial point x, relative to top left corner of the image.
Definition at line 57 of file libtpcroi.h.
Referenced by roi_append(), roi_compute_circle(), roi_compute_ellipse(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiOnOff(), roiRead(), and roiSave().
int ROI::pos_y |
ROI initial point y, relative to top left corner of the image
Definition at line 59 of file libtpcroi.h.
Referenced by roi_append(), roi_compute_circle(), roi_compute_ellipse(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiOnOff(), roiRead(), and roiSave().
float ROI::recon_zoom |
Image reconstruction zoom; truly a float.
Definition at line 49 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
int ROI::roi |
Number of ROI
Definition at line 67 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
char ROI::roiname[256] |
ROI name as specified when drawing
Definition at line 69 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
int ROI::status |
ROI status
Definition at line 55 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
int ROI::t |
t is unused.
Definition at line 65 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
int ROI::type |
Type of ROI (ROI_RECTANGULAR, ROI_CIRCULAR,...)
Definition at line 53 of file libtpcroi.h.
Referenced by roi_append(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().
void* ROI::userdata |
User data. Used only by client programs
Definition at line 80 of file libtpcroi.h.
Referenced by roi_read(), and roiRead().
int ROI::w |
ROI width for other than trace ROIs.
Definition at line 61 of file libtpcroi.h.
Referenced by roi_append(), roi_compute_circle(), roi_compute_ellipse(), roi_compute_rect(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiComputeCirc(), roiComputeElli(), roiComputeRect(), roiRead(), and roiSave().
int* ROI::x |
ROI line definition for trace ROIs; used only if type is ROI_TRACE, otherwise x and y should be NULL.
Definition at line 72 of file libtpcroi.h.
Referenced by roi_append(), roi_compute_circle(), roi_compute_ellipse(), roi_compute_rect(), roi_delete(), roi_delete_n(), roi_empty(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiComputeCirc(), roiComputeElli(), roiComputeRect(), roiDel(), roiOnOff(), roiRead(), and roiSave().
int* ROI::y |
ROI line definition for trace ROIs; used only if type is ROI_TRACE, otherwise x and y should be NULL.
Definition at line 75 of file libtpcroi.h.
Referenced by roi_append(), roi_compute_circle(), roi_compute_ellipse(), roi_compute_rect(), roi_delete(), roi_delete_n(), roi_empty(), roi_onoff(), roi_print(), roi_read(), roiAppend(), roiComputeCirc(), roiComputeElli(), roiComputeRect(), roiDel(), roiOnOff(), roiRead(), and roiSave().
float ROI::zoom |
Zoom of the image when ROI was drawn; actually integer, although stored as float.
Definition at line 47 of file libtpcroi.h.
Referenced by roi_append(), roi_print(), roi_read(), roiAppend(), roiRead(), and roiSave().