FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Segmentation.hpp
Go to the documentation of this file.
1 #ifndef SEGMENTATION_HPP_
2 #define SEGMENTATION_HPP_
3 
4 #include "Image.hpp"
5 #include "Color.hpp"
6 
7 namespace fast {
8 
9 // TODO inheritance here should probably not be public..
10 class FAST_EXPORT Segmentation : public Image {
12  public:
13  void createFromImage(Image::pointer image);
14 
15  // If you add a label to this enum you should also add a default color in the SegmentationRenderer constructor
16  enum LabelType {
17  LABEL_BACKGROUND = 0,
30  LABEL_BLUE
31  };
32 
33  /*
34  using Image::getSpacing;
35  using Image::getWidth;
36  using Image::getHeight;
37  using Image::getDepth;
38  */
39  ~Segmentation();
40  protected:
41  Segmentation();
42 
43 };
44 
45 }
46 
47 #endif
Image.hpp
fast
Definition: AffineTransformation.hpp:7
fast::Image
Definition: Image.hpp:32
fast::Segmentation::LABEL_ARTERY
@ LABEL_ARTERY
Definition: Segmentation.hpp:21
fast::Segmentation::LABEL_GREEN
@ LABEL_GREEN
Definition: Segmentation.hpp:26
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
fast::Segmentation::LABEL_BONE
@ LABEL_BONE
Definition: Segmentation.hpp:22
fast::Segmentation::LABEL_VEIN
@ LABEL_VEIN
Definition: Segmentation.hpp:20
fast::Segmentation::LABEL_YELLOW
@ LABEL_YELLOW
Definition: Segmentation.hpp:25
fast::Segmentation::LabelType
LabelType
Definition: Segmentation.hpp:16
fast::Segmentation::LABEL_MAGENTA
@ LABEL_MAGENTA
Definition: Segmentation.hpp:27
fast::Segmentation
Definition: Segmentation.hpp:10
fast::DataObject::pointer
std::shared_ptr< DataObject > pointer
Definition: DataObject.hpp:16
fast::Segmentation::LABEL_BLOOD
@ LABEL_BLOOD
Definition: Segmentation.hpp:19
fast::Segmentation::LABEL_RED
@ LABEL_RED
Definition: Segmentation.hpp:28
Color.hpp
fast::Segmentation::LABEL_NERVE
@ LABEL_NERVE
Definition: Segmentation.hpp:24
fast::Segmentation::LABEL_MUSCLE
@ LABEL_MUSCLE
Definition: Segmentation.hpp:23
fast::Segmentation::LABEL_WHITE
@ LABEL_WHITE
Definition: Segmentation.hpp:29
fast::Segmentation::LABEL_FOREGROUND
@ LABEL_FOREGROUND
Definition: Segmentation.hpp:18