19 #ifndef rtkReconstructImageFilter_h 20 #define rtkReconstructImageFilter_h 122 template <
class TImage>
139 #ifdef itkOverrideGetNameOfClassMacro 147 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
167 this->m_NumberOfLevels = levels;
168 this->ModifyInputOutputStorage();
176 return this->m_NumberOfLevels;
184 GenerateOutputInformation()
override;
190 GenerateInputRequestedRegion()
override;
200 SetSizes(
typename InputImageType::SizeType * sizesVector)
202 m_Sizes = sizesVector;
206 SetIndices(
typename InputImageType::IndexType * indicesVector)
208 m_Indices = indicesVector;
212 itkGetMacro(Order,
unsigned int);
221 PrintSelf(std::ostream & os,
itk::Indent indent)
const override;
227 ModifyInputOutputStorage();
231 GenerateData()
override;
235 CalculateNumberOfInputs();
239 GeneratePassVectors();
242 unsigned int m_NumberOfLevels{ 5 };
243 unsigned int m_Order{ 3 };
244 bool m_PipelineConstructed{
251 typename std::vector<typename ConvolutionFilterType::Pointer>
253 typename std::vector<typename UpsampleImageFilterType::Pointer>
256 typename std::vector<typename ConvolutionFilterType::PassVector>
m_PassVectors;
262 #ifndef rtk_MANUAL_INSTANTIATION 263 # include "rtkReconstructImageFilter.hxx" typename Superclass::InputImageConstPointer InputImageConstPointer
void SetSizes(typename InputImageType::SizeType *sizesVector)
void VerifyInputInformation() const override
typename OutputImageType::Pointer OutputImagePointer
virtual void SetNumberOfLevels(unsigned int levels)
typename Superclass::InputImageType InputImageType
InputImageType::SizeType * m_Sizes
Upsamples an image by the given factor for each dimension.
typename Superclass::InputImagePointer InputImagePointer
typename TImage::PixelType PixelType
An image filter that reconstructs an image using Daubechies wavelets.
std::vector< typename ConvolutionFilterType::PassVector > m_PassVectors
std::vector< typename ConvolutionFilterType::Pointer > m_ConvolutionFilters
#define itkSetMacro(name, type)
TOutputImage OutputImageType
std::vector< typename UpsampleImageFilterType::Pointer > m_UpsampleFilters
typename TImage::InternalPixelType InternalPixelType
Creates a Daubechies wavelets kernel image with the requested attributes (order, type, pass along each dimension)
InputImageType::IndexType * m_Indices
std::vector< typename AddFilterType::Pointer > m_AddFilters
virtual unsigned int GetNumberOfLevels()
void SetIndices(typename InputImageType::IndexType *indicesVector)