1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

fix getDefaultName()

This commit is contained in:
amir.tulegenov
2021-02-15 15:19:23 +06:00
parent fba70f7991
commit cbb230fdfc
7 changed files with 17 additions and 0 deletions
+2
View File
@@ -867,6 +867,8 @@ namespace
OutputArray status,
OutputArray err = cv::noArray()) CV_OVERRIDE;
virtual String getDefaultName() const CV_OVERRIDE { return "SparseOpticalFlow.SparsePyrLKOpticalFlow"; }
private:
#ifdef HAVE_OPENCL
bool checkParam()
+2
View File
@@ -618,6 +618,8 @@ public:
virtual void calc(InputArray I0, InputArray I1, InputOutputArray flow) CV_OVERRIDE;
virtual String getDefaultName() const CV_OVERRIDE { return "DenseOpticalFlow.FarnebackOpticalFlow"; }
private:
int numLevels_;
double pyrScale_;
+2
View File
@@ -102,6 +102,8 @@ public:
}
OpticalFlowDual_TVL1();
virtual String getDefaultName() const CV_OVERRIDE { return "DenseOpticalFlow.DualTVL1OpticalFlow"; }
void calc(InputArray I0, InputArray I1, InputOutputArray flow) CV_OVERRIDE;
void collectGarbage() CV_OVERRIDE;