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

itkValuedRegionalMinimaImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkValuedRegionalMinimaImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/01/25 14:52:58 $
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 __itkValuedRegionalMinimaImageFilter_h
00019 #define __itkValuedRegionalMinimaImageFilter_h
00020 
00021 #include "itkValuedRegionalExtremaImageFilter.h"
00022 #include "itkNumericTraits.h"
00023 #include "itkConceptChecking.h"
00024 
00025 namespace itk {
00044 template <class TInputImage, class TOutputImage>
00045 class ITK_EXPORT ValuedRegionalMinimaImageFilter :
00046     public
00047     ValuedRegionalExtremaImageFilter<TInputImage, TOutputImage,
00048              std::less<typename TInputImage::PixelType>,
00049              std::less<typename TOutputImage::PixelType>
00050     >
00051 {
00052 public:
00053   typedef ValuedRegionalMinimaImageFilter Self;
00054 
00055   typedef ValuedRegionalExtremaImageFilter<TInputImage, TOutputImage,
00056              std::less<typename TInputImage::PixelType>,
00057              std::less<typename TOutputImage::PixelType>  > Superclass;
00058 
00059   typedef SmartPointer<Self>                                Pointer;
00060   typedef SmartPointer<const Self>                          ConstPointer;
00061 
00062   typedef TInputImage                                       InputImageType;
00063   typedef typename InputImageType::PixelType                InputImagePixelType;
00064 
00066   itkNewMacro(Self);
00067 
00068 #ifdef ITK_USE_CONCEPT_CHECKING
00069 
00070   itkConceptMacro(InputPixelTypeComparable,
00071     (Concept::LessThanComparable<InputImagePixelType>));
00072   itkConceptMacro(InputHasPixelTraitsCheck,
00073     (Concept::HasPixelTraits<InputImagePixelType>));
00074   itkConceptMacro(InputHasNumericTraitsCheck,
00075     (Concept::HasNumericTraits<InputImagePixelType>));
00076 
00078 #endif
00079 
00080 protected:
00081   ValuedRegionalMinimaImageFilter() 
00082     {
00083     SetMarkerValue(NumericTraits<ITK_TYPENAME TOutputImage::PixelType>::max());
00084     }
00085   virtual ~ValuedRegionalMinimaImageFilter() {}
00086 
00087 private:
00088   ValuedRegionalMinimaImageFilter(const Self&); //purposely not implemented
00089   void operator=(const Self&); //purposely not implemented
00090 
00091 }; // end ValuedRegionalMinimaImageFilter
00092 
00093 } //end namespace itk
00094 #endif
00095 

Generated at Sun Sep 23 14:30:27 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000