21#ifndef __find_fwhm_in_image_H__
22#define __find_fwhm_in_image_H__
49template <
class RandomAccessIterType>
51 const RandomAccessIterType& max_iterator,
52 const RandomAccessIterType& end_iterator,
53 const float level_height);
68template <
class RandomAccessIterType>
70find_level_width(
const RandomAccessIterType& begin_iterator,
const RandomAccessIterType& end_iterator,
const float level_height);
91 const BasicCoordinate<3, int>& max_location,
92 const BasicCoordinate<3, bool>& do_direction,
99template <
int num_dimensions,
class elemT>
132template <
class elemT>
134 const unsigned int num_maxima,
defines the stir::DiscretisedDensityOnCartesianGrid class
defines the stir::DiscretisedDensity class
class BasicCoordinate<int num_dimensions, typename coordT> defines num_dimensions -dimensional coordi...
Definition BasicCoordinate.h:57
This abstract class is the basis for all image representations.
Definition DiscretisedDensity.h:99
A collection of functions to measure resolution.
std::list< ResolutionIndex< 3, float > > find_fwhm_in_image(DiscretisedDensity< 3, elemT > &input_image, const unsigned int num_maxima, const float level, const int dimension, const bool nema)
Finds FWHM, FWTM etc (in mm) for a number of point sources or a line source.
Definition find_fwhm_in_image.cxx:58
BasicCoordinate< 3, int > maximum_location_per_slice(const Array< 3, elemT > &input_array, const int slice, const int dimension)
finds the maximum of the Input_Array in the given slice at the given dimension (z=1,...
Definition find_fwhm_in_image.cxx:115
float find_level_width(const RandomAccessIterType &begin_iterator, const RandomAccessIterType &max_iterator, const RandomAccessIterType &end_iterator, const float level_height)
find width at a level
Definition find_fwhm_in_image.inl:28
Array< 1, elemT > interpolate_line(const Array< 3, elemT > &input_array, const BasicCoordinate< 3, int > &max_location, const BasicCoordinate< 3, bool > &do_direction, const int dimension)
extract a line from the given array after determining its locatin with a parabolic fit
Definition find_fwhm_in_image.cxx:135
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...
a structure that is used to hold the output of the function find_fwhm_in_image.
Definition find_fwhm_in_image.h:101