STIR
6.2.0
home
sirfuser
devel
STIRdistrib
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
*/
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
stir::InvertAxis
a utility class to "invert" an axis
Definition:
InvertAxis.h:31
VoxelsOnCartesianGrid.h
defines the stir::VoxelsOnCartesianGrid class
stir::DiscretisedDensity< 3, float >
Generated on Tue Jul 23 2024 09:13:11 for STIR by
1.8.13