15 #ifndef itkExtendedBrainMaskWithSmoothDropOffCompositeFilter_h
16 #define itkExtendedBrainMaskWithSmoothDropOffCompositeFilter_h
19 #include <itkImageToImageFilter.h>
21 #include <itkBinaryThresholdImageFilter.h>
22 #include <itkBinaryCrossStructuringElement.h>
23 #include <itkBinaryDilateImageFilter.h>
24 #include <itkDiscreteGaussianImageFilter.h>
62 template<
class TImageType>
70 typedef ImageToImageFilter<TImageType, TImageType>
Superclass;
97 void PrintSelf( std::ostream& os, itk::Indent indent )
const;
100 itkGetMacro( InitialThreshold,
float);
101 itkSetMacro( InitialThreshold,
float);
102 itkGetMacro( FirstNumberOfDilations,
unsigned int);
103 itkSetMacro( FirstNumberOfDilations,
unsigned int);
104 itkGetMacro( SecondNumberOfDilations,
unsigned int);
105 itkSetMacro( SecondNumberOfDilations,
unsigned int);
106 itkGetMacro( GaussianFWHM,
float);
107 itkSetMacro( GaussianFWHM,
float);
118 void operator=(
const Self&);
120 float m_InitialThreshold;
121 unsigned int m_FirstNumberOfDilations;
122 unsigned int m_SecondNumberOfDilations;
123 float m_GaussianFWHM;
126 BinaryThresholdFilterPointer m_ThresholdFilter;
127 BinaryDilateFilterPointer m_FirstDilateFilter;
128 BinaryDilateFilterPointer m_SecondDilateFilter;
129 GaussianFilterPointer m_GaussianFilter;
130 InjectSourceImageGreaterThanZeroIntoTargetImageFilterPointer m_InjectorFilter;
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.txx"
BinaryCrossStructuringElement< typename TImageType::PixelType, TImageType::ImageDimension > StructuringElementType
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:86
ExtendedBrainMaskWithSmoothDropOffCompositeFilter Self
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:69
TImageType ImageType
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:78
Definition: niftkITKAffineResampleImage.cxx:74
SmartPointer< Self > Pointer
Definition: itkInjectSourceImageGreaterThanZeroIntoTargetImageFilter.h:78
SmartPointer< Self > Pointer
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:71
BinaryThresholdImageFilter< TImageType, TImageType > BinaryThresholdFilterType
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:83
BinaryThresholdFilterType::Pointer BinaryThresholdFilterPointer
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:84
float PixelType
Definition: niftkBreastDCEandADC.cxx:88
BinaryDilateFilterType::Pointer BinaryDilateFilterPointer
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:88
If first input is != 0, then the first input is copied to output, otherwise, the second input pixel i...
Definition: itkInjectSourceImageGreaterThanZeroIntoTargetImageFilter.h:59
GaussianFilterType::Pointer GaussianFilterPointer
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:90
Takes a mask, dilates outwards, blurs with a gaussian, then substitutes in the dilated mask...
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:63
DiscreteGaussianImageFilter< TImageType, TImageType > GaussianFilterType
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:89
ImageToImageFilter< TImageType, TImageType > Superclass
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:70
BinaryDilateImageFilter< TImageType, TImageType, StructuringElementType > BinaryDilateFilterType
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:87
SmartPointer< const Self > ConstPointer
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:72
ImageType::Pointer ImagePointer
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:82
InjectSourceImageGreaterThanZeroIntoTargetImageFilter< TImageType, TImageType, TImageType > InjectSourceImageGreaterThanZeroIntoTargetImageFilterType
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:93
InjectSourceImageGreaterThanZeroIntoTargetImageFilterType::Pointer InjectSourceImageGreaterThanZeroIntoTargetImageFilterPointer
Definition: itkExtendedBrainMaskWithSmoothDropOffCompositeFilter.h:94