Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itkTensorToL2NormImageFilter.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef _itk_TensorToL2NormImageFilter_h_
17 #define _itk_TensorToL2NormImageFilter_h_
18 
19 #include "itkImageToImageFilter.h"
20 
21 namespace itk
22 {
23 
24  template <class TInputImage, class TOutputImage>
25  class ITK_EXPORT TensorToL2NormImageFilter
26  : public ImageToImageFilter<TInputImage, TOutputImage>
27  {
28 
29  public:
30 
32  typedef ImageToImageFilter<TInputImage, TOutputImage> Superclass;
33 
36 
37  itkTypeMacro (TensorToL2NormImageFilter, ImageToImageFilter);
38 
39  itkStaticConstMacro (ImageDimension, unsigned int,
40  TOutputImage::ImageDimension);
41 
42  itkFactorylessNewMacro(Self)
43  itkCloneMacro(Self)
44 
45  typedef TInputImage InputImageType;
46  typedef typename InputImageType::PixelType InputPixelType;
47  typedef TOutputImage OutputImageType;
48  typedef typename OutputImageType::PixelType OutputPixelType;
49  typedef typename OutputImageType::RegionType OutputImageRegionType;
50 
51  protected:
54 
55  void PrintSelf (std::ostream& os, Indent indent) const
56  {
57  Superclass::PrintSelf (os, indent);
58  }
59 
60 
61  void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId);
62 
63 
64  private:
65  TensorToL2NormImageFilter (const Self&);
66  void operator=(const Self&);
67 
68  };
69 
70 
71 } // end of namespace
72 
73 
74 #ifndef ITK_MANUAL_INSTANTIATION
76 #endif
77 
78 
79 #endif
OutputImageType::RegionType OutputImageRegionType
void PrintSelf(std::ostream &os, Indent indent) const
OutputImageType::PixelType OutputPixelType
unsigned short PixelType
ImageToImageFilter< TInputImage, TOutputImage > Superclass