ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkGrayscaleImageSegmentationVolumeEstimator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkGrayscaleImageSegmentationVolumeEstimator.h
5  Language: C++
6  Date: $Date$
7  Version: $Revision$
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef itkGrayscaleImageSegmentationVolumeEstimator_h
18 #define itkGrayscaleImageSegmentationVolumeEstimator_h
19 
21 
22 namespace itk
23 {
24 
42 template <unsigned int NDimension>
44  public SegmentationVolumeEstimator<NDimension>
45 {
46 public:
52  typedef typename Superclass::RealObjectType RealObjectType;
53 
55  itkNewMacro( Self );
56 
59 
61  itkStaticConstMacro(Dimension, unsigned int, NDimension);
62 
65  typedef typename Superclass::SpatialObjectType SpatialObjectType;
66  typedef typename Superclass::SpatialObjectPointer SpatialObjectPointer;
67  typedef typename Superclass::SpatialObjectConstPointer SpatialObjectConstPointer;
68 
70  typedef float InputPixelType;
73 
74 protected:
77 
78  void PrintSelf(std::ostream& os, Indent indent) const;
79 
82  void GenerateData();
83 
84 private:
85  GrayscaleImageSegmentationVolumeEstimator(const Self&); //purposely not implemented
86  void operator=(const Self&); //purposely not implemented
87 
88 };
89 
90 } // end namespace itk
91 
92 #ifndef ITK_MANUAL_INSTANTIATION
93 # include "itkGrayscaleImageSegmentationVolumeEstimator.hxx"
94 #endif
95 
96 #endif
Class for estimating the volume of a segmentation stored in a SpatialObject.
Light weight base class for most itk classes.
Implementation of an image as spatial object.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Class for estimating the volume of a segmentation stored in a SpatialObject that carries a gray-scale...
Templated n-dimensional image class.
Definition: itkImage.h:75
ImageSpatialObject< NDimension, InputPixelType > InputImageSpatialObjectType