STIR  6.2.0
Classes | Namespaces
compute_ROI_values.h File Reference

Declaration of various function that computes ROI values. More...

#include "stir/evaluation/ROIValues.h"
#include "stir/VoxelsOnCartesianGrid.h"

Go to the source code of this file.

Classes

class  stir::CartesianCoordinate2D< coordT >
 a templated class for 2-dimensional coordinates. More...
 
class  stir::CartesianCoordinate3D< coordT >
 a templated class for 3-dimensional coordinates. More...
 
class  stir::VectorWithOffset< T >
 A templated class for vectors, but with indices starting not from 0. More...
 
class  stir::DiscretisedDensity< num_dimensions, elemT >
 This abstract class is the basis for all image representations. More...
 

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

Functions to compute ROI values

Shapes can be first discretised using Shape3D::construct_volume or a Shape3D parsed. This can make fuzzy boundaries (when the num_samples argument is not (1,1,1), or when DiscretisedShape3D needs zooming). Mean and stddev are computed using weighted versions, taking this smoothness into account, while ROI_min and max are ignore those weights.

void stir::compute_ROI_values_per_plane (VectorWithOffset< ROIValues > &values, const DiscretisedDensity< 3, float > &density, const Shape3D &shape, const CartesianCoordinate3D< int > &num_samples)
 
void stir::compute_ROI_values_per_plane (VectorWithOffset< ROIValues > &values, const DiscretisedDensity< 3, float > &density, const DiscretisedDensity< 3, float > &discretised_shape)
 
ROIValues stir::compute_total_ROI_values (const VectorWithOffset< ROIValues > &values)
 
ROIValues stir::compute_total_ROI_values (const DiscretisedDensity< 3, float > &image, const Shape3D &shape, const CartesianCoordinate3D< int > &num_samples)
 
ROIValues stir::compute_total_ROI_values (const DiscretisedDensity< 3, float > &image, const DiscretisedDensity< 3, float > &discretised_shape)
 
void stir::compute_plane_range_ROI_values_per_plane (VectorWithOffset< ROIValues > &values, const DiscretisedDensity< 3, float > &density, const CartesianCoordinate2D< int > &plane_range, const Shape3D &shape, const CartesianCoordinate3D< int > &num_samples)
 
float stir::compute_CR_hot (ROIValues &val1, ROIValues &val2)
 
float stir::compute_CR_cold (ROIValues &val1, ROIValues &val2)
 
float stir::compute_uniformity (ROIValues &val)
 
VectorWithOffset< float > stir::compute_CR_hot_per_plane (VectorWithOffset< ROIValues > &val1, VectorWithOffset< ROIValues > &val2)
 
VectorWithOffset< float > stir::compute_CR_cold_per_plane (VectorWithOffset< ROIValues > &val1, VectorWithOffset< ROIValues > &val2)
 
VectorWithOffset< float > stir::compute_uniformity_per_plane (VectorWithOffset< ROIValues > &val)
 

Detailed Description

Declaration of various function that computes ROI values.

Author
Kris Thielemans