ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkRealToHalfHermitianForwardFFTImageFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkRealToHalfHermitianForwardFFTImageFilter_h
00019 #define __itkRealToHalfHermitianForwardFFTImageFilter_h
00020 
00021 #include "itkImageToImageFilter.h"
00022 
00023 namespace itk
00024 {
00052 template< class TInputImage, class TOutputImage=Image< std::complex<typename TInputImage::PixelType>, TInputImage::ImageDimension> >
00053 class ITK_EXPORT RealToHalfHermitianForwardFFTImageFilter:
00054   public ImageToImageFilter< TInputImage, TOutputImage >
00055 {
00056 public:
00058   typedef TInputImage                          InputImageType;
00059   typedef typename InputImageType::PixelType   InputPixelType;
00060   typedef typename InputImageType::IndexType   InputIndexType;
00061   typedef typename InputImageType::SizeType    InputSizeType;
00062   typedef TOutputImage                         OutputImageType;
00063   typedef typename OutputImageType::PixelType  OutputPixelType;
00064   typedef typename OutputImageType::IndexType  OutputIndexType;
00065   typedef typename OutputIndexType::SizeType   OutputSizeType;
00066 
00067   typedef RealToHalfHermitianForwardFFTImageFilter              Self;
00068   typedef ImageToImageFilter< InputImageType, OutputImageType > Superclass;
00069   typedef SmartPointer< Self >                                  Pointer;
00070   typedef SmartPointer< const Self >                            ConstPointer;
00071 
00076   static Pointer New(void);
00077 
00078 protected:
00079   RealToHalfHermitianForwardFFTImageFilter() {}
00080   virtual ~RealToHalfHermitianForwardFFTImageFilter() {}
00081 
00084   virtual void GenerateOutputInformation();
00085 
00087   virtual void GenerateInputRequestedRegion();
00088 
00090   virtual void EnlargeOutputRequestedRegion(DataObject *output);
00091 
00092 private:
00093   RealToHalfHermitianForwardFFTImageFilter(const Self &); // purposely not implemented
00094   void operator=(const Self &);        // purposely not implemented
00095 };
00096 } // end namespace itk
00097 
00098 #ifndef ITK_MANUAL_INSTANTIATION
00099 #ifndef __itkVnlRealToHalfHermitianForwardFFTImageFilter_h
00100 #ifndef __itkVnlRealToHalfHermitianForwardFFTImageFilter_hxx
00101 #ifndef __itkFFTWRealToHalfHermitianForwardFFTImageFilter_h
00102 #ifndef __itkFFTWRealToHalfHermitianForwardFFTImageFilter_hxx
00103 #include "itkRealToHalfHermitianForwardFFTImageFilter.hxx"
00104 #endif
00105 #endif
00106 #endif
00107 #endif
00108 #endif
00109 
00110 #endif
00111