OpenCV 高斯模糊

高斯濾波器能夠有效的抑制噪聲,平滑圖像。高斯濾波器相比於均值濾波器對圖像個模糊程度較小。 高斯公式 matlab代碼 clear; a=0;sigma=0.8; x=-10:0.0001:10; figure(1) y=(1/((sqrt(2*pi))*sigma))*exp(-((x-a).^2)/(2*sigma.^2)); plot(x,y,'b','LineWidth',1.5); ho
相關文章
相關標籤/搜索