Tomato
itkNShmolliSamplesUsedTo123ImageFilter.h
1 //
2 // NShmolliSamplesUsedTo123ImageFilter
3 // TomatoLib
4 //
5 // Created by Konrad Werys on 24/11/17.
6 // Copyright © 2017 Konrad Werys. All rights reserved.
7 //
8 
9 #ifndef TomatoLIB_ITKNShmolliSamplesUsedTo123ImageFilter_H
10 #define TomatoLIB_ITKNShmolliSamplesUsedTo123ImageFilter_H
11 
12 #include "CmakeConfigForTomato.h"
13 
14 #ifdef USE_ITK
15 
16 #include "tomatolib_export.h"
17 #include "itkImageToImageFilter.h"
18 #include "itkImageRegionIterator.h"
19 #include "itkImageRegionConstIterator.h"
20 
21 namespace itk {
22  template<typename TImage>
23  class NShmolliSamplesUsedTo123ImageFilter : public ImageToImageFilter<TImage, TImage> {
24 
25  public:
27  typedef NShmolliSamplesUsedTo123ImageFilter Self;
28  typedef ImageToImageFilter<TImage, TImage> Superclass;
29  typedef SmartPointer<Self> Pointer;
30 
32  itkNewMacro(Self);
33 
35  itkTypeMacro(OxColorbarImageFilter, ImageToImageFilter);
36 
37  typedef typename TImage::PixelType PixelTypeIn;
38  typedef typename TImage::PixelType PixelTypeOut;
39 
40  protected:
42  NShmolliSamplesUsedTo123ImageFilter() {};
43 
45  ~NShmolliSamplesUsedTo123ImageFilter() {};
46 
48  virtual void GenerateData() ITK_OVERRIDE;
49 
50  private:
51  ITK_DISALLOW_COPY_AND_ASSIGN(NShmolliSamplesUsedTo123ImageFilter); //purposely not implemented
52 
53  };
54 } //namespace ITK
55 
56 #ifndef TOMATOLIB_COMPILED
57 #ifndef ITK_MANUAL_INSTANTIATION
58 #include "itkNShmolliSamplesUsedTo123ImageFilter.txx"
59 #endif //ITK_MANUAL_INSTANTIATION
60 #endif //TOMATOLIB_COMPILED
61 
62 #endif // USE_ITK
63 
64 #endif //TomatoLIB_ITKNShmolliSamplesUsedTo123ImageFilter_H
Definition: itkImageFileReaderKW.h:31