声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2986|回复: 2

[图像处理] 怎样用matlab提取图像的骨架啊?

[复制链接]
发表于 2007-7-2 21:44 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
哪位大哥可以给出源码啊?
骨架.JPG
回复
分享到:

使用道具 举报

发表于 2007-7-2 22:00 | 显示全部楼层
参看边缘检测技术、闭合边界技术和轮廓提取方面的资料
用canny算子检测得到的边界图见附图,还需要进行边界的修补然后提取轮廓
根据你的要求再自己加些东西进去吧
clear;
cla
I=imread('骨架.jpg');
I=rgb2gray(I);
J=edge(I,'canny',graythresh(I));
subplot(121),imshow(I),title('原图')
subplot(122),imshow(J),title('边界图')

[ 本帖最后由 花如月 于 2007-7-2 22:17 编辑 ]
边界检测.JPG

评分

1

查看全部评分

发表于 2008-5-26 21:00 | 显示全部楼层

canny detector

求助
Write a function to implement Canny
detector
Function [im_new] = im_edge_canny (org_im,
sigma, HTV, LTV);
where org_im is the input image, sigma is
Gaussian kernel, HTV is high threshold value
and LTV is low threshold value.
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-23 11:29 , Processed in 0.059383 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表