STIR  6.2.0
scale_sinograms.h
Go to the documentation of this file.
1 //
2 //
3 /*
4  Copyright (C) 2004 - 2009, Hammersmith Imanet Ltd
5  This file is part of STIR.
6 
7  SPDX-License-Identifier: Apache-2.0
8 
9  See STIR/LICENSE.txt for details
10 */
20 #include "stir/Array.h"
21 
22 START_NAMESPACE_STIR
23 class ProjData;
24 class Succeeded;
25 
27 
34 Succeeded
35 scale_sinograms(ProjData& output_proj_data, const ProjData& input_proj_data, const Array<2, float> scale_factors_per_sinogram);
36 
38 
53 Array<2, float> get_scale_factors_per_sinogram(const ProjData& numerator_proj_data,
54  const ProjData& denominator_proj_data,
55  const ProjData& weights_proj_data);
56 
57 END_NAMESPACE_STIR
defines the Array class for multi-dimensional (numeric) arrays
Array< 2, float > get_scale_factors_per_sinogram(const ProjData &numerator_proj_data, const ProjData &denominator_proj_data, const ProjData &weights_proj_data)
find scale factors between two different sinograms
Definition: scale_sinograms.cxx:53
Succeeded scale_sinograms(ProjData &scaled_scatter_proj_data, const ProjData &scatter_proj_data, const Array< 2, float > scale_factors)
apply a scale factor for every sinogram
Definition: scale_sinograms.cxx:30