Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itkConnectomicsNetworkToConnectivityMatrixImageFilter.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 ITK_ConnectomicsNetworkToConnectivityMatrixImageFilter_H
18 #define ITK_ConnectomicsNetworkToConnectivityMatrixImageFilter_H
19 
20 // ITK includes
21 #include <itkImageSource.h>
22 #include <itkImage.h>
23 
24 // MITK includes
26 
27 namespace itk
28 {
29 
30  class ConnectomicsNetworkToConnectivityMatrixImageFilter : public ImageSource< itk::Image< unsigned short, 2 > >
31  {
32 
33  public:
35  typedef ProcessObject Superclass;
38 
39  typedef itk::Image< unsigned short, 2 > OutputImageType;
41 
43 
44  itkFactorylessNewMacro(Self)
45  itkCloneMacro(Self)
46  itkTypeMacro( ConnectomicsNetworkToConnectivityMatrixImageFilter, ImageSource )
47 
49  itkSetMacro( BinaryConnectivity, bool)
50  itkGetMacro( BinaryConnectivity, bool)
51 
53  itkSetMacro( RescaleConnectivity, bool)
54  itkGetMacro( RescaleConnectivity, bool)
55 
56  itkSetMacro( InputNetwork, InputType::Pointer)
57 
58  void GenerateData() override;
59 
60  protected:
61 
62  ConnectomicsNetworkToConnectivityMatrixImageFilter();
63  virtual ~ConnectomicsNetworkToConnectivityMatrixImageFilter();
64 
69 
70  InputType::Pointer m_InputNetwork;
71 
72  };
73 
74 }
75 
76 #ifndef ITK_MANUAL_INSTANTIATION
78 #endif
79 
80 
81 #endif /* ITK_ConnectomicsNetworkToConnectivityMatrixImageFilter_H */
unsigned short PixelType
Connectomics Network Class.