NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkBaseCTESegmentationFilter.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef itkBaseCTESegmentationFilter_h
16 #define itkBaseCTESegmentationFilter_h
17 
18 #include <itkImage.h>
19 #include "itkBaseCTEFilter.h"
20 
21 
22 namespace itk
23 {
40 template <class TImageType>
41 class ITK_EXPORT BaseCTESegmentationFilter :
42  public BaseCTEFilter< TImageType >
43 {
44 public:
48  typedef SmartPointer<Self> Pointer;
49  typedef SmartPointer<const Self> ConstPointer;
50 
53 
55  typedef typename Superclass::InputImageType InputImageType;
58  typedef typename Superclass::InputSizeType InputSizeType;
59  typedef typename Superclass::InputImagePointer InputImagePointer;
60  typedef typename Superclass::InputImageConstPointer InputImageConstPointer;
61  typedef typename Superclass::OutputPixelType OutputPixelType;
62  typedef typename Superclass::OutputImageType OutputImageType;
63  typedef typename Superclass::OutputImagePointer OutputImagePointer;
64  typedef typename Superclass::OutputImageConstPointer OutputImageConstPointer;
65  typedef typename Superclass::OutputSizeType OutputSizeType;
66 
68  itkSetMacro(TrustPVMaps, bool);
69  itkGetMacro(TrustPVMaps, bool);
70 
71 protected:
72 
75 
77  virtual void PrintSelf(std::ostream&, Indent) const;
78 
85  virtual void CheckOrAssignLabels();
86 
92  virtual void CheckPVMap(std::string name, const InputImageType *image);
93 
94 private:
95 
96  BaseCTESegmentationFilter(const Self&); // purposely not implemented
97  void operator=(const Self&); // purposely not implemented
98 
99  bool m_TrustPVMaps;
100 
101 };
102 
103 } // end namespace itk
104 
105 #ifndef ITK_MANUAL_INSTANTIATION
106 #include "itkBaseCTESegmentationFilter.txx"
107 #endif
108 
109 #endif
Superclass::InputSizeType InputSizeType
Definition: itkBaseCTESegmentationFilter.h:58
InputImageType::PixelType InputPixelType
Definition: itkBaseCTEFilter.h:54
BaseCTESegmentationFilter Self
Definition: itkBaseCTESegmentationFilter.h:46
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: glew.h:4052
virtual ~BaseCTESegmentationFilter()
Definition: itkBaseCTESegmentationFilter.h:74
Definition: niftkITKAffineResampleImage.cxx:74
Superclass::InputImageType InputImageType
Definition: itkBaseCTESegmentationFilter.h:52
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkBaseCTESegmentationFilter.h:60
Superclass::OutputImageType OutputImageType
Definition: itkBaseCTESegmentationFilter.h:62
SmartPointer< Self > Pointer
Definition: itkBaseCTESegmentationFilter.h:48
Base class for methods many CTE filters will need.
Definition: itkBaseCTEFilter.h:36
Superclass::InputPixelType InputPixelType
Definition: itkBaseCTESegmentationFilter.h:56
Base class for classes that manipulate the segmented volume before it gets to the Cortical Thickness ...
Definition: itkBaseCTESegmentationFilter.h:41
Superclass::OutputSizeType OutputSizeType
Definition: itkBaseCTESegmentationFilter.h:65
Superclass::OutputImageConstPointer OutputImageConstPointer
Definition: itkBaseCTESegmentationFilter.h:64
Superclass::OutputImagePointer OutputImagePointer
Definition: itkBaseCTESegmentationFilter.h:63
SmartPointer< const Self > ConstPointer
Definition: itkBaseCTESegmentationFilter.h:49
InputImageType::IndexType InputIndexType
Definition: itkBaseCTEFilter.h:55
Superclass::InputImagePointer InputImagePointer
Definition: itkBaseCTESegmentationFilter.h:59
Superclass::InputIndexType InputIndexType
Definition: itkBaseCTESegmentationFilter.h:57
GLuint const GLchar * name
Definition: glew.h:1798
GLsizei const GLcharARB ** string
Definition: glew.h:5194
Superclass::OutputPixelType OutputPixelType
Definition: itkBaseCTESegmentationFilter.h:61
BaseCTEFilter< TImageType > Superclass
Definition: itkBaseCTESegmentationFilter.h:47