19 #ifndef __stir_evaluation_compute_ROI_values__H__ 20 #define __stir_evaluation_compute_ROI_values__H__ 27 template <
typename coordT>
28 class CartesianCoordinate2D;
29 template <
typename coordT>
30 class CartesianCoordinate3D;
31 template <
typename elemT>
32 class VectorWithOffset;
33 template <
int num_dimensions,
typename elemT>
34 class DiscretisedDensity;
49 void compute_ROI_values_per_plane(VectorWithOffset<ROIValues>& values,
50 const DiscretisedDensity<3, float>& image,
52 const CartesianCoordinate3D<int>& num_samples);
54 void compute_ROI_values_per_plane(VectorWithOffset<ROIValues>& values,
55 const DiscretisedDensity<3, float>& image,
56 const DiscretisedDensity<3, float>& discretised_shape);
58 ROIValues compute_total_ROI_values(
const VectorWithOffset<ROIValues>& values);
60 ROIValues compute_total_ROI_values(
const DiscretisedDensity<3, float>& image,
62 const CartesianCoordinate3D<int>& num_samples);
64 ROIValues compute_total_ROI_values(
const DiscretisedDensity<3, float>& image,
65 const DiscretisedDensity<3, float>& discretised_shape);
68 void compute_plane_range_ROI_values_per_plane(VectorWithOffset<ROIValues>& values,
69 const DiscretisedDensity<3, float>& image,
70 const CartesianCoordinate2D<int>& plane_range,
72 const CartesianCoordinate3D<int>& num_samples);
74 float compute_CR_hot(ROIValues& val1, ROIValues& val2);
75 float compute_CR_cold(ROIValues& val1, ROIValues& val2);
76 float compute_uniformity(ROIValues& val);
78 VectorWithOffset<float> compute_CR_hot_per_plane(VectorWithOffset<ROIValues>& val1, VectorWithOffset<ROIValues>& val2);
80 VectorWithOffset<float> compute_CR_cold_per_plane(VectorWithOffset<ROIValues>& val1, VectorWithOffset<ROIValues>& val2);
82 VectorWithOffset<float> compute_uniformity_per_plane(VectorWithOffset<ROIValues>& val);
Definition of class stir::ROIValues.
defines the stir::VoxelsOnCartesianGrid class