怎么用matlab或mathematica将二值图的轮廓点的坐标提取出来,要编写完整的多张图片批量处理.

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/10 09:29:08

怎么用matlab或mathematica将二值图的轮廓点的坐标提取出来,要编写完整的
多张图片批量处理.

用edge函数试试吧.
I = imread('circuit.tif');
BW1 = edge(I,'prewitt');
BW2 = edge(I,'canny');
imshow(BW1);
figure, imshow(BW2)