118 :
public MultiResolutionPyramidImageFilter<TInputImage, TOutputImage>
125 using Superclass = MultiResolutionPyramidImageFilter<TInputImage, TOutputImage>;
141 using typename Superclass::ScheduleType;
142 using typename Superclass::InputImageType;
143 using typename Superclass::OutputImageType;
144 using typename Superclass::InputImagePointer;
145 using typename Superclass::OutputImagePointer;
146 using typename Superclass::InputImageConstPointer;
147 using SpacingType =
typename Superclass::InputImageType::SpacingType;
148 using PixelType =
typename InputImageType::PixelType;
187 return this->m_Schedule;
219 itkGetConstReferenceMacro(CurrentLevel,
unsigned int);
225 itkGetConstMacro(ComputeOnlyForCurrentLevel,
bool);
226 itkBooleanMacro(ComputeOnlyForCurrentLevel);
228#ifdef ITK_USE_CONCEPT_CHECKING
230 itkConceptMacro(SameDimensionCheck, (Concept::SameDimension<ImageDimension, OutputImageDimension>));
231 itkConceptMacro(OutputHasNumericTraitsCheck, (Concept::HasNumericTraits<typename TOutputImage::PixelType>));
241 PrintSelf(std::ostream & os, Indent indent)
const override;
274 unsigned int m_CurrentLevel{};
275 bool m_ComputeOnlyForCurrentLevel{};
276 bool m_SmoothingScheduleDefined{};
282 using SmootherType = SmoothingRecursiveGaussianImageFilter<InputImageType, OutputImageType>;
296 typename SmootherType::Pointer & smoother,
297 const InputImageConstPointer & input);
304 typename SmootherType::Pointer & smoother,
306 const InputImageConstPointer & input,
307 const OutputImagePointer & outputPtr,
308 typename ImageToImageFilterSameTypes::Pointer & rescaleSameTypes,
309 typename ImageToImageFilterDifferentTypes::Pointer & rescaleDifferentTypes);
315 const OutputImagePointer & outputPtr,
316 typename ImageToImageFilterSameTypes::Pointer & rescaleSameTypes,
317 typename ImageToImageFilterDifferentTypes::Pointer & rescaleDifferentTypes);
332 const unsigned int dim,
333 const unsigned int * factors,
int SetupShrinkerOrResampler(const unsigned int level, typename SmootherType::Pointer &smoother, const bool sameType, const InputImageConstPointer &input, const OutputImagePointer &outputPtr, typename ImageToImageFilterSameTypes::Pointer &rescaleSameTypes, typename ImageToImageFilterDifferentTypes::Pointer &rescaleDifferentTypes)
void DefineShrinkerOrResampler(const bool sameType, const RescaleFactorArrayType &shrinkFactors, const OutputImagePointer &outputPtr, typename ImageToImageFilterSameTypes::Pointer &rescaleSameTypes, typename ImageToImageFilterDifferentTypes::Pointer &rescaleDifferentTypes)