3 #include <itkImageToImageFilter.h> 4 #include <itkVectorImage.h> 16 template <
class TInputImage,
class TOutputImage>
18 public itk::ImageToImageFilter< TInputImage, TOutputImage >
23 typedef itk::ImageToImageFilter<TInputImage,TOutputImage>
Superclass;
43 typedef itk::VectorImage <typename TInputImage::IOPixelType,TInputImage::ImageDimension>
VectorInputImageType;
55 itkSetMacro(NumberOfLevels,
unsigned int)
56 itkGetConstMacro(NumberOfLevels,
unsigned int)
58 itkSetObjectMacro(ImageResampler, BaseResamplerType)
62 virtual ~PyramidImageFilter() {}
75 unsigned int m_NumberOfLevels;
81 std::vector <RegionType> m_LevelRegions;
82 std::vector <SpacingType> m_LevelSpacings;
itk::ImageToImageFilter< TInputImage, TOutputImage > BaseResamplerType
void GenerateData() ITK_OVERRIDE
Computes a pyramid of images using the provided resampler to perform resampling.
TOutputImage OutputImageType
itk::VectorImage< typename TInputImage::IOPixelType, TInputImage::ImageDimension > VectorOutputImageType
InputImageType::RegionType RegionType
VectorOutputImageType::Pointer VectorOutputImagePointer
itk::Image< typename TInputImage::IOPixelType, TInputImage::ImageDimension > ScalarOutputImageType
OutputImageType::IOPixelType OutputInternalScalarType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
BaseResamplerType::Pointer BaseResamplerPointer
void CreateLevelVectorImage(unsigned int level)
void CheckNumberOfLevels()
itk::Image< typename TInputImage::IOPixelType, TInputImage::ImageDimension > ScalarInputImageType
itk::VectorImage< typename TInputImage::IOPixelType, TInputImage::ImageDimension > VectorInputImageType
InputImageType::IOPixelType InputInternalScalarType
TInputImage InputImageType
itk::SmartPointer< const Self > ConstPointer
double AnisotropyMeasure(SpacingType &sp, std::vector< bool > &changeableSizes)
ScalarOutputImageType::Pointer ScalarOutputImagePointer
itk::SmartPointer< Self > Pointer
void CreateLevelImage(unsigned int level)
InputImageType::SpacingType SpacingType
OutputImageType::Pointer OutputImagePointer