RTK  1.4.0
Reconstruction Toolkit
rtkElektaSynergyLookupTableImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright RTK Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef rtkElektaSynergyLookupTableImageFilter_h
20 #define rtkElektaSynergyLookupTableImageFilter_h
21 
23 #include <itkNumericTraits.h>
24 
25 namespace rtk
26 {
27 
41 template <class TOutputImage>
43  public LookupTableImageFilter< itk::Image<unsigned short, TOutputImage::ImageDimension>,
44  TOutputImage >
45 {
46 
47 public:
50  typedef LookupTableImageFilter<itk::Image<unsigned short,
51  TOutputImage::ImageDimension>,
52  TOutputImage> Superclass;
55 
56  typedef unsigned short InputImagePixelType;
57  typedef typename TOutputImage::PixelType OutputImagePixelType;
59 
61  itkNewMacro(Self);
62 
65 
66 protected:
69 
70 private:
71  ElektaSynergyLookupTableImageFilter(const Self&); //purposely not implemented
72  void operator=(const Self&); //purposely not implemented
73 
74 };
75 
76 } // end namespace rtk
77 
78 #ifndef ITK_MANUAL_INSTANTIATION
79 #include "rtkElektaSynergyLookupTableImageFilter.hxx"
80 #endif
81 
82 #endif
LookupTableImageFilter< itk::Image< unsigned short, TOutputImage::ImageDimension >, TOutputImage > Superclass
Function to do the lookup operation.
Superclass::FunctorType::LookupTableType LookupTableType