Skip to content

Commit f910a31

Browse files
committed
add constructor MatchQuasiDense
1 parent 20460e7 commit f910a31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/stereo/include/opencv2/stereo/quasi_dense_stereo.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ struct CV_EXPORTS_W_SIMPLE MatchQuasiDense
3030
CV_PROP_RW cv::Point2i p1;
3131
CV_PROP_RW float corr;
3232

33+
CV_WRAP MatchQuasiDense() { corr = 0; }
34+
3335
CV_WRAP_AS(apply) bool operator < (const MatchQuasiDense & rhs) const//fixme may be used uninitialized in this function
3436
{
3537
return this->corr < rhs.corr;

0 commit comments

Comments
 (0)