Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itkMultiHistogramFilter.h
Go to the documentation of this file.
1 #ifndef itkMultiHistogramFilter_h
2 #define itkMultiHistogramFilter_h
3 
4 #include "itkImageToImageFilter.h"
5 
6 namespace itk
7 {
8  template<typename TInputImageType, typename TOuputImageType >
9  class MultiHistogramFilter : public ImageToImageFilter< TInputImageType, TOuputImageType>
10  {
11  public:
13  typedef ImageToImageFilter< TInputImageType, TOuputImageType > Superclass;
17 
18  itkNewMacro (Self);
19  itkTypeMacro(MultiHistogramFilter, ImageToImageFilter);
20 
21  itkSetMacro(Delta, double);
22  itkGetConstMacro(Delta, double);
23 
24  itkSetMacro(Offset, double);
25  itkGetConstMacro(Offset, double);
26 
27  protected:
30 
31  virtual void GenerateData();
32 
33  DataObject::Pointer MakeOutput(unsigned int /*idx*/);
34 
35  void CreateOutputImage(InputImagePointer input, OutputImagePointer output);
36 
37  private:
38  MultiHistogramFilter(const Self &); // purposely not implemented
39  void operator=(const Self &); // purposely not implemented
40 
41  double m_Delta;
42  double m_Offset;
43  };
44 }
45 
46 #ifndef ITK_MANUAL_INSTANTIATION
48 #endif
49 
50 #endif // itkMultiHistogramFilter_h
itk::SmartPointer< Self > Pointer
DataObject::Pointer MakeOutput(unsigned int)
void CreateOutputImage(InputImagePointer input, OutputImagePointer output)
itk::SmartPointer< const Self > ConstPointer
ImageToImageFilter< TInputImageType, TOuputImageType > Superclass
TInputImageType::ConstPointer InputImagePointer
TOuputImageType::Pointer OutputImagePointer