Image Processing ( calculate perimeter)

2 次查看(过去 30 天)
Prashan
Prashan 2011-4-7
just doing an image processing application at the moment for hand therapy system .. Is it possible to measure the perimeter or area of this image ( the hand ) by using any method im new to matlab. http://www.flickr.com/photos/60171113@N05/5597154717/ thanks
  1 个评论
Sean de Wolski
Sean de Wolski 2011-4-7
Are the images with the blue background your starting images?
Ps. Well written question with sample images provided. +1!

请先登录,再进行评论。

回答(3 个)

David Young
David Young 2011-4-7
If you have the Image Processing Toolbox, have a look at using morphology operations to simplify the binary image into one blob. The 'close' option of bwmorph might be a good starting point.
Then to get the measurement, try the 'Perimeter' and 'Area' options of regionprops.

Prashan
Prashan 2011-4-7
working on this now thank you for the support will keep you posted

Prashan
Prashan 2011-4-9
so far i managed to get to this point how do i now calculate the perimter of this hand . ive got the left image using bmarea and the one on the left is when the image is closed. http://www.flickr.com/photos/60171113@N05/5602943214/ thank u
  1 个评论
David Young
David Young 2011-4-11
Prashan, it's better to comment on my answer rather than give extra answers. Anyway, your image looks good - you should be able to get the perimeter easily using regionprops, with 'Perimeter' as the required property.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by