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: 2003/09/10 14:29:48 $
00007   Version:   $Revision: 1.3 $
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 
00023 namespace itk{ 
00024 namespace Statistics{
00025   
00044 template< class TSample >
00045 class SampleSelectiveMeanShiftBlurringFilter :
00046     public SampleMeanShiftBlurringFilter< TSample >
00047 {
00048 public:
00050   typedef SampleSelectiveMeanShiftBlurringFilter Self;
00051   typedef SampleMeanShiftBlurringFilter< TSample > Superclass ;
00052   typedef SmartPointer<Self> Pointer;
00053 
00055   itkTypeMacro(SampleSelectiveMeanShiftBlurringFilter, 
00056                SampleMeanShiftBlurringFilter);
00057   itkNewMacro(Self) ;
00058   
00059   itkStaticConstMacro(MeasurementVectorSize, unsigned int,
00060                       TSample::MeasurementVectorSize) ;
00061 
00062   typedef typename Superclass::MeasurementVectorType MeasurementVectorType ;
00063   typedef typename Superclass::OutputType OutputType ;
00064   typedef typename Superclass::MeanShiftModeSeekerType 
00065   MeanShiftModeSeekerType ;
00066   
00067   typedef Vector< bool, itkGetStaticConstMacro(MeasurementVectorSize) >
00068   ComponentSelectionsType ;
00069 
00072   void SetComponentSelections(ComponentSelectionsType selections) ;
00073   void GetComponentSelections()
00074   { return m_ComponentSelections ; }
00075 
00076 protected:
00077   SampleSelectiveMeanShiftBlurringFilter() ;
00078   virtual ~SampleSelectiveMeanShiftBlurringFilter() ;
00079   void PrintSelf(std::ostream& os, Indent indent) const;
00080 
00082   void GenerateData() ;
00083 
00084 private:
00085   ComponentSelectionsType m_ComponentSelections ;
00086 } ; // end of class
00087     
00088 } // end of namespace Statistics 
00089 } // end of namespace itk 
00090 
00091 #ifndef ITK_MANUAL_INSTANTIATION
00092 #include "itkSampleSelectiveMeanShiftBlurringFilter.txx"
00093 #endif
00094 
00095 #endif
00096 

Generated at Tue Sep 16 11:32:08 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000