19 #ifndef rtkBackwardDifferenceDivergenceImageFilter_h 20 #define rtkBackwardDifferenceDivergenceImageFilter_h 39 template <
typename TInputImage,
typename TOutputImage = itk::Image<
float, TInputImage::ImageDimension>>
47 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
62 #ifdef itkOverrideGetNameOfClassMacro 74 this->SetUseImageSpacing(
true);
82 this->SetUseImageSpacing(
false);
88 itkGetConstMacro(UseImageSpacing,
bool);
94 SetDimensionsProcessed(
bool * DimensionsProcessed);
111 GenerateInputRequestedRegion()
override;
114 BeforeThreadedGenerateData()
override;
117 DynamicThreadedGenerateData(
const typename InputImageType::RegionType & outputRegionForThread)
override;
120 AfterThreadedGenerateData()
override;
130 bool m_DimensionsProcessed[TInputImage::ImageDimension];
140 #ifndef ITK_MANUAL_INSTANTIATION 141 # include "rtkBackwardDifferenceDivergenceImageFilter.hxx" 144 #endif //__rtkBackwardDifferenceDivergenceImageFilter__ typename InputImageType::SizeType InputSizeType
void SetUseImageSpacingOff()
TInputImage InputImageType
bool m_IsBoundaryConditionOverriden
#define itkSetMacro(name, type)
TInputImage::SpacingType m_InvSpacingCoeffs
typename InputImageType::PixelType InputPixelType
itk::ImageBoundaryCondition< TInputImage, TInputImage > * m_BoundaryCondition
typename InputImageType::RegionType InputImageRegionType
Computes the backward differences divergence (adjoint of the forward differences gradient) of the inp...
void SetUseImageSpacingOn()