diff --git a/modules/ximgproc/src/fbs_filter.cpp b/modules/ximgproc/src/fbs_filter.cpp index 5f88cc2f2..27859669e 100644 --- a/modules/ximgproc/src/fbs_filter.cpp +++ b/modules/ximgproc/src/fbs_filter.cpp @@ -66,8 +66,6 @@ typedef std::unordered_map mapId; #endif -#define EPS 1e-43f - namespace cv { namespace ximgproc @@ -501,7 +499,7 @@ namespace ximgproc x(i) = cv::saturate_cast(pft[i])/255.0f; } } - else if(confidence.depth() == CV_32F) + else if(target.depth() == CV_32F) { const float *pft = reinterpret_cast(target.data); for (int i = 0; i < npixels; i++)