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

itkReconstructionByDilationImageFilterRobinson.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkReconstructionByDilationImageFilterRobinson.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/08/23 15:08:59 $
00007   Version:   $Revision: 1.1 $
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 __itkReconstructionByDilationImageFilterRobinson_h
00018 #define __itkReconstructionByDilationImageFilterRobinson_h
00019 
00020 #include "itkImageToImageFilter.h"
00021 
00022 namespace itk {
00023 
00053 template<class TInputImage, class TOutputImage>
00054 class ITK_EXPORT ReconstructionByDilationImageFilterRobinson : 
00055     public ImageToImageFilter<TInputImage, TOutputImage>
00056 {
00057 public:
00059   typedef ReconstructionByDilationImageFilterRobinson Self;
00060   typedef ImageToImageFilter<TInputImage, TOutputImage>
00061   Superclass;
00062   typedef SmartPointer<Self>        Pointer;
00063   typedef SmartPointer<const Self>  ConstPointer;
00064 
00066   typedef TInputImage MarkerImageType;
00067   typedef TInputImage MaskImageType;
00068   typedef TOutputImage OutputImageType;
00069   typedef typename MarkerImageType::Pointer        MarkerImagePointer;
00070   typedef typename MarkerImageType::ConstPointer   MarkerImageConstPointer;
00071   typedef typename MarkerImageType::RegionType     MarkerImageRegionType;
00072   typedef typename MarkerImageType::PixelType      MarkerImagePixelType;
00073   typedef typename MaskImageType::Pointer          MaskImagePointer;
00074   typedef typename MaskImageType::ConstPointer     MaskImageConstPointer;
00075   typedef typename MaskImageType::RegionType       MaskImageRegionType;
00076   typedef typename MaskImageType::PixelType        MaskImagePixelType;
00077   typedef typename OutputImageType::Pointer        OutputImagePointer;
00078   typedef typename OutputImageType::ConstPointer   OutputImageConstPointer;
00079   typedef typename OutputImageType::RegionType     OutputImageRegionType;
00080   typedef typename OutputImageType::PixelType      OutputImagePixelType;
00081 
00083   itkStaticConstMacro(MarkerImageDimension, unsigned int,
00084                       TInputImage::ImageDimension);
00085   itkStaticConstMacro(MaskImageDimension, unsigned int,
00086                       TInputImage::ImageDimension);
00087   itkStaticConstMacro(OutputImageDimension, unsigned int,
00088                       TOutputImage::ImageDimension);
00090 
00092   itkNewMacro(Self);  
00093 
00095   itkTypeMacro(ReconstructionByDilationImageFilterRobinson, 
00096                ImageToImageFilter);
00097 
00101   void SetMarkerImage(const MarkerImageType *);
00102   const MarkerImageType* GetMarkerImage();
00104 
00108   void SetMaskImage(const MaskImageType *);
00109   const MaskImageType* GetMaskImage();
00111 
00118   itkSetMacro(FullyConnected, bool);
00119   itkGetConstReferenceMacro(FullyConnected, bool);
00120   itkBooleanMacro(FullyConnected);
00122 
00123 protected:
00124   ReconstructionByDilationImageFilterRobinson();
00125   ~ReconstructionByDilationImageFilterRobinson() {};
00126   void PrintSelf(std::ostream& os, Indent indent) const;
00127 
00134   void GenerateInputRequestedRegion();
00135 
00140   void EnlargeOutputRequestedRegion(DataObject *itkNotUsed(output));
00141 
00148   void GenerateData();
00149 
00150 private:
00151   ReconstructionByDilationImageFilterRobinson(const Self&); //purposely not implemented
00152   void operator=(const Self&); //purposely not implemented
00153 
00154   bool m_FullyConnected;
00155 
00156 } ; // end of class
00157 
00158 } // end namespace itk
00159   
00160 #ifndef ITK_MANUAL_INSTANTIATION
00161 #include "itkReconstructionByDilationImageFilterRobinson.txx"
00162 #endif
00163 
00164 #endif
00165 
00166 
00167 

Generated at Sat Sep 2 21:01:56 2006 for ITK by doxygen 1.4.7 written by Dimitri van Heesch, © 1997-2000