NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkAddOneLayerOfGreyMatterFilter.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 itkAddOneLayerOfGreyMatterFilter_h
16 #define itkAddOneLayerOfGreyMatterFilter_h
17 
18 #include <itkImage.h>
20 
21 
22 namespace itk
23 {
33 template <class TImageType>
34 class ITK_EXPORT AddOneLayerOfGreyMatterFilter :
35  public BaseCTESegmentationFilter< TImageType >
36 {
37 public:
41  typedef SmartPointer<Self> Pointer;
42  typedef SmartPointer<const Self> ConstPointer;
43 
45  itkNewMacro(Self);
46 
49 
60 
62  itkGetMacro(NumberOfGreyInBoundaryLayer, unsigned long int);
63 
65  itkGetMacro(NumberOfGreyLeftOutsideBoundaryLayer, unsigned long int);
66 
67 protected:
68 
71 
73  virtual void PrintSelf(std::ostream&, Indent) const;
74 
75  /* The main filter method. Note, single threaded. */
76  virtual void GenerateData();
77 
78 private:
79 
80  AddOneLayerOfGreyMatterFilter(const Self&); // purposely not implemented
81  void operator=(const Self&); // purposely not implemented
82 
83  unsigned long int m_NumberOfGreyInBoundaryLayer;
84 
85  unsigned long int m_NumberOfGreyLeftOutsideBoundaryLayer;
86 
87 };
88 
89 } // end namespace itk
90 
91 #ifndef ITK_MANUAL_INSTANTIATION
92 #include "itkAddOneLayerOfGreyMatterFilter.txx"
93 #endif
94 
95 #endif
Assumes input is GM, WM, CSF labelled image, and adds 1 layer of GM to the WM, which means that the o...
Definition: itkAddOneLayerOfGreyMatterFilter.h:34
SmartPointer< const Self > ConstPointer
Definition: itkAddOneLayerOfGreyMatterFilter.h:42
Superclass::InputImageType InputImageType
Definition: itkAddOneLayerOfGreyMatterFilter.h:48
SmartPointer< Self > Pointer
Definition: itkAddOneLayerOfGreyMatterFilter.h:41
virtual ~AddOneLayerOfGreyMatterFilter()
Definition: itkAddOneLayerOfGreyMatterFilter.h:70
Definition: niftkITKAffineResampleImage.cxx:74
Superclass::InputImageType InputImageType
Definition: itkBaseCTESegmentationFilter.h:52
Superclass::InputPixelType InputPixelType
Definition: itkAddOneLayerOfGreyMatterFilter.h:52
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkAddOneLayerOfGreyMatterFilter.h:55
Superclass::InputImageConstPointer InputImageConstPointer
Definition: itkBaseCTESegmentationFilter.h:60
Superclass::OutputImageType OutputImageType
Definition: itkBaseCTESegmentationFilter.h:62
Superclass::InputIndexType InputIndexType
Definition: itkAddOneLayerOfGreyMatterFilter.h:53
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::OutputImageConstPointer OutputImageConstPointer
Definition: itkBaseCTESegmentationFilter.h:64
Superclass::OutputImageConstPointer OutputImageConstPointer
Definition: itkAddOneLayerOfGreyMatterFilter.h:59
Superclass::OutputImagePointer OutputImagePointer
Definition: itkBaseCTESegmentationFilter.h:63
AddOneLayerOfGreyMatterFilter Self
Definition: itkAddOneLayerOfGreyMatterFilter.h:39
Superclass::InputImagePointer InputImagePointer
Definition: itkBaseCTESegmentationFilter.h:59
Superclass::InputImagePointer InputImagePointer
Definition: itkAddOneLayerOfGreyMatterFilter.h:54
Superclass::InputIndexType InputIndexType
Definition: itkBaseCTESegmentationFilter.h:57
Superclass::OutputImageType OutputImageType
Definition: itkAddOneLayerOfGreyMatterFilter.h:57
Superclass::OutputImagePointer OutputImagePointer
Definition: itkAddOneLayerOfGreyMatterFilter.h:58
Superclass::OutputPixelType OutputPixelType
Definition: itkAddOneLayerOfGreyMatterFilter.h:56
BaseCTESegmentationFilter< TImageType > Superclass
Definition: itkAddOneLayerOfGreyMatterFilter.h:40
Superclass::OutputPixelType OutputPixelType
Definition: itkBaseCTESegmentationFilter.h:61