5#include "opencv2/core.hpp"
7namespace cv {
namespace hfs {
54CV_WRAP
virtual void setSegEgbThresholdI(
float c) = 0;
55CV_WRAP
virtual float getSegEgbThresholdI() = 0;
63CV_WRAP
virtual void setMinRegionSizeI(
int n) = 0;
64CV_WRAP
virtual int getMinRegionSizeI() = 0;
73CV_WRAP
virtual void setSegEgbThresholdII(
float c) = 0;
74CV_WRAP
virtual float getSegEgbThresholdII() = 0;
81CV_WRAP
virtual void setMinRegionSizeII(
int n) = 0;
82CV_WRAP
virtual int getMinRegionSizeII() = 0;
94CV_WRAP
virtual void setSpatialWeight(
float w) = 0;
95CV_WRAP
virtual float getSpatialWeight() = 0;
105CV_WRAP
virtual void setSlicSpixelSize(
int n) = 0;
106CV_WRAP
virtual int getSlicSpixelSize() = 0;
113CV_WRAP
virtual void setNumSlicIter(
int n) = 0;
114CV_WRAP
virtual int getNumSlicIter() = 0;
125CV_WRAP
virtual Mat performSegmentGpu(InputArray src,
bool ifDraw =
true) = 0;
131CV_WRAP
virtual Mat performSegmentCpu(InputArray src,
bool ifDraw =
true) = 0;
145 float segEgbThresholdI = 0.08f,
int minRegionSizeI = 100,
146 float segEgbThresholdII = 0.28f,
int minRegionSizeII = 200,
147 float spatialWeight = 0.6f,
int slicSpixelSize = 8,
int numSlicIter = 5);
This is a base class for all more or less complex algorithms in OpenCV
Definition: core.hpp:3091
n-dimensional dense array class
Definition: mat.hpp:802
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74