CH11基本图像分割技术资料.ppt

第*页 第11章 基本图像分割技术 作业 习题11.12 补充习题 设一幅7?7二值图像中心处有1个3?3的正方形区域,此外的像素值为0,画出根据下列模板算出的Laplacian边缘检测图,给出图中所有像素的值。 0 -1 0 -1 4 -1 0 -1 0 作业 补充习题答案: 第*页 第11章 基本图像分割技术 BW = edge(I,log) specifies the Laplacian of Gaussian method. 还可以用 BW = edge(I,prewitt) 第*页 第11章 基本图像分割技术 11.2 并行边界技术 MatLab函数 J=edge(I, type) Type取‘roberts’, ‘prewitt’,‘sobel’, ‘log’等 例子: I=imread(rice.tif); J1=edge(I,roberts); J2=edge(I,sobel); J3=edge(I,log); subplot(2,2,1),imshow(I); subplot(2,2,2),imshow(J1); subplot(2,2,3),imshow(J2); subplot(2,2,4),imshow(J3); 第*页 第11章 基本图像分割技术 11.2 并行边界技术 Canny算子*

文档评论(0)

1亿VIP精品文档

相关文档