|
STIR 6.4.0
|
This file contains functions to compute the centre of gravity of arrays and images. More...
#include "stir/ArrayFwd.h"Go to the source code of this file.
Namespaces | |
| namespace | stir |
| Namespace for the STIR library (and some/most of its applications) | |
Functions | |
| template<class T> | |
| T | stir::find_unweighted_centre_of_gravity_1d (const VectorWithOffset< T > &row) |
| Compute centre of gravity of a vector but without dividing by its sum. | |
| template<int num_dimensions, class T> | |
| BasicCoordinate< num_dimensions, T > | stir::find_unweighted_centre_of_gravity (const ArrayType< num_dimensions, T > &) |
| Compute centre of gravity of an Array but without dividing by its sum. | |
| template<class T> | |
| T | stir::find_unweighted_centre_of_gravity (const ArrayType< 1, T > &) |
| Compute centre of gravity of a 1D Array but without dividing by its sum. | |
| template<int num_dimensions, class T> | |
| BasicCoordinate< num_dimensions, T > | stir::find_centre_of_gravity (const ArrayType< num_dimensions, T > &) |
| Compute centre of gravity of an Array. | |
| template<class T> | |
| void | stir::find_centre_of_gravity_in_mm_per_plane (VectorWithOffset< CartesianCoordinate3D< float > > &allCoG, VectorWithOffset< T > &weights, const VoxelsOnCartesianGrid< T > &image) |
| Computes centre of gravity for each plane. | |
| template<class T> | |
| CartesianCoordinate3D< float > | stir::find_centre_of_gravity_in_mm (const VoxelsOnCartesianGrid< T > &image) |
| Computes centre of gravity of an image. | |
This file contains functions to compute the centre of gravity of arrays and images.