1 #ifndef RIDGE_EDGE_MODEL_HPP
2 #define RIDGE_EDGE_MODEL_HPP
14 void setLineLength(
float lengthInMM);
15 void setLineSampleSpacing(
float spacingInMM);
16 void setIntensityDifferenceThreshold(
float threshold);
17 void setMinimumDepth(
float depth);
18 void setMinimumRidgeSize(
float sizeInMM);
19 std::vector<Measurement> getMeasurements(std::shared_ptr<Image> image, std::shared_ptr<Shape> shape,
ExecutionDevice::pointer device);
23 EDGE_TYPE_WHITE_INSIDE_BLACK_OUTSIDE
25 void setEdgeType(EdgeType type);
28 std::vector<Measurement> getMeasurementsOnHost(std::shared_ptr<Image> image, std::shared_ptr<Shape> shape);
29 std::vector<Measurement> getMeasurementsOnDevice(std::shared_ptr<Image> image, std::shared_ptr<Shape> shape,
OpenCLDevice::pointer device);
30 int convertRidgeSizeToSamples();
33 float mLineSampleSpacing;
34 float mIntensityDifferenceThreshold;