Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itkDistanceMapFilter.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 
17 #ifndef ITKDISTANCEMAPFILTER_H_
18 #define ITKDISTANCEMAPFILTER_H_
19 
20 #include "itkImageToImageFilter.h"
21 #include "itkImage.h"
22 #include "mitkImage.h"
23 
24 
25 namespace itk
26 {
27 template < class TInputImage, class TOutputImage >
28 class DistanceMapFilter : public ImageToImageFilter<TInputImage, TOutputImage>
29 {
35 public:
36 
38  typedef TInputImage InputImageType;
39 
42 
44  typedef TOutputImage OutputImageType;
45 
48 
49 public:
50 
53 
55  typedef ImageToImageFilter<InputImageType, OutputImageType> Superclass;
56 
59 
62 
64  itkFactorylessNewMacro(Self)
65  itkCloneMacro(Self)
66 
69  virtual void GenerateData();
70 
71 
72 protected:
73 
76 
78  virtual ~DistanceMapFilter();
79 
80 
81 
82 protected:
83 
84 
85 
86 };
87 
88 }
89 
90 #ifndef ITK_MANUAL_INSTANTIATION
91 #include "itkDistanceMapFilter.txx"
92 #endif
93 
94 #endif
TInputImage InputImageType
This filter creates a map of the distance to the nearest point on a binary mask.
InputImageType::Pointer InputImagePointer
itk::SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointer
SmartPointer< const Self > ConstPointer
virtual void GenerateData()
ImageToImageFilter< InputImageType, OutputImageType > Superclass
SmartPointer< Self > Pointer