gpu.hpp:filterSpeckles conflicts with calib3d.hpp -- should it be removed at all?

This commit is contained in:
Alexander Mordvintsev 2012-03-28 04:44:33 +00:00
parent 9941cf7c95
commit d304a55e1e
2 changed files with 9 additions and 5 deletions

View File

@ -1885,11 +1885,6 @@ CV_EXPORTS void createOpticalFlowNeedleMap(const GpuMat& u, const GpuMat& v, Gpu
} // namespace gpu
//! Speckle filtering - filters small connected components on diparity image.
//! It sets pixel (x,y) to newVal if it coresponds to small CC with size < maxSpeckleSize.
//! Threshold for border between CC is diffThreshold;
CV_EXPORTS void filterSpeckles(Mat& img, uchar newVal, int maxSpeckleSize, uchar diffThreshold, Mat& buf);
} // namespace cv
#endif /* __OPENCV_GPU_HPP__ */

View File

@ -44,6 +44,15 @@
using namespace cv;
namespace cv {
// TODO: conflicts with calib3d.hpp : filterSpeckles, should be removed ?
//! Speckle filtering - filters small connected components on diparity image.
//! It sets pixel (x,y) to newVal if it coresponds to small CC with size < maxSpeckleSize.
//! Threshold for border between CC is diffThreshold;
CV_EXPORTS void filterSpeckles(Mat& img, uchar newVal, int maxSpeckleSize, uchar diffThreshold, Mat& buf);
}
typedef Point_<short> Point2s;
void cv::filterSpeckles( Mat& img, uchar newVal, int maxSpeckleSize, uchar maxDiff, Mat& _buf)