ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkFourDToProjectionStackImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright RTK Consortium
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef rtkFourDToProjectionStackImageFilter_h
19#define rtkFourDToProjectionStackImageFilter_h
20
23#include <itkPasteImageFilter.h>
24
28
29namespace rtk
30{
98
99template <typename ProjectionStackType, typename VolumeSeriesType>
100class ITK_TEMPLATE_EXPORT FourDToProjectionStackImageFilter
101 : public itk::ImageToImageFilter<ProjectionStackType, ProjectionStackType>
102{
103public:
104 ITK_DISALLOW_COPY_AND_MOVE(FourDToProjectionStackImageFilter);
105
110
112 using VolumeType = ProjectionStackType;
113
115 itkNewMacro(Self);
116
118 itkOverrideGetNameOfClassMacro(FourDToProjectionStackImageFilter);
119
121 void
122 SetInputVolumeSeries(const VolumeSeriesType * VolumeSeries);
123
127 void
128 SetInputProjectionStack(const ProjectionStackType * Projection);
129
137
139 void
141
143 itkSetObjectMacro(Geometry, GeometryType);
144
146 void
148
150 void
152
154 virtual void
155 SetSignal(const std::vector<double> & signal);
156
157protected:
160
161 typename VolumeSeriesType::ConstPointer
163 typename ProjectionStackType::Pointer
165
167 void
168 GenerateData() override;
169
170 void
172
173 void
175
182
187 std::vector<double> m_Signal;
188};
189} // namespace rtk
190
191
192#ifndef ITK_MANUAL_INSTANTIATION
193# include "rtkFourDToProjectionStackImageFilter.hxx"
194#endif
195
196#endif
Array2D class representing a 2D array.
Definition itkArray2D.h:43
Base class for filters that take an image as input and produce an image as output.
Paste an image (or a constant value) into another image.
Implements transparent reference counting.
Generate an n-dimensional image with constant pixel values.
typename ProjectionStackType::RegionType OutputImageRegionType
Base class for forward projection, i.e. accumulation along x-ray lines.
~FourDToProjectionStackImageFilter() override=default
ProjectionStackType::Pointer GetInputProjectionStack()
rtk::InterpolatorWithKnownWeightsImageFilter< VolumeType, VolumeSeriesType > InterpolatorFilterType
rtk::ForwardProjectionImageFilter< ProjectionStackType, ProjectionStackType > ForwardProjectionFilterType
ForwardProjectionFilterType::Pointer m_ForwardProjectionFilter
void SetInputVolumeSeries(const VolumeSeriesType *VolumeSeries)
rtk::ConstantImageSource< ProjectionStackType > ConstantProjectionStackSourceType
rtk::ConstantImageSource< VolumeType > ConstantImageSourceType
virtual void SetSignal(const std::vector< double > &signal)
itk::PasteImageFilter< ProjectionStackType, ProjectionStackType > PasteFilterType
void SetForwardProjectionFilter(ForwardProjectionFilterType *_arg)
VolumeSeriesType::ConstPointer GetInputVolumeSeries()
ConstantProjectionStackSourceType::OutputImageRegionType m_PasteRegion
void SetWeights(itk::Array2D< float > _arg)
itk::ImageToImageFilter< ProjectionStackType, ProjectionStackType > Superclass
void SetInputProjectionStack(const ProjectionStackType *Projection)
ConstantProjectionStackSourceType::Pointer m_ConstantProjectionStackSource
Interpolates (linearly) in a 3D+t sequence of volumes to get a 3D volume.
Projection geometry for a source and a 2-D flat panel.