STIR  6.2.0
Namespaces | Functions
ML_norm.cxx File Reference

utilities for finding normalisation factors using an ML approach More...

#include "stir/ML_norm.h"
#include "stir/SegmentBySinogram.h"
#include "stir/stream.h"
#include "stir/warning.h"
#include "stir/error.h"
#include <algorithm>

Namespaces

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

Functions

void stir::make_det_pair_data (DetPairData &det_pair_data, const ProjDataInfo &proj_data_info, const int segment_num, const int ax_pos_num)
 Makes a DetPairData of appropriate dimensions and fills it with 0.
 
void stir::make_det_pair_data (DetPairData &det_pair_data, const ProjData &proj_data, const int segment_num, const int ax_pos_num)
 
void stir::apply_block_norm (DetPairData &det_pair_data, const BlockData &block_data, const bool apply)
 
void stir::apply_geo_norm (DetPairData &det_pair_data, const GeoData &geo_data, const bool apply)
 
void stir::apply_efficiencies (DetPairData &det_pair_data, const Array< 1, float > &efficiencies, const bool apply)
 
void stir::make_fan_sum_data (Array< 1, float > &data_fan_sums, const DetPairData &det_pair_data)
 
void stir::make_geo_data (GeoData &geo_data, const DetPairData &det_pair_data)
 
void stir::make_block_data (BlockData &block_data, const DetPairData &det_pair_data)
 
void stir::iterate_efficiencies (Array< 1, float > &efficiencies, const Array< 1, float > &data_fan_sums, const DetPairData &model)
 
void stir::iterate_geo_norm (GeoData &norm_geo_data, const GeoData &measured_geo_data, const DetPairData &model)
 
void stir::iterate_block_norm (BlockData &norm_block_data, const BlockData &measured_block_data, const DetPairData &model)
 
double stir::KL (const DetPairData &d1, const DetPairData &d2, const double threshold)
 
std::ostream & stir::operator<< (std::ostream &s, const GeoData3D &geo_data)
 
std::istream & stir::operator>> (std::istream &s, GeoData3D &geo_data)
 
std::ostream & stir::operator<< (std::ostream &s, const FanProjData &fan_data)
 
std::istream & stir::operator>> (std::istream &s, FanProjData &fan_data)
 
void stir::get_fan_info (int &num_rings, int &num_detectors_per_ring, int &max_ring_diff, int &fan_size, const ProjDataInfo &proj_data_info)
 
void stir::set_det_pair_data (ProjData &proj_data, const DetPairData &det_pair_data, const int segment_num, const int ax_pos_num)
 
void stir::make_fan_data_remove_gaps (FanProjData &fan_data, const ProjData &proj_data)
 
void stir::set_fan_data_add_gaps (ProjData &proj_data, const FanProjData &fan_data, const float gap_value)
 
void stir::apply_block_norm (FanProjData &fan_data, const BlockData3D &block_data, const bool apply)
 
void stir::apply_geo_norm (FanProjData &fan_data, const GeoData3D &geo_data, const bool apply)
 
void stir::apply_efficiencies (FanProjData &fan_data, const DetectorEfficiencies &efficiencies, const bool apply)
 
void stir::make_fan_sum_data (Array< 2, float > &data_fan_sums, const FanProjData &fan_data)
 
void stir::make_fan_sum_data (Array< 2, float > &data_fan_sums, const ProjData &proj_data)
 
void stir::make_fan_sum_data (Array< 2, float > &data_fan_sums, const DetectorEfficiencies &efficiencies, const int max_ring_diff, const int half_fan_size)
 
void stir::make_geo_data (GeoData3D &geo_data, const FanProjData &fan_data)
 
void stir::make_block_data (BlockData3D &block_data, const FanProjData &fan_data)
 
void stir::iterate_efficiencies (DetectorEfficiencies &efficiencies, const Array< 2, float > &data_fan_sums, const FanProjData &model)
 
void stir::iterate_efficiencies (DetectorEfficiencies &efficiencies, const Array< 2, float > &data_fan_sums, const int max_ring_diff, const int half_fan_size)
 
void stir::iterate_geo_norm (GeoData3D &norm_geo_data, const GeoData3D &measured_geo_data, const FanProjData &model)
 
void stir::iterate_block_norm (BlockData3D &norm_block_data, const BlockData3D &measured_block_data, const FanProjData &model)
 
double stir::KL (const FanProjData &d1, const FanProjData &d2, const double threshold)
 

Detailed Description

utilities for finding normalisation factors using an ML approach

Author
Kris Thielemans
Tahereh Niknejad
Gefei Chen
daniel deidda