00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkTileImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008-10-18 16:11:15 $ 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 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 __itkTileImageFilter_h 00018 #define __itkTileImageFilter_h 00019 00020 #include "itkImageToImageFilter.h" 00021 #include "itkFixedArray.h" 00022 00023 namespace itk { 00024 00043 template<class TInputImage, class TOutputImage> 00044 class ITK_EXPORT TileImageFilter : 00045 public ImageToImageFilter<TInputImage, TOutputImage> 00046 { 00047 public: 00049 typedef TileImageFilter Self; 00050 typedef ImageToImageFilter<TInputImage,TOutputImage> Superclass; 00051 typedef SmartPointer<Self> Pointer; 00052 typedef SmartPointer<const Self> ConstPointer; 00053 00055 itkNewMacro(Self); 00056 00058 itkTypeMacro(TileImageFilter, ImageToImageFilter); 00059 00061 typedef typename TInputImage::PixelType InputPixelType; 00062 typedef typename TOutputImage::PixelType OutputPixelType; 00063 00065 typedef typename TInputImage::Pointer InputImagePointer; 00066 typedef typename TOutputImage::Pointer OutputImagePointer; 00067 00068 typedef typename TInputImage::SizeType InputSizeType; 00069 typedef typename TInputImage::IndexType InputIndexType; 00070 typedef typename TInputImage::RegionType InputImageRegionType; 00071 typedef typename TOutputImage::SizeType OutputSizeType; 00072 typedef typename TOutputImage::IndexType OutputIndexType; 00073 typedef typename TOutputImage::RegionType OutputImageRegionType; 00074 00075 00077 itkStaticConstMacro(InputImageDimension, unsigned int, 00078 TInputImage::ImageDimension ); 00079 itkStaticConstMacro(OutputImageDimension, unsigned int, 00080 TOutputImage::ImageDimension ); 00081 00084 00089 00097 00101 00106 00109 00112 00116 00120 00128