FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
LevelSetSegmentation.hpp
Go to the documentation of this file.
1 #ifndef FAST_LEVEL_SET_SEGMENTATION_HPP_
2 #define FAST_LEVEL_SET_SEGMENTATION_HPP_
3 
4 #include "FAST/ProcessObject.hpp"
5 
6 namespace fast {
7 
8 class FAST_EXPORT LevelSetSegmentation : public ProcessObject {
10  public:
11  void addSeedPoint(Vector3i position, float size);
12  void setCurvatureWeight(float weight);
13  void setIntensityMean(float intensity);
14  void setIntensityVariance(float variation);
15  void setMaxIterations(uint iterations);
16  private:
18  void execute();
19 
20  std::vector<std::pair<Vector3i, float> > mSeeds;
21 
22  float mCurvatureWeight, mIntensityMean, mIntensityVariance;
23  bool mIntensityMeanSet;
24  bool mIntensityVarianceSet;
25  int mIterations;
26 
27 };
28 
29 }
30 
31 #endif
fast
Definition: AffineTransformation.hpp:7
fast::LevelSetSegmentation
Definition: LevelSetSegmentation.hpp:8
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
ProcessObject.hpp
uint
unsigned int uint
Definition: DataTypes.hpp:16
fast::ProcessObject
Definition: ProcessObject.hpp:22