ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkTileImageFilter.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 __itkTileImageFilter_h
00019 #define __itkTileImageFilter_h
00020 
00021 #include "itkImageToImageFilter.h"
00022 #include "itkFixedArray.h"
00023 
00024 namespace itk
00025 {
00051 template< class TInputImage, class TOutputImage >
00052 class ITK_EXPORT TileImageFilter:
00053   public ImageToImageFilter< TInputImage, TOutputImage >
00054 {
00055 public:
00057   typedef TileImageFilter                                 Self;
00058   typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass;
00059   typedef SmartPointer< Self >                            Pointer;
00060   typedef SmartPointer< const Self >                      ConstPointer;
00061 
00063   itkNewMacro(Self);
00064 
00066   itkTypeMacro(TileImageFilter, ImageToImageFilter);
00067 
00069   typedef typename TInputImage::PixelType  InputPixelType;
00070   typedef typename TOutputImage::PixelType OutputPixelType;
00071 
00073   typedef typename TInputImage::Pointer  InputImagePointer;
00074   typedef typename TOutputImage::Pointer OutputImagePointer;
00075 
00076   typedef typename TInputImage::SizeType    InputSizeType;
00077   typedef typename TInputImage::IndexType   InputIndexType;
00078   typedef typename TInputImage::RegionType  InputImageRegionType;
00079   typedef typename TOutputImage::SizeType   OutputSizeType;
00080   typedef typename TOutputImage::IndexType  OutputIndexType;
00081   typedef typename TOutputImage::RegionType OutputImageRegionType;
00082 
00084   itkStaticConstMacro(InputImageDimension, unsigned int,
00085                       TInputImage::ImageDimension);
00086   itkStaticConstMacro(OutputImageDimension, unsigned int,
00087                       TOutputImage::ImageDimension);
00088 
00091 
00098 
00106 
00110 
00115 
00118 
00121 
00125 
00129 
00137 
00155