在应用Uniformlbp之前,我可以对图像进行这些预处理吗? [英] Can I Do These Pre-Processing On Image Before Applying Uniformlbp
本文介绍了在应用Uniformlbp之前,我可以对图像进行这些预处理吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的代码中,我拍摄了一张图像,并对其进行了预处理
in my code i take an image and apply this pre-processing on it
bitwise_not(src, src);
// matrices used
Mat dst; // image after preprocessing
//frame=src;
cvtColor(src, dst, CV_BGR2GRAY);
GaussianBlur(dst, dst, Size(7, 7), 5, 3, BORDER_CONSTANT); // tiny bit of smoothing is always a good idea
threshold(dst, dst,0, 255, CV_THRESH_BINARY | THRESH_OTSU);
现在我想在结果图像上应用uniformlbp
这是正确的
如果不是什么是最好的预处理到申请以从图像中删除噪音
now i want to apply uniformlbp on the result image
is this right
if not what is the best pre-processing to apply in order to remove noise from image
推荐答案
这篇关于在应用Uniformlbp之前,我可以对图像进行这些预处理吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文