FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
StepEdgeModel.hpp
Go to the documentation of this file.
1 #ifndef STEP_EDGE_MODEL_HPP
2 #define STEP_EDGE_MODEL_HPP
3 
5 
6 namespace fast {
7 
8 class Image;
9 class Shape;
10 
11 class FAST_EXPORT StepEdgeModel : public AppearanceModel {
13  public:
14  void setLineLength(float lengthInMM);
15  void setLineSampleSpacing(float spacingInMM);
16  void setIntensityDifferenceThreshold(float threshold);
17  void setMinimumDepth(float depth);
18  std::vector<Measurement> getMeasurements(std::shared_ptr<Image> image, std::shared_ptr<Shape> shape, ExecutionDevice::pointer device);
19  enum EdgeType {
22  EDGE_TYPE_WHITE_INSIDE_BLACK_OUTSIDE
23  };
24  void setEdgeType(EdgeType type);
25  private:
26  StepEdgeModel();
27 
28  float mLineLength;
29  float mLineSampleSpacing;
30  float mIntensityDifferenceThreshold;
31  float mMinimumDepth;
32  EdgeType mEdgeType;
33 
34 };
35 
36 }
37 
38 #endif
fast::ExecutionDevice::pointer
std::shared_ptr< ExecutionDevice > pointer
Definition: ExecutionDevice.hpp:11
fast::AppearanceModel
Definition: AppearanceModel.hpp:22
fast::StepEdgeModel::EDGE_TYPE_BLACK_INSIDE_WHITE_OUTSIDE
@ EDGE_TYPE_BLACK_INSIDE_WHITE_OUTSIDE
Definition: StepEdgeModel.hpp:21
fast
Definition: AffineTransformation.hpp:7
fast::StepEdgeModel::EDGE_TYPE_ANY
@ EDGE_TYPE_ANY
Definition: StepEdgeModel.hpp:20
FAST_OBJECT
#define FAST_OBJECT(className)
Definition: Object.hpp:9
fast::StepEdgeModel
Definition: StepEdgeModel.hpp:11
AppearanceModel.hpp
fast::StepEdgeModel::EdgeType
EdgeType
Definition: StepEdgeModel.hpp:19