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

itkSampleSelectiveMeanShiftBlurringFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkSampleSelectiveMeanShiftBlurringFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/07/26 15:55:05 $
00007   Version:   $Revision: 1.6 $
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 
00018 #ifndef __itkSampleSelectiveMeanShiftBlurringFilter_h
00019 #define __itkSampleSelectiveMeanShiftBlurringFilter_h
00020 
00021 #include "itkSampleMeanShiftBlurringFilter.h"
00022 #include "itkArray.h"
00023 #include <vector>
00024 
00025 namespace itk{ 
00026 namespace Statistics{
00027   
00054 template< class TSample >
00055 class SampleSelectiveMeanShiftBlurringFilter :
00056     public SampleMeanShiftBlurringFilter< TSample >
00057 {
00058 public:
00060   typedef SampleSelectiveMeanShiftBlurringFilter Self;
00061   typedef SampleMeanShiftBlurringFilter< TSample > Superclass ;
00062   typedef SmartPointer<Self> Pointer;
00063   typedef SmartPointer<const Self> ConstPointer;
00064 
00066   itkTypeMacro(SampleSelectiveMeanShiftBlurringFilter, 
00067                SampleMeanShiftBlurringFilter);
00068   itkNewMacro(Self) ;
00069   
00070   typedef typename Superclass::MeasurementVectorType MeasurementVectorType ;
00071   typedef typename Superclass::OutputType OutputType ;
00072   typedef typename Superclass::MeanShiftModeSeekerType 
00073   MeanShiftModeSeekerType ;
00074   
00075 
00077   typedef std::vector< bool > ComponentSelectionsType; 
00078 
00081   void SetComponentSelections(ComponentSelectionsType selections) ;
00082   void GetComponentSelections()
00083   { return m_ComponentSelections ; }
00084 
00085 protected:
00086   SampleSelectiveMeanShiftBlurringFilter() ;
00087   virtual ~SampleSelectiveMeanShiftBlurringFilter() ;
00088   void PrintSelf(std::ostream& os, Indent indent) const;
00089 
00091   void GenerateData() ;
00092 
00093 private:
00094   ComponentSelectionsType m_ComponentSelections ;
00095 } ; // end of class
00096     
00097 } // end of namespace Statistics 
00098 } // end of namespace itk 
00099 
00100 #ifndef ITK_MANUAL_INSTANTIATION
00101 #include "itkSampleSelectiveMeanShiftBlurringFilter.txx"
00102 #endif
00103 
00104 #endif
00105 

Generated at Wed May 24 23:59:30 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000