FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
SegmentationNetwork.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "NeuralNetwork.hpp"
4 
5 namespace fast {
6 
7 class TensorToSegmentation;
8 
14 class FAST_EXPORT SegmentationNetwork : public NeuralNetwork {
16  public:
17  void setHeatmapOutput();
18  void setSegmentationOutput();
19  void setThreshold(float threshold);
20  void loadAttributes();
21  void setResizeBackToOriginalSize(bool resize);
22  private:
24  void execute();
25  bool mHeatmapOutput = false;
26  bool m_resizeBackToOriginalSize = false;
27  std::shared_ptr<TensorToSegmentation> m_tensorToSegmentation;
28 
29 };
30 
31 }
fast
Definition: AffineTransformation.hpp:7
fast::SegmentationNetwork
Definition: SegmentationNetwork.hpp:14
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
NeuralNetwork.hpp
fast::NeuralNetwork
Definition: NeuralNetwork.hpp:77