在matlab中如何对用canny算子提取得到的图像边缘与原图像分割出来

如题所述

第1个回答  2017-02-17
clear all; close all; I=imread('rice.png'); I=im2double(I); J=imnoise(I, 'gaussian', 0, 0.01); [K, thresh]=edge(J, 'canny'); figure; subplot(121); imshow(J); subplot(122); imshow(K);
相似回答