We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d30d09 + 9d38de3 commit 0acab5dCopy full SHA for 0acab5d
modules/tracking/src/TrackingFunctionPF.hpp
@@ -9,6 +9,7 @@ namespace cv{
9
public:
10
TrackingFunctionPF(const Mat& chosenRect);
11
void update(const Mat& image);
12
+ int getDims() const { return 4; }
13
double calc(const double* x) const;
14
void correctParams(double* pt)const;
15
private:
modules/xphoto/src/gcgraph.hpp
@@ -254,7 +254,7 @@ TWeight GCGraph<TWeight>::maxFlow()
254
minWeight = MIN(minWeight, weight);
255
CV_Assert( minWeight > 0 );
256
}
257
- weight = abs( TWeight(v->weight) );
+ weight = std::abs( TWeight(v->weight) );
258
259
260
0 commit comments