4 #include <itkCastImageFilter.h> 6 #include <itkPixelTraits.h> 7 #include <itkCommand.h> 8 #include <itkFixedArray.h> 13 template <
typename TInputImage,
14 typename TOutputImage= TInputImage >
16 public itk::InPlaceImageFilter<TInputImage,TOutputImage>
21 typedef itk::InPlaceImageFilter<TInputImage,TOutputImage>
Superclass;
29 typedef typename itk::NumericTraits<PixelType>::RealType
RealType;
30 typedef typename itk::NumericTraits<PixelType>::ScalarRealType
ScalarRealType;
38 TInputImage::ImageDimension);
49 typedef typename InputImageType::template Rebind<InternalRealType>::Type
RealImageType;
64 typedef itk::CastImageFilter<
89 void SetSigma( ScalarRealType sigma );
96 itkGetConstMacro(NormalizeAcrossScale,
bool)
106 virtual ~SmoothingRecursiveYvvGaussianImageFilter() {}
107 void PrintSelf(std::ostream& os, itk::Indent indent)
const ITK_OVERRIDE;
125 InternalGaussianFilterPointer m_SmoothingFilters[
ImageDimension - 1];
126 FirstGaussianFilterPointer m_FirstSmoothingFilter;
127 CastingFilterPointer m_CastingFilter;
130 bool m_NormalizeAcrossScale;
virtual bool CanRunInPlace() const ITK_OVERRIDE
itk::SmartPointer< Self > Pointer
void EnlargeOutputRequestedRegion(itk::DataObject *output) ITK_OVERRIDE
itk::NumericTraits< PixelType >::RealType InternalRealType
virtual void GenerateInputRequestedRegion() ITK_OVERRIDE
itk::CastImageFilter< RealImageType, OutputImageType > CastingFilterType
itk::FixedArray< ScalarRealType, itkGetStaticConstMacro(ImageDimension) > SigmaArrayType
void SetSigmaArray(const SigmaArrayType &sigmas)
InputImageType::template Rebind< InternalRealType >::Type RealImageType
itk::SmartPointer< const Self > ConstPointer
void SetNormalizeAcrossScale(bool normalizeInScaleSpace)
TInputImage InputImageType
SigmaArrayType GetSigmaArray() const
ScalarRealType GetSigma() const
void GenerateData() ITK_OVERRIDE
anima::RecursiveLineYvvGaussianImageFilter< InputImageType, RealImageType > FirstGaussianFilterType
void PrintSelf(std::ostream &os, itk::Indent indent) const ITK_OVERRIDE
void SetNumberOfWorkUnits(itk::ThreadIdType nb) ITK_OVERRIDE
SmoothingRecursiveYvvGaussianImageFilter Self
CastingFilterType::Pointer CastingFilterPointer
InternalGaussianFilterType::Pointer InternalGaussianFilterPointer
TInputImage::PixelType PixelType
TOutputImage OutputImageType
anima::RecursiveLineYvvGaussianImageFilter< RealImageType, RealImageType > InternalGaussianFilterType
void SetSigma(ScalarRealType sigma)
static const unsigned int ImageDimension
itk::SmartPointer< Self > Pointer
itk::NumericTraits< PixelType >::ScalarRealType ScalarRealType
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
FirstGaussianFilterType::Pointer FirstGaussianFilterPointer
itk::NumericTraits< PixelType >::RealType RealType
OutputImageType::Pointer OutputImagePointer