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

itkBSplineUpsampleImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBSplineUpsampleImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-01-14 18:39:05 $
00007   Version:   $Revision: 1.5 $
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   Portions of this code are covered under the VTK copyright.
00013   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even 
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 =========================================================================*/
00020 
00021 #ifndef __itkBSplineUpsampleImageFilter_h
00022 #define __itkBSplineUpsampleImageFilter_h
00023 
00024 // include .h for each ResamplerType
00025 #include "itkBSplineResampleImageFilterBase.h"
00026 #include "itkBSplineL2ResampleImageFilterBase.h"
00027 #include "itkBSplineCenteredResampleImageFilterBase.h"
00028 #include "itkBSplineCenteredL2ResampleImageFilterBase.h"
00029 
00030 namespace itk
00031 {
00076 template <class TInputImage, class TOutputImage, class ResamplerType = BSplineResampleImageFilterBase<TInputImage, TOutputImage> >
00077 class ITK_EXPORT BSplineUpsampleImageFilter : 
00078     public ResamplerType 
00079 {
00080 public:
00082   typedef BSplineUpsampleImageFilter       Self;
00083   typedef ResamplerType                    Superclass;
00084   typedef SmartPointer<Self>               Pointer;
00085   typedef SmartPointer<const Self>         ConstPointer;
00086 
00088   itkTypeMacro(BSplineUpsampleImageFilter, ReamplerType);
00089 
00090  
00092   itkNewMacro( Self );
00093 
00095   typedef typename Superclass::InputImageType InputImageType;
00096 
00098   typedef typename Superclass::InputImagePointer InputImagePointer;
00099 
00101   typedef typename Superclass::OutputImageIterator OutputImageIterator;
00102 
00104   typedef typename Superclass::OutputImagePointer OutputImagePointer;
00105 
00108   void GenerateOutputInformation();
00109 
00111   void GenerateInputRequestedRegion();
00112 
00113 #ifdef ITK_USE_CONCEPT_CHECKING
00114 
00115   itkConceptMacro(DoubleConvertibleToOutputCheck,
00116     (Concept::Convertible<double, typename TOutputImage::PixelType>));
00117 
00119 #endif
00120 
00121 protected:
00122 
00123   void GenerateData();
00124   void EnlargeOutputRequestedRegion( DataObject *output );
00125 
00126   BSplineUpsampleImageFilter();
00127   virtual ~BSplineUpsampleImageFilter() {};
00128   void PrintSelf(std::ostream& os, Indent indent) const;
00129     
00130 private:
00131   BSplineUpsampleImageFilter( const Self& ); //purposely not implemented
00132   void operator=( const Self& ); //purposely not implemented
00133   
00134 };
00135 
00136 } // namespace itk
00137 
00138 #ifndef ITK_MANUAL_INSTANTIATION
00139 #include "itkBSplineUpsampleImageFilter.txx"
00140 #endif
00141 
00142 #endif
00143 

Generated at Fri Apr 16 18:01:45 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000