STIR
6.4.0
STIR
src
include
stir
spatial_transformation
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
21
#include "
stir/VoxelsOnCartesianGrid.h
"
22
23
START_NAMESPACE_STIR
24
31
class
InvertAxis
32
{
33
34
public
:
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
};
44
END_NAMESPACE_STIR
45
46
#endif
VoxelsOnCartesianGrid.h
defines the stir::VoxelsOnCartesianGrid class
stir::DiscretisedDensity
This abstract class is the basis for all image representations.
Definition
DiscretisedDensity.h:99
stir::InvertAxis
a utility class to "invert" an axis
Definition
InvertAxis.h:32
stir::InvertAxis::invert_axis
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
Generated on Wed May 27 2026 17:04:05 for STIR by
1.13.2