STIR  6.2.0
Public Member Functions | List of all members

A class to store and get results of an ROI calculation. More...

#include "stir/evaluation/ROIValues.h"

Public Member Functions

 ROIValues (float roi_volume, float integral, float integral_of_square, float min_value, float max_value)
 
ROIValues operator+= (const ROIValues &iv)
 Combine the ROI values appropriately.
 
std::string report () const
 Return a string with all info, one per line.
 
float get_roi_volume () const
 Total valume (in mm^3)
 
float get_integral () const
 Sum of elements times voxel volume.
 
float get_integral_of_square () const
 Sum of squares times voxel volume.
 
float get_mean () const
 Mean value.
 
float get_variance () const
 Variance.
 
float get_stddev () const
 Standard deviation.
 
float get_CV () const
 Coefficient of Variance =stddev/mean)
 
float get_min () const
 Minimum value in the ROI.
 
float get_max () const
 Maximum value in the ROI.
 

Detailed Description

A class to store and get results of an ROI calculation.

This class stores the volume of the ROI (in cubic mm), the integral over the ROI of the functions and its square and the min and max values in the ROI. These values are used to compute mean, standard deviation and coefficient of variance.


The documentation for this class was generated from the following files: