Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkStatisticsRelabelLabelMapFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkStatisticsRelabelLabelMapFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-08-07 09:55:14 $
00007   Version:   $Revision: 1.2 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkStatisticsRelabelLabelMapFilter_h
00018 #define __itkStatisticsRelabelLabelMapFilter_h
00019 
00020 #include "itkShapeRelabelLabelMapFilter.h"
00021 #include "itkStatisticsLabelObject.h"
00022 #include "itkStatisticsLabelObjectAccessors.h"
00023 
00024 namespace itk {
00041 template<class TImage >
00042 class ITK_EXPORT StatisticsRelabelLabelMapFilter : 
00043     public ShapeRelabelLabelMapFilter<TImage>
00044 {
00045 public:
00047   typedef StatisticsRelabelLabelMapFilter    Self;
00048   typedef ShapeRelabelLabelMapFilter<TImage> Superclass;
00049   typedef SmartPointer<Self>                 Pointer;
00050   typedef SmartPointer<const Self>           ConstPointer;
00051 
00053   typedef TImage                              ImageType;
00054   typedef typename ImageType::Pointer         ImagePointer;
00055   typedef typename ImageType::ConstPointer    ImageConstPointer;
00056   typedef typename ImageType::PixelType       PixelType;
00057   typedef typename ImageType::IndexType       IndexType;
00058   typedef typename ImageType::LabelObjectType LabelObjectType;
00059 
00060   typedef typename LabelObjectType::AttributeType AttributeType;
00061   
00063   itkStaticConstMacro(ImageDimension, unsigned int,
00064                       TImage::ImageDimension);
00065 
00067   itkNewMacro(Self);
00068 
00070   itkTypeMacro(StatisticsRelabelLabelMapFilter, 
00071                ShapeRelabelLabelMapFilter);
00072 
00073 #ifdef ITK_USE_CONCEPT_CHECKING
00074 
00075 /*  itkConceptMacro(InputEqualityComparableCheck,
00076     (Concept::EqualityComparable<InputImagePixelType>));
00077   itkConceptMacro(IntConvertibleToInputCheck,
00078     (Concept::Convertible<int, InputImagePixelType>));
00079   itkConceptMacro(InputOStreamWritableCheck,
00080     (Concept::OStreamWritable<InputImagePixelType>));*/
00081 
00083 #endif
00084 
00085 
00086 protected:
00087   StatisticsRelabelLabelMapFilter();
00088   ~StatisticsRelabelLabelMapFilter() {};
00089 
00090   void GenerateData();
00091   
00092 private:
00093   StatisticsRelabelLabelMapFilter(const Self&); //purposely not implemented
00094   void operator=(const Self&); //purposely not implemented
00095 
00096 }; // end of class
00097 
00098 } // end namespace itk
00099   
00100 #ifndef ITK_MANUAL_INSTANTIATION
00101 #include "itkStatisticsRelabelLabelMapFilter.txx"
00102 #endif
00103 
00104 #endif
00105 

Generated at Fri Apr 16 19:46:30 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000