I = imread('saturn.tif'); subplot(211);imshow(I);title('原图像'); H = fspecial('laplacian'); %应用Laplacian算子滤波锐化图像 laplacianH = f…
Prewitt算子 源代码
汇集 Prewitt算子 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
I=imread('rice.tif'); BW1=edge(I,'canny'); BW2=edge(I,'sobel'); BW3=edge(I,'prewitt') BW4=edge(I,'log'); BW5=edge(I,'roberts'…
I = imread('saturn.tif'); subplot(211);imshow(I);title('原图像'); H = fspecial('laplacian'); %应用Laplacian算子滤波锐化图像 laplacianH = f…
I1=imread('blood1.tif'); figure,imshow(I1) h1=fspecial('sobel'); I2=filter2(h1,I1); figure,imshow(I2) I3=conv2(I1,h1); figur…
I1=imread('blood1.tif'); figure,imshow(I1) h1=fspecial('sobel'); I2=filter2(h1,I1); figure,imshow(I2) I3=conv2(I1,h1); figur…
I=imread('C:\Documents and Settings\lishurui\桌面\lena.bmp'); subplot(2,2,1); imshow(I); title('原始图像'); h1=fspecial('sobel'); I…
I = imread('saturn.tif'); subplot(211);imshow(I);title('原图像'); H = fspecial('laplacian'); %应用Laplacian算子滤波锐化图像 laplacianH = f…
I = imread('saturn.tif'); subplot(211);imshow(I);title('原图像'); H = fspecial('laplacian'); %应用Laplacian算子滤波锐化图像 laplacianH = f…
I = imread('saturn.tif'); subplot(211);imshow(I);title('原图像'); H = fspecial('laplacian'); %应用Laplacian算子滤波锐化图像 laplacianH = f…
I=imread('02.bmp','bmp'); BW1=edge(I,'prewitt'); BW2=edge(I,'canny'); imshow(BW1) figure,imshow(BW2)