NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkBreastMaskSegmForBreastDensity.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 itkBreastMaskSegmForBreastDensity_h
16 #define itkBreastMaskSegmForBreastDensity_h
17 
19 
20 namespace itk
21 {
22 
28 template < const unsigned int ImageDimension = 3, class InputPixelType = float >
30  : public BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType >
31 {
32 public:
33 
36  typedef SmartPointer<Self> Pointer;
37  typedef SmartPointer<const Self> ConstPointer;
38 
39  itkNewMacro(Self);
41 
42  typedef typename Superclass::InternalImageType InternalImageType;
43  typedef typename Superclass::AxialImageType AxialImageType;
44  typedef typename Superclass::PointSetType PointSetType;
45  typedef typename Superclass::PointDataIterator PointDataIterator;
46  typedef typename Superclass::RealType RealType;
49  typedef typename Superclass::LineIteratorType LineIteratorType;
50  typedef typename Superclass::SliceIteratorType SliceIteratorType;
51 
52  typedef typename Superclass::ConnectedSurfaceVoxelFilterType ConnectedSurfaceVoxelFilterType;
53  typedef typename Superclass::ThresholdingFilterType ThresholdingFilterType;
54 
56  virtual void Execute( void );
57 
58 
59 protected:
60 
63 
66 
68  void MaskThePectoralMuscleAndLateralChestSkinSurface( bool flgIncludeChestSkinSurface,
69  RealType rYHeightOffset,
70  typename PointSetType::Pointer &pecPointSet,
71  unsigned long &iPointPec );
72 
73 private:
74 
75  BreastMaskSegmForBreastDensity(const Self&); //purposely not implemented
76  void operator=(const Self&); //purposely not implemented
77 
78 
79 };
80 
81 } // end namespace itk
82 
83 #ifndef ITK_MANUAL_INSTANTIATION
84 #include "itkBreastMaskSegmForBreastDensity.txx"
85 #endif
86 
87 #endif
88 
89 
90 
91 
Superclass::LineIteratorType LineIteratorType
Definition: itkBreastMaskSegmForBreastDensity.h:49
itk::ImageRegionConstIterator< ImageType > IteratorType
Definition: niftkGetMetricValue.cxx:26
BreastMaskSegmForBreastDensity Self
Definition: itkBreastMaskSegmForBreastDensity.h:34
BreastMaskSegmentationFromMRI< ImageDimension, InputPixelType > Superclass
Definition: itkBreastMaskSegmForBreastDensity.h:35
Base class for breast mask MRI segmentation methods.
Definition: itkBreastMaskSegmentationFromMRI.h:85
SmartPointer< const Self > ConstPointer
Definition: itkBreastMaskSegmForBreastDensity.h:37
Superclass::SliceIteratorType SliceIteratorType
Definition: itkBreastMaskSegmForBreastDensity.h:50
Definition: niftkITKAffineResampleImage.cxx:74
Superclass::IteratorType IteratorType
Definition: itkBreastMaskSegmForBreastDensity.h:47
Superclass::ThresholdingFilterType ThresholdingFilterType
Definition: itkBreastMaskSegmForBreastDensity.h:53
vnl_vector< double > VectorType
Definition: itkSuperEllipseFit.h:33
Superclass::PointSetType PointSetType
Definition: itkBreastMaskSegmForBreastDensity.h:44
SmartPointer< Self > Pointer
Definition: itkBreastMaskSegmForBreastDensity.h:36
Class to segment the breast mask from MRI for modelling purposes.
Definition: itkBreastMaskSegmForBreastDensity.h:29
Superclass::AxialImageType AxialImageType
Definition: itkBreastMaskSegmForBreastDensity.h:43
Superclass::PointDataIterator PointDataIterator
Definition: itkBreastMaskSegmForBreastDensity.h:45
Superclass::ConnectedSurfaceVoxelFilterType ConnectedSurfaceVoxelFilterType
Definition: itkBreastMaskSegmForBreastDensity.h:52
Superclass::RealType RealType
Definition: itkBreastMaskSegmForBreastDensity.h:46
Superclass::InternalImageType InternalImageType
Definition: itkBreastMaskSegmForBreastDensity.h:40
Superclass::VectorType VectorType
Definition: itkBreastMaskSegmForBreastDensity.h:48