Orfeo Toolbox  3.16
itkLabelMapToLabelImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkLabelMapToLabelImageFilter.h,v $
5  Language: C++
6  Date: $Date: 2009-07-30 22:54:24 $
7  Version: $Revision: 1.3 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkLabelMapToLabelImageFilter_h
18 #define __itkLabelMapToLabelImageFilter_h
19 
20 #include "itkLabelMapFilter.h"
21 
22 namespace itk {
23 
39 template<class TInputImage, class TOutputImage>
41  public LabelMapFilter<TInputImage, TOutputImage>
42 {
43 public:
49 
51  typedef TInputImage InputImageType;
52  typedef TOutputImage OutputImageType;
53  typedef typename InputImageType::Pointer InputImagePointer;
54  typedef typename InputImageType::ConstPointer InputImageConstPointer;
55  typedef typename InputImageType::RegionType InputImageRegionType;
56  typedef typename InputImageType::PixelType InputImagePixelType;
57  typedef typename InputImageType::LabelObjectType LabelObjectType;
58 
59  typedef typename OutputImageType::Pointer OutputImagePointer;
60  typedef typename OutputImageType::ConstPointer OutputImageConstPointer;
61  typedef typename OutputImageType::RegionType OutputImageRegionType;
62  typedef typename OutputImageType::PixelType OutputImagePixelType;
63  typedef typename OutputImageType::IndexType IndexType;
64 
66  itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension);
67  itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension);
68 
70  itkNewMacro(Self);
71 
74 
75 protected:
78 
79  virtual void BeforeThreadedGenerateData();
80 
81  virtual void ThreadedProcessLabelObject( LabelObjectType * labelObject );
82 
83 private:
84  LabelMapToLabelImageFilter(const Self&); //purposely not implemented
85  void operator=(const Self&); //purposely not implemented
86 
87 }; // end of class
88 
89 } // end namespace itk
90 
91 #ifndef ITK_MANUAL_INSTANTIATION
93 #endif
94 
95 #endif

Generated at Sat May 18 2013 23:50:23 for Orfeo Toolbox with doxygen 1.8.3.1