STIR 6.4.0
InvertAxis.h
Go to the documentation of this file.
1//
2/*
3 Copyright (C) 2019 National Physical Laboratory
4 This file is part of STIR.
5
6 SPDX-License-Identifier: Apache-2.0
7
8 See STIR/LICENSE.txt for details
9 */
17
18#ifndef __stir_InvertAxis_H__
19#define __stir_InvertAxis_H__
20
22
23START_NAMESPACE_STIR
24
32{
33
34public:
36
38 void invert_axis(DiscretisedDensity<3, float>& inverted_image,
39 const DiscretisedDensity<3, float>& input_image,
40 const std::string& axis_name);
41
42 int invert_axis_index(const int input_index, const int size, const std::string& axis_name);
43};
44END_NAMESPACE_STIR
45
46#endif
defines the stir::VoxelsOnCartesianGrid class
This abstract class is the basis for all image representations.
Definition DiscretisedDensity.h:99
a utility class to "invert" an axis
Definition InvertAxis.h:32
void invert_axis(DiscretisedDensity< 3, float > &inverted_image, const DiscretisedDensity< 3, float > &input_image, const std::string &axis_name)
transform the image
Definition InvertAxis.cxx:23