Skip to content

Commit 34caac7

Browse files
committed
Merge pull request #1933 from ytyytyyt:3.4
2 parents 4bf1cce + 5bdeb64 commit 34caac7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/ximgproc/src/fbs_filter.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@
6666
typedef std::unordered_map<long long /* hash */, int /* vert id */> mapId;
6767
#endif
6868

69-
#define EPS 1e-43f
70-
7169
namespace cv
7270
{
7371
namespace ximgproc
@@ -501,7 +499,7 @@ namespace ximgproc
501499
x(i) = cv::saturate_cast<float>(pft[i])/255.0f;
502500
}
503501
}
504-
else if(confidence.depth() == CV_32F)
502+
else if(target.depth() == CV_32F)
505503
{
506504
const float *pft = reinterpret_cast<const float*>(target.data);
507505
for (int i = 0; i < npixels; i++)

0 commit comments

Comments
 (0)