Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkCollectionDilatation.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 mitkCollectionDilation_H
18 #define mitkCollectionDilation_H
19 
20 // MITK
21 #include "mitkCommon.h"
22 #include <MitkTumorInvasionAnalysisExports.h>
23 #include <mitkDataCollection.h>
24 
25 namespace mitk
26 {
27  class MITKTUMORINVASIONANALYSIS_EXPORT CollectionDilation
28  {
29  public:
30  typedef unsigned char BinaryType;
31  typedef itk::Image<BinaryType, 3> BinaryImage;
32 
43  static void DilateBinaryByName(DataCollection *dataCollection,
44  std::string name,
45  unsigned int xy = 5,
46  unsigned int z = 0,
47  std::string suffix = "DILATE");
48 
57  static void ErodeBinaryByName(DataCollection *dataCollection,
58  std::string name,
59  unsigned int xy = 5,
60  unsigned int z = 0,
61  std::string suffix = "ERODE");
62 
63  protected:
64  private:
65  // DATA
66  // FUNCTIONS
67  };
68 } // end namespace
69 #endif
itk::Image< BinaryType, 3 > BinaryImage
DataCollection - Class to facilitate loading/accessing structured data.