forked from InsightSoftwareConsortium/ITKWikiExamples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImageFilterY.h
56 lines (38 loc) · 1.28 KB
/
ImageFilterY.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef __itkImageFilter_h
#define __itkImageFilter_h
#include "itkImageToImageFilter.h"
#include "itkRecursiveGaussianImageFilter.h"
namespace itk
{
template< class TImage>
class ImageFilter:public ImageToImageFilter< TImage, TImage >
{
public:
/** Standard class type alias. */
using Self = ImageFilter;
using Superclass = ImageToImageFilter< TImage, TImage >;
using Pointer = SmartPointer< Self >;
/** Method for creation through the object factory. */
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(ImageFilter, ImageToImageFilter);
/** Image dimension. */
static constexpr unsigned int ImageDimension = TImage::ImageDimension;
/** Smoothing filter type */
using InternalGaussianFilterType = RecursiveGaussianImageFilter< TImage, TImage > ;
/** Pointer to a gaussian filter. */
using InternalGaussianFilterPointer = typename InternalGaussianFilterType::Pointer;
protected:
ImageFilter();
~ImageFilter(){}
/** Does the real work. */
virtual void GenerateData();
private:
ImageFilter(const Self &); //purposely not implemented
void operator=(const Self &); //purposely not implemented
};
} //namespace ITK
#ifndef ITK_MANUAL_INSTANTIATION
#include "ImageFilterY.hxx"
#endif
#endif // __itkImageFilter_h