TPCCLIB
Loading...
Searching...
No Matches
ROI Struct Reference

#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
 

Detailed Description

ROI data structure

Definition at line 43 of file libtpcroi.h.

Field Documentation

◆ h

int ROI::h

◆ imgfile

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().

◆ matnum

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().

◆ point_nr

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().

◆ pos_x

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().

◆ pos_y

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().

◆ recon_zoom

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().

◆ roi

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().

◆ roiname

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().

◆ status

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().

◆ t

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().

◆ type

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().

◆ userdata

void* ROI::userdata

User data. Used only by client programs

Definition at line 80 of file libtpcroi.h.

Referenced by roi_read(), and roiRead().

◆ w

◆ x

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().

◆ y

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().

◆ zoom

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().


The documentation for this struct was generated from the following file: