Skip to content

Commit f8e2748

Browse files
committed
refine sp algorithm module
1 parent 7e81b71 commit f8e2748

File tree

2 files changed

+284
-264
lines changed

2 files changed

+284
-264
lines changed

modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class CV_EXPORTS_W DiscriminantSaliency : public MotionSaliency
315315
unsigned windowSize;
316316
unsigned patchSize;
317317
unsigned temporalSize;
318-
unsigned patchNumber;
318+
unsigned stride;
319319
public:
320320
struct DT
321321
{
@@ -328,6 +328,7 @@ class CV_EXPORTS_W DiscriminantSaliency : public MotionSaliency
328328
double VAR;
329329
};
330330
DiscriminantSaliency();
331+
DiscriminantSaliency(unsigned = 1, Size = Size(127, 127), unsigned = 10, unsigned = 8, unsigned = 96, unsigned = 400, unsigned = 11);
331332
virtual ~DiscriminantSaliency();
332333
CV_WRAP static Ptr<DeepGaze1> create()
333334
{

0 commit comments

Comments
 (0)