//*************************************************************//
//***************C++实现双边滤波*******************************//
//*************************************************************//
#include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
double SpaceFactor(int x1, int y1, int x2, int y2, double sigmaD);
double ColorFactor(int x, int y, double sigmaR);
Mat BilateralFilter(Mat inputImg, int filterSize, double sigmaR, double sigmaD);
int main()
{
Mat image = imread("F:\\wangjiao\\picture\\1.bmp", 0);
cout << "start" << endl;
Mat dst=BilateralFilter(image,5,1,10);
cout << &
//***************C++实现双边滤波*******************************//
//*************************************************************//
#include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
double SpaceFactor(int x1, int y1, int x2, int y2, double sigmaD);
double ColorFactor(int x, int y, double sigmaR);
Mat BilateralFilter(Mat inputImg, int filterSize, double sigmaR, double sigmaD);
int main()
{
Mat image = imread("F:\\wangjiao\\picture\\1.bmp", 0);
cout << "start" << endl;
Mat dst=BilateralFilter(image,5,1,10);
cout << &