6 #include <itkConfigure.h> 8 #include <itkImageToImageFilter.h> 10 #include <itkNumericTraits.h> 27 template <
class TInputImage,
class TOutputImage>
29 public itk::ImageToImageFilter< TInputImage, TOutputImage >
34 TInputImage::ImageDimension);
36 TOutputImage::ImageDimension);
44 typedef itk::ImageToImageFilter< InputImageType, OutputImageType>
Superclass;
64 itkSetMacro(Radius, InputSizeType)
67 itkGetConstReferenceMacro(Radius, InputSizeType)
69 typename OutputImageType::Pointer
GetMeanImage() {
return this->GetOutput(0);}
70 typename OutputImageType::Pointer
GetVarImage() {
return this->GetOutput(1);}
72 #ifdef ITK_USE_CONCEPT_CHECKING 74 itkConceptMacro(InputHasNumericTraitsCheck,
75 (itk::Concept::HasNumericTraits<InputPixelType>));
82 void PrintSelf(std::ostream& os, itk::Indent indent)
const ITK_OVERRIDE;
OutputImageType::Pointer GetMeanImage()
itk::SmartPointer< Self > Pointer
Applies an variance filter to an image.
InputImageType::SizeType InputSizeType
itk::NumericTraits< InputPixelType >::RealType InputRealType
OutputImageType::PixelType OutputPixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE
InputImageType::PixelType InputPixelType
OutputImageType::Pointer GetVarImage()
static const unsigned int InputImageDimension
OutputImageType::RegionType OutputImageRegionType
virtual ~MeanAndVarianceImagesFilter()
InputImageType::RegionType InputImageRegionType
TOutputImage OutputImageType
TInputImage InputImageType
typedef(itk::Concept::HasNumericTraits< InputPixelType >) InputHasNumericTraitsCheck
static const unsigned int OutputImageDimension
MeanAndVarianceImagesFilter()
itk::SmartPointer< const Self > ConstPointer
itk::ImageToImageFilter< InputImageType, OutputImageType > Superclass
MeanAndVarianceImagesFilter Self
void PrintSelf(std::ostream &os, itk::Indent indent) const ITK_OVERRIDE