标签:rac named sha track create cimage alt test open
//双边滤波 int g_nBilateralValue; void on_ChangeBilateralValue(int,void*) { if(g_nBilateralValue>0) { bilateralFilter(g_srcImage_Contrast,g_dstImage_Contrast,g_nBilateralValue,g_nBilateralValue*2,g_nBilateralValue/2); imshow("双边滤波",g_dstImage_Contrast); } } void Test_BilateralBlur() { namedWindow("双边滤波"); namedWindow("原图"); g_srcImage_Contrast=imread("D:\\OpenCV Projects\\OpenCV_Test_Image\\16.jpg"); g_nBilateralValue=1; createTrackbar("trackbar","双边滤波",&g_nBilateralValue,30,on_ChangeBilateralValue); on_ChangeBilateralValue(g_nBilateralValue,0); imshow("原图",g_srcImage_Contrast); }
标签:rac named sha track create cimage alt test open
原文地址:http://www.cnblogs.com/foggia2004/p/6596799.html