STIR  6.2.0
Functions
find_recovery_coefficients_in_image_quality_phantom_nema_nu4.cxx File Reference

Utility program for calculating recovery coeficient values in the image quality phantom described in NEMA NU 4. More...

#include "stir/VoxelsOnCartesianGrid.h"
#include "stir/DiscretisedDensity.h"
#include "stir/Shape/EllipsoidalCylinder.h"
#include "stir/CartesianCoordinate2D.h"
#include "stir/CartesianCoordinate3D.h"
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include "stir/IO/read_from_file.h"
#include "stir/info.h"
#include "stir/warning.h"
#include "stir/error.h"
#include "stir/Succeeded.h"

Functions

void compute_average_plane_in_given_range (VoxelsOnCartesianGrid< float > &average_plane, const VoxelsOnCartesianGrid< float > &image, const int &min_index, const int &max_index)
 
void build_ROIs (vector< EllipsoidalCylinder > &ROIs, float length_z, std::vector< double > ROIs_x, std::vector< double > ROIs_y)
 
void find_max_in_ROI (float &max, CartesianCoordinate3D< int > &max_coord, const VoxelsOnCartesianGrid< float > &image, const EllipsoidalCylinder &ROI)
 
void find_max_in_all_ROIs (vector< float > &maxs, vector< CartesianCoordinate3D< int >> &max_coords, const VoxelsOnCartesianGrid< float > &image, const vector< EllipsoidalCylinder > &ROIs)
 
void find_mean_STD_along_lineprofile (float &mean, float &STD, const VoxelsOnCartesianGrid< float > &image, char direction, int min_index, int max_index, const CartesianCoordinate3D< int > &pos)
 
int main (int argc, char *argv[])
 

Detailed Description

Utility program for calculating recovery coeficient values in the image quality phantom described in NEMA NU 4.

Author
Parisa Khateri